[Met_help] [rt.rap.ucar.edu #87325] History for Error in data read by MODE

John Halley Gotway via RT met_help at ucar.edu
Fri Oct 19 11:50:29 MDT 2018


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Sir,
I wanted to compare the model  APCP with precipitation observation data of
recent GPM data in .nc4 format. While running using the following command I
get the error as:

mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
./input/sample_obs/3B42RT_Daily.20180821.7.nc4 ./config/MODEConfig_file
-outdir ./output/mode_analysis/ -v 2
DEBUG 1: Default Config File: /MET_V7/share/met//config/MODEConfig_default
DEBUG 1: Match Config File: ./config/MODEConfig_file
DEBUG 1: Merge Config File: ./config/MODEConfig_file
WARNING:
WARNING: NcCfFile::open() -> could not determine the valid time, using 0.
WARNING:
ERROR  :
ERROR  : get_att_value_chars(NcAtt) -> Please convert data type of
"long_name" to NC_CHAR type.
ERROR  :
NetCDF: HDF error
file: ncFile.cpp  line:33

Kindly Suggest me to sort out this issue.
The files are attached herewith for your reference.

Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Error in data read by MODE
From: John Halley Gotway
Time: Thu Oct 11 11:51:15 2018

Biranchi,

I see that you're trying to read some GPM data into MET but are having
trouble.  Thank you for sending the sample data file that you're
trying to
read.

This is a NetCDF file but it is not in a format that MET is set up to
handle.  We could get it to read the gridded data OK, but the metadata
(such as the timing info) is not defined in a way that existing
functionality in MET can read.

However there is a way forward here.  We just released met-8.0 a
couple
weeks ago and it includes an important new feature.  MET can now call
scripts written in Python to read data and pass that data to the MET
tools
in memory.

I was able to write a python script to read data from the file you
sent,
format the metadata (timing and grid info), and pass it to MET in
memory.

Here's what I'd suggest you try:

(1) Install met-8.0

(2) Try running the attached python script on the command line like
this:

   python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation

(3) If that runs without error, next try running MET's plot_data_plane
tool, like this:

   plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
      'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'

If it all works, then that should produce an image that looks like the
one
I've attached.

Lastly, if that all works, then you can configure/run MODE to use this
python script to read your data as well.

Please let me know how it goes.

Thanks,
John Halley Gotway

On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT
<met_help at ucar.edu>
wrote:

>
> Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
> Transaction: Ticket created by biranchimahala at gmail.com
>        Queue: met_help
>      Subject: Error in data read by MODE
>        Owner: Nobody
>   Requestors: biranchimahala at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>
>
> Sir,
> I wanted to compare the model  APCP with precipitation observation
data of
> recent GPM data in .nc4 format. While running using the following
command I
> get the error as:
>
> mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
./config/MODEConfig_file
> -outdir ./output/mode_analysis/ -v 2
> DEBUG 1: Default Config File:
/MET_V7/share/met//config/MODEConfig_default
> DEBUG 1: Match Config File: ./config/MODEConfig_file
> DEBUG 1: Merge Config File: ./config/MODEConfig_file
> WARNING:
> WARNING: NcCfFile::open() -> could not determine the valid time,
using 0.
> WARNING:
> ERROR  :
> ERROR  : get_att_value_chars(NcAtt) -> Please convert data type of
> "long_name" to NC_CHAR type.
> ERROR  :
> NetCDF: HDF error
> file: ncFile.cpp  line:33
>
> Kindly Suggest me to sort out this issue.
> The files are attached herewith for your reference.
>
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Thu Oct 11 21:21:25 2018

Sir,
As per your suggestions I installed met-8 and issue the command
# python read_3B42RT_Daily.py
./input/sample_obs/3B42RT_Daily.20180821.7.nc4 precipitation
But, I am getting the following  error:
Traceback (most recent call last):
  File "read_3B42RT_Daily.py", line 3, in <module>
    from netCDF4 import Dataset
ImportError: No module named netCDF4


Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Biranchi,
>
> I see that you're trying to read some GPM data into MET but are
having
> trouble.  Thank you for sending the sample data file that you're
trying to
> read.
>
> This is a NetCDF file but it is not in a format that MET is set up
to
> handle.  We could get it to read the gridded data OK, but the
metadata
> (such as the timing info) is not defined in a way that existing
> functionality in MET can read.
>
> However there is a way forward here.  We just released met-8.0 a
couple
> weeks ago and it includes an important new feature.  MET can now
call
> scripts written in Python to read data and pass that data to the MET
tools
> in memory.
>
> I was able to write a python script to read data from the file you
sent,
> format the metadata (timing and grid info), and pass it to MET in
memory.
>
> Here's what I'd suggest you try:
>
> (1) Install met-8.0
>
> (2) Try running the attached python script on the command line like
this:
>
>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
>
> (3) If that runs without error, next try running MET's
plot_data_plane
> tool, like this:
>
>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
>       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> precipitation";'
>
> If it all works, then that should produce an image that looks like
the one
> I've attached.
>
> Lastly, if that all works, then you can configure/run MODE to use
this
> python script to read your data as well.
>
> Please let me know how it goes.
>
> Thanks,
> John Halley Gotway
>
> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
> > Transaction: Ticket created by biranchimahala at gmail.com
> >        Queue: met_help
> >      Subject: Error in data read by MODE
> >        Owner: Nobody
> >   Requestors: biranchimahala at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >
> >
> > Sir,
> > I wanted to compare the model  APCP with precipitation observation
data
> of
> > recent GPM data in .nc4 format. While running using the following
> command I
> > get the error as:
> >
> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
./config/MODEConfig_file
> > -outdir ./output/mode_analysis/ -v 2
> > DEBUG 1: Default Config File:
> /MET_V7/share/met//config/MODEConfig_default
> > DEBUG 1: Match Config File: ./config/MODEConfig_file
> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
> > WARNING:
> > WARNING: NcCfFile::open() -> could not determine the valid time,
using 0.
> > WARNING:
> > ERROR  :
> > ERROR  : get_att_value_chars(NcAtt) -> Please convert data type of
> > "long_name" to NC_CHAR type.
> > ERROR  :
> > NetCDF: HDF error
> > file: ncFile.cpp  line:33
> >
> > Kindly Suggest me to sort out this issue.
> > The files are attached herewith for your reference.
> >
> > Thanking You
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Tue Oct 16 13:29:34 2018

Sir,
I could run the commands you suggested in the previous mail after
installinf netCDF4-python.

In my system I ran the commands as follows:
python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4 precipitation
And I got following without error;

Input File: '3B42RT_Daily.20180821.7.nc4'
Variable Name : 'precipitation'
Data Shape: (480, 1440)
Data Type:  dtype('float64')
Begin Time = 2018-08-21 01:30:00
End Time = 2018-08-22 01:29:59.999000
Accum Time = 240000
Attributes: {'long_name': 'precipitation', 'init': '20180822_012959',
'valid': '20180822_012959', 'grid': {'delta_lat': 0.25, 'lon_ll':
-179.875,
'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875, 'delta_lon':
0.25,
'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation', 'lead':
'00',
'level': 'Surface', 'units': 'mm', 'accum': '240000'}

The second command
plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'
displays the error as:
DEBUG 1: Opening data file: PYTHON_NUMPY
ERROR  :
ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> unsupported
gridded data file type "FileType_Python_Numpy"
ERROR  :
This is for your kind perusal and necessary suggestions may kindly be
given
to sort out the issue.
Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala
<biranchimahala at gmail.com>
wrote:

> Sir,
> As per your suggestions I installed met-8 and issue the command
> # python read_3B42RT_Daily.py
> ./input/sample_obs/3B42RT_Daily.20180821.7.nc4 precipitation
> But, I am getting the following  error:
> Traceback (most recent call last):
>   File "read_3B42RT_Daily.py", line 3, in <module>
>     from netCDF4 import Dataset
> ImportError: No module named netCDF4
>
>
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Biranchi,
>>
>> I see that you're trying to read some GPM data into MET but are
having
>> trouble.  Thank you for sending the sample data file that you're
trying to
>> read.
>>
>> This is a NetCDF file but it is not in a format that MET is set up
to
>> handle.  We could get it to read the gridded data OK, but the
metadata
>> (such as the timing info) is not defined in a way that existing
>> functionality in MET can read.
>>
>> However there is a way forward here.  We just released met-8.0 a
couple
>> weeks ago and it includes an important new feature.  MET can now
call
>> scripts written in Python to read data and pass that data to the
MET tools
>> in memory.
>>
>> I was able to write a python script to read data from the file you
sent,
>> format the metadata (timing and grid info), and pass it to MET in
memory.
>>
>> Here's what I'd suggest you try:
>>
>> (1) Install met-8.0
>>
>> (2) Try running the attached python script on the command line like
this:
>>
>>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
>>
>> (3) If that runs without error, next try running MET's
plot_data_plane
>> tool, like this:
>>
>>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
>>       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> precipitation";'
>>
>> If it all works, then that should produce an image that looks like
the one
>> I've attached.
>>
>> Lastly, if that all works, then you can configure/run MODE to use
this
>> python script to read your data as well.
>>
>> Please let me know how it goes.
>>
>> Thanks,
>> John Halley Gotway
>>
>> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT
<met_help at ucar.edu
>> >
>> wrote:
>>
>> >
>> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
>> > Transaction: Ticket created by biranchimahala at gmail.com
>> >        Queue: met_help
>> >      Subject: Error in data read by MODE
>> >        Owner: Nobody
>> >   Requestors: biranchimahala at gmail.com
>> >       Status: new
>> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>> >
>> >
>> > Sir,
>> > I wanted to compare the model  APCP with precipitation
observation data
>> of
>> > recent GPM data in .nc4 format. While running using the following
>> command I
>> > get the error as:
>> >
>> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
>> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
./config/MODEConfig_file
>> > -outdir ./output/mode_analysis/ -v 2
>> > DEBUG 1: Default Config File:
>> /MET_V7/share/met//config/MODEConfig_default
>> > DEBUG 1: Match Config File: ./config/MODEConfig_file
>> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
>> > WARNING:
>> > WARNING: NcCfFile::open() -> could not determine the valid time,
using
>> 0.
>> > WARNING:
>> > ERROR  :
>> > ERROR  : get_att_value_chars(NcAtt) -> Please convert data type
of
>> > "long_name" to NC_CHAR type.
>> > ERROR  :
>> > NetCDF: HDF error
>> > file: ncFile.cpp  line:33
>> >
>> > Kindly Suggest me to sort out this issue.
>> > The files are attached herewith for your reference.
>> >
>> > Thanking You
>> > With Best Regards
>> > ________________________
>> > Dr. BIRANCHI  KUMAR  MAHALA
>> > Asst. Prof., Mathematics
>> > *Kalinga Institute of Industrial Technology,*
>> > *Deemed to be University, Bhubaneswar*
>> > *Mobile- 09861182688*
>> >
>> >
>>
>>

------------------------------------------------
Subject: Error in data read by MODE
From: John Halley Gotway
Time: Tue Oct 16 14:17:37 2018

Biranchi,

Great, glad you were able to make progress!  However, I suspect that
you
may be running MET version 7.0 instead of the 8.0 version that was
release
a couple weeks ago.  Support for calling a python script is new in
met-8.0.

Please try running:
   plot_data_plane --version

To see the version you're using.  If it's not met-8.0, please try that
version.

Thanks,
John

On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>
> Sir,
> I could run the commands you suggested in the previous mail after
> installinf netCDF4-python.
>
> In my system I ran the commands as follows:
> python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
> And I got following without error;
>
> Input File: '3B42RT_Daily.20180821.7.nc4'
> Variable Name : 'precipitation'
> Data Shape: (480, 1440)
> Data Type:  dtype('float64')
> Begin Time = 2018-08-21 01:30:00
> End Time = 2018-08-22 01:29:59.999000
> Accum Time = 240000
> Attributes: {'long_name': 'precipitation', 'init':
'20180822_012959',
> 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25, 'lon_ll':
-179.875,
> 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875, 'delta_lon':
0.25,
> 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation', 'lead':
'00',
> 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
>
> The second command
> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'
> displays the error as:
> DEBUG 1: Opening data file: PYTHON_NUMPY
> ERROR  :
> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> unsupported
> gridded data file type "FileType_Python_Numpy"
> ERROR  :
> This is for your kind perusal and necessary suggestions may kindly
be given
> to sort out the issue.
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala
<biranchimahala at gmail.com>
> wrote:
>
> > Sir,
> > As per your suggestions I installed met-8 and issue the command
> > # python read_3B42RT_Daily.py
> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4 precipitation
> > But, I am getting the following  error:
> > Traceback (most recent call last):
> >   File "read_3B42RT_Daily.py", line 3, in <module>
> >     from netCDF4 import Dataset
> > ImportError: No module named netCDF4
> >
> >
> > Thanking You
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
> >
> > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Biranchi,
> >>
> >> I see that you're trying to read some GPM data into MET but are
having
> >> trouble.  Thank you for sending the sample data file that you're
trying
> to
> >> read.
> >>
> >> This is a NetCDF file but it is not in a format that MET is set
up to
> >> handle.  We could get it to read the gridded data OK, but the
metadata
> >> (such as the timing info) is not defined in a way that existing
> >> functionality in MET can read.
> >>
> >> However there is a way forward here.  We just released met-8.0 a
couple
> >> weeks ago and it includes an important new feature.  MET can now
call
> >> scripts written in Python to read data and pass that data to the
MET
> tools
> >> in memory.
> >>
> >> I was able to write a python script to read data from the file
you sent,
> >> format the metadata (timing and grid info), and pass it to MET in
> memory.
> >>
> >> Here's what I'd suggest you try:
> >>
> >> (1) Install met-8.0
> >>
> >> (2) Try running the attached python script on the command line
like
> this:
> >>
> >>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
> >>
> >> (3) If that runs without error, next try running MET's
plot_data_plane
> >> tool, like this:
> >>
> >>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
> >>       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> >> precipitation";'
> >>
> >> If it all works, then that should produce an image that looks
like the
> one
> >> I've attached.
> >>
> >> Lastly, if that all works, then you can configure/run MODE to use
this
> >> python script to read your data as well.
> >>
> >> Please let me know how it goes.
> >>
> >> Thanks,
> >> John Halley Gotway
> >>
> >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT <
> met_help at ucar.edu
> >> >
> >> wrote:
> >>
> >> >
> >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
> >> > Transaction: Ticket created by biranchimahala at gmail.com
> >> >        Queue: met_help
> >> >      Subject: Error in data read by MODE
> >> >        Owner: Nobody
> >> >   Requestors: biranchimahala at gmail.com
> >> >       Status: new
> >> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >
> >> >
> >> >
> >> > Sir,
> >> > I wanted to compare the model  APCP with precipitation
observation
> data
> >> of
> >> > recent GPM data in .nc4 format. While running using the
following
> >> command I
> >> > get the error as:
> >> >
> >> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> ./config/MODEConfig_file
> >> > -outdir ./output/mode_analysis/ -v 2
> >> > DEBUG 1: Default Config File:
> >> /MET_V7/share/met//config/MODEConfig_default
> >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
> >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
> >> > WARNING:
> >> > WARNING: NcCfFile::open() -> could not determine the valid
time, using
> >> 0.
> >> > WARNING:
> >> > ERROR  :
> >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert data type
of
> >> > "long_name" to NC_CHAR type.
> >> > ERROR  :
> >> > NetCDF: HDF error
> >> > file: ncFile.cpp  line:33
> >> >
> >> > Kindly Suggest me to sort out this issue.
> >> > The files are attached herewith for your reference.
> >> >
> >> > Thanking You
> >> > With Best Regards
> >> > ________________________
> >> > Dr. BIRANCHI  KUMAR  MAHALA
> >> > Asst. Prof., Mathematics
> >> > *Kalinga Institute of Industrial Technology,*
> >> > *Deemed to be University, Bhubaneswar*
> >> > *Mobile- 09861182688*
> >> >
> >> >
> >>
> >>
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Tue Oct 16 21:53:52 2018

Sir,
plot_data_plane --version shows the following.

MET Version:    V8.0
Repository:    https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
Revision:    5860
Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)

Still the problem persists for
plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'

as
DEBUG 1: Opening data file: PYTHON_NUMPY
ERROR  :
ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> unsupported
gridded data file type "FileType_Python_Numpy"
ERROR  :

Is there any way to overcome this?
Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

> Biranchi,
>
> Great, glad you were able to make progress!  However, I suspect that
you
> may be running MET version 7.0 instead of the 8.0 version that was
release
> a couple weeks ago.  Support for calling a python script is new in
met-8.0.
>
> Please try running:
>    plot_data_plane --version
>
> To see the version you're using.  If it's not met-8.0, please try
that
> version.
>
> Thanks,
> John
>
> On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >
> > Sir,
> > I could run the commands you suggested in the previous mail after
> > installinf netCDF4-python.
> >
> > In my system I ran the commands as follows:
> > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
> > And I got following without error;
> >
> > Input File: '3B42RT_Daily.20180821.7.nc4'
> > Variable Name : 'precipitation'
> > Data Shape: (480, 1440)
> > Data Type:  dtype('float64')
> > Begin Time = 2018-08-21 01:30:00
> > End Time = 2018-08-22 01:29:59.999000
> > Accum Time = 240000
> > Attributes: {'long_name': 'precipitation', 'init':
'20180822_012959',
> > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25, 'lon_ll':
> -179.875,
> > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875, 'delta_lon':
0.25,
> > 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation', 'lead':
'00',
> > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
> >
> > The second command
> > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'
> > displays the error as:
> > DEBUG 1: Opening data file: PYTHON_NUMPY
> > ERROR  :
> > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
> > gridded data file type "FileType_Python_Numpy"
> > ERROR  :
> > This is for your kind perusal and necessary suggestions may kindly
be
> given
> > to sort out the issue.
> > Thanking You
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
> >
> > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> biranchimahala at gmail.com>
> > wrote:
> >
> > > Sir,
> > > As per your suggestions I installed met-8 and issue the command
> > > # python read_3B42RT_Daily.py
> > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4 precipitation
> > > But, I am getting the following  error:
> > > Traceback (most recent call last):
> > >   File "read_3B42RT_Daily.py", line 3, in <module>
> > >     from netCDF4 import Dataset
> > > ImportError: No module named netCDF4
> > >
> > >
> > > Thanking You
> > > With Best Regards
> > > ________________________
> > > Dr. BIRANCHI  KUMAR  MAHALA
> > > Asst. Prof., Mathematics
> > > *Kalinga Institute of Industrial Technology,*
> > > *Deemed to be University, Bhubaneswar*
> > > *Mobile- 09861182688*
> > >
> > >
> > >
> > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Biranchi,
> > >>
> > >> I see that you're trying to read some GPM data into MET but are
having
> > >> trouble.  Thank you for sending the sample data file that
you're
> trying
> > to
> > >> read.
> > >>
> > >> This is a NetCDF file but it is not in a format that MET is set
up to
> > >> handle.  We could get it to read the gridded data OK, but the
metadata
> > >> (such as the timing info) is not defined in a way that existing
> > >> functionality in MET can read.
> > >>
> > >> However there is a way forward here.  We just released met-8.0
a
> couple
> > >> weeks ago and it includes an important new feature.  MET can
now call
> > >> scripts written in Python to read data and pass that data to
the MET
> > tools
> > >> in memory.
> > >>
> > >> I was able to write a python script to read data from the file
you
> sent,
> > >> format the metadata (timing and grid info), and pass it to MET
in
> > memory.
> > >>
> > >> Here's what I'd suggest you try:
> > >>
> > >> (1) Install met-8.0
> > >>
> > >> (2) Try running the attached python script on the command line
like
> > this:
> > >>
> > >>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> precipitation
> > >>
> > >> (3) If that runs without error, next try running MET's
plot_data_plane
> > >> tool, like this:
> > >>
> > >>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
> > >>       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > >> precipitation";'
> > >>
> > >> If it all works, then that should produce an image that looks
like the
> > one
> > >> I've attached.
> > >>
> > >> Lastly, if that all works, then you can configure/run MODE to
use this
> > >> python script to read your data as well.
> > >>
> > >> Please let me know how it goes.
> > >>
> > >> Thanks,
> > >> John Halley Gotway
> > >>
> > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT <
> > met_help at ucar.edu
> > >> >
> > >> wrote:
> > >>
> > >> >
> > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
> > >> > Transaction: Ticket created by biranchimahala at gmail.com
> > >> >        Queue: met_help
> > >> >      Subject: Error in data read by MODE
> > >> >        Owner: Nobody
> > >> >   Requestors: biranchimahala at gmail.com
> > >> >       Status: new
> > >> >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > >
> > >> >
> > >> >
> > >> > Sir,
> > >> > I wanted to compare the model  APCP with precipitation
observation
> > data
> > >> of
> > >> > recent GPM data in .nc4 format. While running using the
following
> > >> command I
> > >> > get the error as:
> > >> >
> > >> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> > ./config/MODEConfig_file
> > >> > -outdir ./output/mode_analysis/ -v 2
> > >> > DEBUG 1: Default Config File:
> > >> /MET_V7/share/met//config/MODEConfig_default
> > >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
> > >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
> > >> > WARNING:
> > >> > WARNING: NcCfFile::open() -> could not determine the valid
time,
> using
> > >> 0.
> > >> > WARNING:
> > >> > ERROR  :
> > >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert data
type of
> > >> > "long_name" to NC_CHAR type.
> > >> > ERROR  :
> > >> > NetCDF: HDF error
> > >> > file: ncFile.cpp  line:33
> > >> >
> > >> > Kindly Suggest me to sort out this issue.
> > >> > The files are attached herewith for your reference.
> > >> >
> > >> > Thanking You
> > >> > With Best Regards
> > >> > ________________________
> > >> > Dr. BIRANCHI  KUMAR  MAHALA
> > >> > Asst. Prof., Mathematics
> > >> > *Kalinga Institute of Industrial Technology,*
> > >> > *Deemed to be University, Bhubaneswar*
> > >> > *Mobile- 09861182688*
> > >> >
> > >> >
> > >>
> > >>
> >
> >
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: John Halley Gotway
Time: Wed Oct 17 08:36:32 2018

Biranchi,

OK, I understand what's going on here.  I was able to reproduce the
error
message you're seeing.  In the version of met-8.0 you're running,
support
for running Python scripts was *NOT* compiled.  In order to get this
working, you'll need to recompile MET using the "--enable-python"
option
and set the MET_PYTHON_CC and MET_PYTHON_LD environment variables to
point
to python on your system.  Please see the user's guide or run
"configure
--help" for info about these.

There are several options in MET that are not compiled by default
since
they require additional external libraries and python support is one
of
them.

I'll update the code to produce a more useful error message telling
users
to recompile with the python support.

Thanks,
John


On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>
> Sir,
> plot_data_plane --version shows the following.
>
> MET Version:    V8.0
> Repository:    https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
> Revision:    5860
> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)
>
> Still the problem persists for
> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'
>
> as
> DEBUG 1: Opening data file: PYTHON_NUMPY
> ERROR  :
> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> unsupported
> gridded data file type "FileType_Python_Numpy"
> ERROR  :
>
> Is there any way to overcome this?
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Biranchi,
> >
> > Great, glad you were able to make progress!  However, I suspect
that you
> > may be running MET version 7.0 instead of the 8.0 version that was
> release
> > a couple weeks ago.  Support for calling a python script is new in
> met-8.0.
> >
> > Please try running:
> >    plot_data_plane --version
> >
> > To see the version you're using.  If it's not met-8.0, please try
that
> > version.
> >
> > Thanks,
> > John
> >
> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
> met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> > >
> > > Sir,
> > > I could run the commands you suggested in the previous mail
after
> > > installinf netCDF4-python.
> > >
> > > In my system I ran the commands as follows:
> > > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
> > > And I got following without error;
> > >
> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> > > Variable Name : 'precipitation'
> > > Data Shape: (480, 1440)
> > > Data Type:  dtype('float64')
> > > Begin Time = 2018-08-21 01:30:00
> > > End Time = 2018-08-22 01:29:59.999000
> > > Accum Time = 240000
> > > Attributes: {'long_name': 'precipitation', 'init':
'20180822_012959',
> > > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25,
'lon_ll':
> > -179.875,
> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
'delta_lon': 0.25,
> > > 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation',
'lead': '00',
> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
> > >
> > > The second command
> > > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> > > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> precipitation";'
> > > displays the error as:
> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> > > ERROR  :
> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
> > > gridded data file type "FileType_Python_Numpy"
> > > ERROR  :
> > > This is for your kind perusal and necessary suggestions may
kindly be
> > given
> > > to sort out the issue.
> > > Thanking You
> > > With Best Regards
> > > ________________________
> > > Dr. BIRANCHI  KUMAR  MAHALA
> > > Asst. Prof., Mathematics
> > > *Kalinga Institute of Industrial Technology,*
> > > *Deemed to be University, Bhubaneswar*
> > > *Mobile- 09861182688*
> > >
> > >
> > >
> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> > biranchimahala at gmail.com>
> > > wrote:
> > >
> > > > Sir,
> > > > As per your suggestions I installed met-8 and issue the
command
> > > > # python read_3B42RT_Daily.py
> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4 precipitation
> > > > But, I am getting the following  error:
> > > > Traceback (most recent call last):
> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
> > > >     from netCDF4 import Dataset
> > > > ImportError: No module named netCDF4
> > > >
> > > >
> > > > Thanking You
> > > > With Best Regards
> > > > ________________________
> > > > Dr. BIRANCHI  KUMAR  MAHALA
> > > > Asst. Prof., Mathematics
> > > > *Kalinga Institute of Industrial Technology,*
> > > > *Deemed to be University, Bhubaneswar*
> > > > *Mobile- 09861182688*
> > > >
> > > >
> > > >
> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Biranchi,
> > > >>
> > > >> I see that you're trying to read some GPM data into MET but
are
> having
> > > >> trouble.  Thank you for sending the sample data file that
you're
> > trying
> > > to
> > > >> read.
> > > >>
> > > >> This is a NetCDF file but it is not in a format that MET is
set up
> to
> > > >> handle.  We could get it to read the gridded data OK, but the
> metadata
> > > >> (such as the timing info) is not defined in a way that
existing
> > > >> functionality in MET can read.
> > > >>
> > > >> However there is a way forward here.  We just released met-
8.0 a
> > couple
> > > >> weeks ago and it includes an important new feature.  MET can
now
> call
> > > >> scripts written in Python to read data and pass that data to
the MET
> > > tools
> > > >> in memory.
> > > >>
> > > >> I was able to write a python script to read data from the
file you
> > sent,
> > > >> format the metadata (timing and grid info), and pass it to
MET in
> > > memory.
> > > >>
> > > >> Here's what I'd suggest you try:
> > > >>
> > > >> (1) Install met-8.0
> > > >>
> > > >> (2) Try running the attached python script on the command
line like
> > > this:
> > > >>
> > > >>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > precipitation
> > > >>
> > > >> (3) If that runs without error, next try running MET's
> plot_data_plane
> > > >> tool, like this:
> > > >>
> > > >>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
> > > >>       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > > >> precipitation";'
> > > >>
> > > >> If it all works, then that should produce an image that looks
like
> the
> > > one
> > > >> I've attached.
> > > >>
> > > >> Lastly, if that all works, then you can configure/run MODE to
use
> this
> > > >> python script to read your data as well.
> > > >>
> > > >> Please let me know how it goes.
> > > >>
> > > >> Thanks,
> > > >> John Halley Gotway
> > > >>
> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
> > > >> > Transaction: Ticket created by biranchimahala at gmail.com
> > > >> >        Queue: met_help
> > > >> >      Subject: Error in data read by MODE
> > > >> >        Owner: Nobody
> > > >> >   Requestors: biranchimahala at gmail.com
> > > >> >       Status: new
> > > >> >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > > >
> > > >> >
> > > >> >
> > > >> > Sir,
> > > >> > I wanted to compare the model  APCP with precipitation
observation
> > > data
> > > >> of
> > > >> > recent GPM data in .nc4 format. While running using the
following
> > > >> command I
> > > >> > get the error as:
> > > >> >
> > > >> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> > > ./config/MODEConfig_file
> > > >> > -outdir ./output/mode_analysis/ -v 2
> > > >> > DEBUG 1: Default Config File:
> > > >> /MET_V7/share/met//config/MODEConfig_default
> > > >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
> > > >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
> > > >> > WARNING:
> > > >> > WARNING: NcCfFile::open() -> could not determine the valid
time,
> > using
> > > >> 0.
> > > >> > WARNING:
> > > >> > ERROR  :
> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert data
type of
> > > >> > "long_name" to NC_CHAR type.
> > > >> > ERROR  :
> > > >> > NetCDF: HDF error
> > > >> > file: ncFile.cpp  line:33
> > > >> >
> > > >> > Kindly Suggest me to sort out this issue.
> > > >> > The files are attached herewith for your reference.
> > > >> >
> > > >> > Thanking You
> > > >> > With Best Regards
> > > >> > ________________________
> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> > > >> > Asst. Prof., Mathematics
> > > >> > *Kalinga Institute of Industrial Technology,*
> > > >> > *Deemed to be University, Bhubaneswar*
> > > >> > *Mobile- 09861182688*
> > > >> >
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: John Halley Gotway
Time: Wed Oct 17 09:03:52 2018

Biranchi,

I just updated the code.  In the next version of MET, when Python
support
hasn't been compiled, you'll see the follow error message instead:

ERROR  :
ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> Support for
Python
has not been compiled!
ERROR  : To run Python scripts, recompile with the --enable-python
option.
ERROR  :

Thanks,
John

On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway <johnhg at ucar.edu>
wrote:

> Biranchi,
>
> OK, I understand what's going on here.  I was able to reproduce the
error
> message you're seeing.  In the version of met-8.0 you're running,
support
> for running Python scripts was *NOT* compiled.  In order to get this
> working, you'll need to recompile MET using the "--enable-python"
option
> and set the MET_PYTHON_CC and MET_PYTHON_LD environment variables to
point
> to python on your system.  Please see the user's guide or run
"configure
> --help" for info about these.
>
> There are several options in MET that are not compiled by default
since
> they require additional external libraries and python support is one
of
> them.
>
> I'll update the code to produce a more useful error message telling
users
> to recompile with the python support.
>
> Thanks,
> John
>
>
> On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>>
>> Sir,
>> plot_data_plane --version shows the following.
>>
>> MET Version:    V8.0
>> Repository:    https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
>> Revision:    5860
>> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)
>>
>> Still the problem persists for
>> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
>> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'
>>
>> as
>> DEBUG 1: Opening data file: PYTHON_NUMPY
>> ERROR  :
>> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
>> gridded data file type "FileType_Python_Numpy"
>> ERROR  :
>>
>> Is there any way to overcome this?
>> Thanking You
>> With Best Regards
>> ________________________
>> Dr. BIRANCHI  KUMAR  MAHALA
>> Asst. Prof., Mathematics
>> *Kalinga Institute of Industrial Technology,*
>> *Deemed to be University, Bhubaneswar*
>> *Mobile- 09861182688*
>>
>>
>>
>> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT <
>> met_help at ucar.edu>
>> wrote:
>>
>> > Biranchi,
>> >
>> > Great, glad you were able to make progress!  However, I suspect
that you
>> > may be running MET version 7.0 instead of the 8.0 version that
was
>> release
>> > a couple weeks ago.  Support for calling a python script is new
in
>> met-8.0.
>> >
>> > Please try running:
>> >    plot_data_plane --version
>> >
>> > To see the version you're using.  If it's not met-8.0, please try
that
>> > version.
>> >
>> > Thanks,
>> > John
>> >
>> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
>> met_help at ucar.edu>
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>> > >
>> > > Sir,
>> > > I could run the commands you suggested in the previous mail
after
>> > > installinf netCDF4-python.
>> > >
>> > > In my system I ran the commands as follows:
>> > > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation
>> > > And I got following without error;
>> > >
>> > > Input File: '3B42RT_Daily.20180821.7.nc4'
>> > > Variable Name : 'precipitation'
>> > > Data Shape: (480, 1440)
>> > > Data Type:  dtype('float64')
>> > > Begin Time = 2018-08-21 01:30:00
>> > > End Time = 2018-08-22 01:29:59.999000
>> > > Accum Time = 240000
>> > > Attributes: {'long_name': 'precipitation', 'init':
'20180822_012959',
>> > > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25,
'lon_ll':
>> > -179.875,
>> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
'delta_lon':
>> 0.25,
>> > > 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation',
'lead':
>> '00',
>> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
>> > >
>> > > The second command
>> > > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
>> > > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> precipitation";'
>> > > displays the error as:
>> > > DEBUG 1: Opening data file: PYTHON_NUMPY
>> > > ERROR  :
>> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
>> > > gridded data file type "FileType_Python_Numpy"
>> > > ERROR  :
>> > > This is for your kind perusal and necessary suggestions may
kindly be
>> > given
>> > > to sort out the issue.
>> > > Thanking You
>> > > With Best Regards
>> > > ________________________
>> > > Dr. BIRANCHI  KUMAR  MAHALA
>> > > Asst. Prof., Mathematics
>> > > *Kalinga Institute of Industrial Technology,*
>> > > *Deemed to be University, Bhubaneswar*
>> > > *Mobile- 09861182688*
>> > >
>> > >
>> > >
>> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
>> > biranchimahala at gmail.com>
>> > > wrote:
>> > >
>> > > > Sir,
>> > > > As per your suggestions I installed met-8 and issue the
command
>> > > > # python read_3B42RT_Daily.py
>> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4 precipitation
>> > > > But, I am getting the following  error:
>> > > > Traceback (most recent call last):
>> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
>> > > >     from netCDF4 import Dataset
>> > > > ImportError: No module named netCDF4
>> > > >
>> > > >
>> > > > Thanking You
>> > > > With Best Regards
>> > > > ________________________
>> > > > Dr. BIRANCHI  KUMAR  MAHALA
>> > > > Asst. Prof., Mathematics
>> > > > *Kalinga Institute of Industrial Technology,*
>> > > > *Deemed to be University, Bhubaneswar*
>> > > > *Mobile- 09861182688*
>> > > >
>> > > >
>> > > >
>> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT <
>> > > > met_help at ucar.edu> wrote:
>> > > >
>> > > >> Biranchi,
>> > > >>
>> > > >> I see that you're trying to read some GPM data into MET but
are
>> having
>> > > >> trouble.  Thank you for sending the sample data file that
you're
>> > trying
>> > > to
>> > > >> read.
>> > > >>
>> > > >> This is a NetCDF file but it is not in a format that MET is
set up
>> to
>> > > >> handle.  We could get it to read the gridded data OK, but
the
>> metadata
>> > > >> (such as the timing info) is not defined in a way that
existing
>> > > >> functionality in MET can read.
>> > > >>
>> > > >> However there is a way forward here.  We just released met-
8.0 a
>> > couple
>> > > >> weeks ago and it includes an important new feature.  MET can
now
>> call
>> > > >> scripts written in Python to read data and pass that data to
the
>> MET
>> > > tools
>> > > >> in memory.
>> > > >>
>> > > >> I was able to write a python script to read data from the
file you
>> > sent,
>> > > >> format the metadata (timing and grid info), and pass it to
MET in
>> > > memory.
>> > > >>
>> > > >> Here's what I'd suggest you try:
>> > > >>
>> > > >> (1) Install met-8.0
>> > > >>
>> > > >> (2) Try running the attached python script on the command
line like
>> > > this:
>> > > >>
>> > > >>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> > precipitation
>> > > >>
>> > > >> (3) If that runs without error, next try running MET's
>> plot_data_plane
>> > > >> tool, like this:
>> > > >>
>> > > >>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
>> > > >>       'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>> > > >> precipitation";'
>> > > >>
>> > > >> If it all works, then that should produce an image that
looks like
>> the
>> > > one
>> > > >> I've attached.
>> > > >>
>> > > >> Lastly, if that all works, then you can configure/run MODE
to use
>> this
>> > > >> python script to read your data as well.
>> > > >>
>> > > >> Please let me know how it goes.
>> > > >>
>> > > >> Thanks,
>> > > >> John Halley Gotway
>> > > >>
>> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT <
>> > > met_help at ucar.edu
>> > > >> >
>> > > >> wrote:
>> > > >>
>> > > >> >
>> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
>> > > >> > Transaction: Ticket created by biranchimahala at gmail.com
>> > > >> >        Queue: met_help
>> > > >> >      Subject: Error in data read by MODE
>> > > >> >        Owner: Nobody
>> > > >> >   Requestors: biranchimahala at gmail.com
>> > > >> >       Status: new
>> > > >> >  Ticket <URL:
>> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>> > > >
>> > > >> >
>> > > >> >
>> > > >> > Sir,
>> > > >> > I wanted to compare the model  APCP with precipitation
>> observation
>> > > data
>> > > >> of
>> > > >> > recent GPM data in .nc4 format. While running using the
following
>> > > >> command I
>> > > >> > get the error as:
>> > > >> >
>> > > >> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
>> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
>> > > ./config/MODEConfig_file
>> > > >> > -outdir ./output/mode_analysis/ -v 2
>> > > >> > DEBUG 1: Default Config File:
>> > > >> /MET_V7/share/met//config/MODEConfig_default
>> > > >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
>> > > >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
>> > > >> > WARNING:
>> > > >> > WARNING: NcCfFile::open() -> could not determine the valid
time,
>> > using
>> > > >> 0.
>> > > >> > WARNING:
>> > > >> > ERROR  :
>> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert data
type
>> of
>> > > >> > "long_name" to NC_CHAR type.
>> > > >> > ERROR  :
>> > > >> > NetCDF: HDF error
>> > > >> > file: ncFile.cpp  line:33
>> > > >> >
>> > > >> > Kindly Suggest me to sort out this issue.
>> > > >> > The files are attached herewith for your reference.
>> > > >> >
>> > > >> > Thanking You
>> > > >> > With Best Regards
>> > > >> > ________________________
>> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
>> > > >> > Asst. Prof., Mathematics
>> > > >> > *Kalinga Institute of Industrial Technology,*
>> > > >> > *Deemed to be University, Bhubaneswar*
>> > > >> > *Mobile- 09861182688*
>> > > >> >
>> > > >> >
>> > > >>
>> > > >>
>> > >
>> > >
>> >
>> >
>>
>>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Wed Oct 17 14:11:53 2018

Sir,
I have attempted to compile met-8.0 with

./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
--enable-mode_graphics --enable-lidar2nc --enable-python CC=gcc
F77=gfortran CXX=g++
I got the error during gmake. The gmake.log and config.log files are
attached herewith for your reference.


With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

> Biranchi,
>
> I just updated the code.  In the next version of MET, when Python
support
> hasn't been compiled, you'll see the follow error message instead:
>
> ERROR  :
> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> Support for
Python
> has not been compiled!
> ERROR  : To run Python scripts, recompile with the --enable-python
option.
> ERROR  :
>
> Thanks,
> John
>
> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway <johnhg at ucar.edu>
> wrote:
>
> > Biranchi,
> >
> > OK, I understand what's going on here.  I was able to reproduce
the error
> > message you're seeing.  In the version of met-8.0 you're running,
support
> > for running Python scripts was *NOT* compiled.  In order to get
this
> > working, you'll need to recompile MET using the "--enable-python"
option
> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment variables
to
> point
> > to python on your system.  Please see the user's guide or run
"configure
> > --help" for info about these.
> >
> > There are several options in MET that are not compiled by default
since
> > they require additional external libraries and python support is
one of
> > them.
> >
> > I'll update the code to produce a more useful error message
telling users
> > to recompile with the python support.
> >
> > Thanks,
> > John
> >
> >
> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
> met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >>
> >> Sir,
> >> plot_data_plane --version shows the following.
> >>
> >> MET Version:    V8.0
> >> Repository:    https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
> >> Revision:    5860
> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)
> >>
> >> Still the problem persists for
> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";'
> >>
> >> as
> >> DEBUG 1: Opening data file: PYTHON_NUMPY
> >> ERROR  :
> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
> >> gridded data file type "FileType_Python_Numpy"
> >> ERROR  :
> >>
> >> Is there any way to overcome this?
> >> Thanking You
> >> With Best Regards
> >> ________________________
> >> Dr. BIRANCHI  KUMAR  MAHALA
> >> Asst. Prof., Mathematics
> >> *Kalinga Institute of Industrial Technology,*
> >> *Deemed to be University, Bhubaneswar*
> >> *Mobile- 09861182688*
> >>
> >>
> >>
> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT <
> >> met_help at ucar.edu>
> >> wrote:
> >>
> >> > Biranchi,
> >> >
> >> > Great, glad you were able to make progress!  However, I suspect
that
> you
> >> > may be running MET version 7.0 instead of the 8.0 version that
was
> >> release
> >> > a couple weeks ago.  Support for calling a python script is new
in
> >> met-8.0.
> >> >
> >> > Please try running:
> >> >    plot_data_plane --version
> >> >
> >> > To see the version you're using.  If it's not met-8.0, please
try that
> >> > version.
> >> >
> >> > Thanks,
> >> > John
> >> >
> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
> >> met_help at ucar.edu>
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>
> >> > >
> >> > > Sir,
> >> > > I could run the commands you suggested in the previous mail
after
> >> > > installinf netCDF4-python.
> >> > >
> >> > > In my system I ran the commands as follows:
> >> > > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> precipitation
> >> > > And I got following without error;
> >> > >
> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> >> > > Variable Name : 'precipitation'
> >> > > Data Shape: (480, 1440)
> >> > > Data Type:  dtype('float64')
> >> > > Begin Time = 2018-08-21 01:30:00
> >> > > End Time = 2018-08-22 01:29:59.999000
> >> > > Accum Time = 240000
> >> > > Attributes: {'long_name': 'precipitation', 'init':
> '20180822_012959',
> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25,
'lon_ll':
> >> > -179.875,
> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
'delta_lon':
> >> 0.25,
> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation',
'lead':
> >> '00',
> >> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
> >> > >
> >> > > The second command
> >> > > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> >> > > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> >> precipitation";'
> >> > > displays the error as:
> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> >> > > ERROR  :
> >> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
> >> > > gridded data file type "FileType_Python_Numpy"
> >> > > ERROR  :
> >> > > This is for your kind perusal and necessary suggestions may
kindly
> be
> >> > given
> >> > > to sort out the issue.
> >> > > Thanking You
> >> > > With Best Regards
> >> > > ________________________
> >> > > Dr. BIRANCHI  KUMAR  MAHALA
> >> > > Asst. Prof., Mathematics
> >> > > *Kalinga Institute of Industrial Technology,*
> >> > > *Deemed to be University, Bhubaneswar*
> >> > > *Mobile- 09861182688*
> >> > >
> >> > >
> >> > >
> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> >> > biranchimahala at gmail.com>
> >> > > wrote:
> >> > >
> >> > > > Sir,
> >> > > > As per your suggestions I installed met-8 and issue the
command
> >> > > > # python read_3B42RT_Daily.py
> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
precipitation
> >> > > > But, I am getting the following  error:
> >> > > > Traceback (most recent call last):
> >> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
> >> > > >     from netCDF4 import Dataset
> >> > > > ImportError: No module named netCDF4
> >> > > >
> >> > > >
> >> > > > Thanking You
> >> > > > With Best Regards
> >> > > > ________________________
> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
> >> > > > Asst. Prof., Mathematics
> >> > > > *Kalinga Institute of Industrial Technology,*
> >> > > > *Deemed to be University, Bhubaneswar*
> >> > > > *Mobile- 09861182688*
> >> > > >
> >> > > >
> >> > > >
> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT
<
> >> > > > met_help at ucar.edu> wrote:
> >> > > >
> >> > > >> Biranchi,
> >> > > >>
> >> > > >> I see that you're trying to read some GPM data into MET
but are
> >> having
> >> > > >> trouble.  Thank you for sending the sample data file that
you're
> >> > trying
> >> > > to
> >> > > >> read.
> >> > > >>
> >> > > >> This is a NetCDF file but it is not in a format that MET
is set
> up
> >> to
> >> > > >> handle.  We could get it to read the gridded data OK, but
the
> >> metadata
> >> > > >> (such as the timing info) is not defined in a way that
existing
> >> > > >> functionality in MET can read.
> >> > > >>
> >> > > >> However there is a way forward here.  We just released
met-8.0 a
> >> > couple
> >> > > >> weeks ago and it includes an important new feature.  MET
can now
> >> call
> >> > > >> scripts written in Python to read data and pass that data
to the
> >> MET
> >> > > tools
> >> > > >> in memory.
> >> > > >>
> >> > > >> I was able to write a python script to read data from the
file
> you
> >> > sent,
> >> > > >> format the metadata (timing and grid info), and pass it to
MET in
> >> > > memory.
> >> > > >>
> >> > > >> Here's what I'd suggest you try:
> >> > > >>
> >> > > >> (1) Install met-8.0
> >> > > >>
> >> > > >> (2) Try running the attached python script on the command
line
> like
> >> > > this:
> >> > > >>
> >> > > >>    python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> >> > precipitation
> >> > > >>
> >> > > >> (3) If that runs without error, next try running MET's
> >> plot_data_plane
> >> > > >> tool, like this:
> >> > > >>
> >> > > >>    plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
\
> >> > > >>       'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> >> > > >> precipitation";'
> >> > > >>
> >> > > >> If it all works, then that should produce an image that
looks
> like
> >> the
> >> > > one
> >> > > >> I've attached.
> >> > > >>
> >> > > >> Lastly, if that all works, then you can configure/run MODE
to use
> >> this
> >> > > >> python script to read your data as well.
> >> > > >>
> >> > > >> Please let me know how it goes.
> >> > > >>
> >> > > >> Thanks,
> >> > > >> John Halley Gotway
> >> > > >>
> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT <
> >> > > met_help at ucar.edu
> >> > > >> >
> >> > > >> wrote:
> >> > > >>
> >> > > >> >
> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
> >> > > >> > Transaction: Ticket created by biranchimahala at gmail.com
> >> > > >> >        Queue: met_help
> >> > > >> >      Subject: Error in data read by MODE
> >> > > >> >        Owner: Nobody
> >> > > >> >   Requestors: biranchimahala at gmail.com
> >> > > >> >       Status: new
> >> > > >> >  Ticket <URL:
> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >> > > >
> >> > > >> >
> >> > > >> >
> >> > > >> > Sir,
> >> > > >> > I wanted to compare the model  APCP with precipitation
> >> observation
> >> > > data
> >> > > >> of
> >> > > >> > recent GPM data in .nc4 format. While running using the
> following
> >> > > >> command I
> >> > > >> > get the error as:
> >> > > >> >
> >> > > >> > mode
./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> >> > > ./config/MODEConfig_file
> >> > > >> > -outdir ./output/mode_analysis/ -v 2
> >> > > >> > DEBUG 1: Default Config File:
> >> > > >> /MET_V7/share/met//config/MODEConfig_default
> >> > > >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
> >> > > >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
> >> > > >> > WARNING:
> >> > > >> > WARNING: NcCfFile::open() -> could not determine the
valid
> time,
> >> > using
> >> > > >> 0.
> >> > > >> > WARNING:
> >> > > >> > ERROR  :
> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert
data type
> >> of
> >> > > >> > "long_name" to NC_CHAR type.
> >> > > >> > ERROR  :
> >> > > >> > NetCDF: HDF error
> >> > > >> > file: ncFile.cpp  line:33
> >> > > >> >
> >> > > >> > Kindly Suggest me to sort out this issue.
> >> > > >> > The files are attached herewith for your reference.
> >> > > >> >
> >> > > >> > Thanking You
> >> > > >> > With Best Regards
> >> > > >> > ________________________
> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> >> > > >> > Asst. Prof., Mathematics
> >> > > >> > *Kalinga Institute of Industrial Technology,*
> >> > > >> > *Deemed to be University, Bhubaneswar*
> >> > > >> > *Mobile- 09861182688*
> >> > > >> >
> >> > > >> >
> >> > > >>
> >> > > >>
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Wed Oct 17 14:12:46 2018

I had downloaded the most recent version of the met-8.0.
Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala
<biranchimahala at gmail.com>
wrote:

> Sir,
> I have attempted to compile met-8.0 with
>
> ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
> --enable-mode_graphics --enable-lidar2nc --enable-python CC=gcc
> F77=gfortran CXX=g++
> I got the error during gmake. The gmake.log and config.log files are
> attached herewith for your reference.
>
>
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Biranchi,
>>
>> I just updated the code.  In the next version of MET, when Python
support
>> hasn't been compiled, you'll see the follow error message instead:
>>
>> ERROR  :
>> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> Support
for
>> Python
>> has not been compiled!
>> ERROR  : To run Python scripts, recompile with the --enable-python
option.
>> ERROR  :
>>
>> Thanks,
>> John
>>
>> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway
<johnhg at ucar.edu>
>> wrote:
>>
>> > Biranchi,
>> >
>> > OK, I understand what's going on here.  I was able to reproduce
the
>> error
>> > message you're seeing.  In the version of met-8.0 you're running,
>> support
>> > for running Python scripts was *NOT* compiled.  In order to get
this
>> > working, you'll need to recompile MET using the "--enable-python"
option
>> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment variables
to
>> point
>> > to python on your system.  Please see the user's guide or run
"configure
>> > --help" for info about these.
>> >
>> > There are several options in MET that are not compiled by default
since
>> > they require additional external libraries and python support is
one of
>> > them.
>> >
>> > I'll update the code to produce a more useful error message
telling
>> users
>> > to recompile with the python support.
>> >
>> > Thanks,
>> > John
>> >
>> >
>> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
>> met_help at ucar.edu>
>> > wrote:
>> >
>> >>
>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>> >>
>> >> Sir,
>> >> plot_data_plane --version shows the following.
>> >>
>> >> MET Version:    V8.0
>> >> Repository:    https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
>> >> Revision:    5860
>> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)
>> >>
>> >> Still the problem persists for
>> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
>> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> precipitation";'
>> >>
>> >> as
>> >> DEBUG 1: Opening data file: PYTHON_NUMPY
>> >> ERROR  :
>> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
>> >> gridded data file type "FileType_Python_Numpy"
>> >> ERROR  :
>> >>
>> >> Is there any way to overcome this?
>> >> Thanking You
>> >> With Best Regards
>> >> ________________________
>> >> Dr. BIRANCHI  KUMAR  MAHALA
>> >> Asst. Prof., Mathematics
>> >> *Kalinga Institute of Industrial Technology,*
>> >> *Deemed to be University, Bhubaneswar*
>> >> *Mobile- 09861182688*
>> >>
>> >>
>> >>
>> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT <
>> >> met_help at ucar.edu>
>> >> wrote:
>> >>
>> >> > Biranchi,
>> >> >
>> >> > Great, glad you were able to make progress!  However, I
suspect that
>> you
>> >> > may be running MET version 7.0 instead of the 8.0 version that
was
>> >> release
>> >> > a couple weeks ago.  Support for calling a python script is
new in
>> >> met-8.0.
>> >> >
>> >> > Please try running:
>> >> >    plot_data_plane --version
>> >> >
>> >> > To see the version you're using.  If it's not met-8.0, please
try
>> that
>> >> > version.
>> >> >
>> >> > Thanks,
>> >> > John
>> >> >
>> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
>> >> met_help at ucar.edu>
>> >> > wrote:
>> >> >
>> >> > >
>> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>> >> > >
>> >> > > Sir,
>> >> > > I could run the commands you suggested in the previous mail
after
>> >> > > installinf netCDF4-python.
>> >> > >
>> >> > > In my system I ran the commands as follows:
>> >> > > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> precipitation
>> >> > > And I got following without error;
>> >> > >
>> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
>> >> > > Variable Name : 'precipitation'
>> >> > > Data Shape: (480, 1440)
>> >> > > Data Type:  dtype('float64')
>> >> > > Begin Time = 2018-08-21 01:30:00
>> >> > > End Time = 2018-08-22 01:29:59.999000
>> >> > > Accum Time = 240000
>> >> > > Attributes: {'long_name': 'precipitation', 'init':
>> '20180822_012959',
>> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25,
'lon_ll':
>> >> > -179.875,
>> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
'delta_lon':
>> >> 0.25,
>> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation',
'lead':
>> >> '00',
>> >> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
>> >> > >
>> >> > > The second command
>> >> > > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
>> >> > > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> >> precipitation";'
>> >> > > displays the error as:
>> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
>> >> > > ERROR  :
>> >> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
>> unsupported
>> >> > > gridded data file type "FileType_Python_Numpy"
>> >> > > ERROR  :
>> >> > > This is for your kind perusal and necessary suggestions may
kindly
>> be
>> >> > given
>> >> > > to sort out the issue.
>> >> > > Thanking You
>> >> > > With Best Regards
>> >> > > ________________________
>> >> > > Dr. BIRANCHI  KUMAR  MAHALA
>> >> > > Asst. Prof., Mathematics
>> >> > > *Kalinga Institute of Industrial Technology,*
>> >> > > *Deemed to be University, Bhubaneswar*
>> >> > > *Mobile- 09861182688*
>> >> > >
>> >> > >
>> >> > >
>> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
>> >> > biranchimahala at gmail.com>
>> >> > > wrote:
>> >> > >
>> >> > > > Sir,
>> >> > > > As per your suggestions I installed met-8 and issue the
command
>> >> > > > # python read_3B42RT_Daily.py
>> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
precipitation
>> >> > > > But, I am getting the following  error:
>> >> > > > Traceback (most recent call last):
>> >> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
>> >> > > >     from netCDF4 import Dataset
>> >> > > > ImportError: No module named netCDF4
>> >> > > >
>> >> > > >
>> >> > > > Thanking You
>> >> > > > With Best Regards
>> >> > > > ________________________
>> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
>> >> > > > Asst. Prof., Mathematics
>> >> > > > *Kalinga Institute of Industrial Technology,*
>> >> > > > *Deemed to be University, Bhubaneswar*
>> >> > > > *Mobile- 09861182688*
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via RT
<
>> >> > > > met_help at ucar.edu> wrote:
>> >> > > >
>> >> > > >> Biranchi,
>> >> > > >>
>> >> > > >> I see that you're trying to read some GPM data into MET
but are
>> >> having
>> >> > > >> trouble.  Thank you for sending the sample data file that
you're
>> >> > trying
>> >> > > to
>> >> > > >> read.
>> >> > > >>
>> >> > > >> This is a NetCDF file but it is not in a format that MET
is set
>> up
>> >> to
>> >> > > >> handle.  We could get it to read the gridded data OK, but
the
>> >> metadata
>> >> > > >> (such as the timing info) is not defined in a way that
existing
>> >> > > >> functionality in MET can read.
>> >> > > >>
>> >> > > >> However there is a way forward here.  We just released
met-8.0 a
>> >> > couple
>> >> > > >> weeks ago and it includes an important new feature.  MET
can now
>> >> call
>> >> > > >> scripts written in Python to read data and pass that data
to the
>> >> MET
>> >> > > tools
>> >> > > >> in memory.
>> >> > > >>
>> >> > > >> I was able to write a python script to read data from the
file
>> you
>> >> > sent,
>> >> > > >> format the metadata (timing and grid info), and pass it
to MET
>> in
>> >> > > memory.
>> >> > > >>
>> >> > > >> Here's what I'd suggest you try:
>> >> > > >>
>> >> > > >> (1) Install met-8.0
>> >> > > >>
>> >> > > >> (2) Try running the attached python script on the command
line
>> like
>> >> > > this:
>> >> > > >>
>> >> > > >>    python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>> >> > precipitation
>> >> > > >>
>> >> > > >> (3) If that runs without error, next try running MET's
>> >> plot_data_plane
>> >> > > >> tool, like this:
>> >> > > >>
>> >> > > >>    plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps \
>> >> > > >>       'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>> >> > > >> precipitation";'
>> >> > > >>
>> >> > > >> If it all works, then that should produce an image that
looks
>> like
>> >> the
>> >> > > one
>> >> > > >> I've attached.
>> >> > > >>
>> >> > > >> Lastly, if that all works, then you can configure/run
MODE to
>> use
>> >> this
>> >> > > >> python script to read your data as well.
>> >> > > >>
>> >> > > >> Please let me know how it goes.
>> >> > > >>
>> >> > > >> Thanks,
>> >> > > >> John Halley Gotway
>> >> > > >>
>> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT <
>> >> > > met_help at ucar.edu
>> >> > > >> >
>> >> > > >> wrote:
>> >> > > >>
>> >> > > >> >
>> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted upon.
>> >> > > >> > Transaction: Ticket created by biranchimahala at gmail.com
>> >> > > >> >        Queue: met_help
>> >> > > >> >      Subject: Error in data read by MODE
>> >> > > >> >        Owner: Nobody
>> >> > > >> >   Requestors: biranchimahala at gmail.com
>> >> > > >> >       Status: new
>> >> > > >> >  Ticket <URL:
>> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>> >> > > >
>> >> > > >> >
>> >> > > >> >
>> >> > > >> > Sir,
>> >> > > >> > I wanted to compare the model  APCP with precipitation
>> >> observation
>> >> > > data
>> >> > > >> of
>> >> > > >> > recent GPM data in .nc4 format. While running using the
>> following
>> >> > > >> command I
>> >> > > >> > get the error as:
>> >> > > >> >
>> >> > > >> > mode
./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
>> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
>> >> > > ./config/MODEConfig_file
>> >> > > >> > -outdir ./output/mode_analysis/ -v 2
>> >> > > >> > DEBUG 1: Default Config File:
>> >> > > >> /MET_V7/share/met//config/MODEConfig_default
>> >> > > >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
>> >> > > >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
>> >> > > >> > WARNING:
>> >> > > >> > WARNING: NcCfFile::open() -> could not determine the
valid
>> time,
>> >> > using
>> >> > > >> 0.
>> >> > > >> > WARNING:
>> >> > > >> > ERROR  :
>> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert
data
>> type
>> >> of
>> >> > > >> > "long_name" to NC_CHAR type.
>> >> > > >> > ERROR  :
>> >> > > >> > NetCDF: HDF error
>> >> > > >> > file: ncFile.cpp  line:33
>> >> > > >> >
>> >> > > >> > Kindly Suggest me to sort out this issue.
>> >> > > >> > The files are attached herewith for your reference.
>> >> > > >> >
>> >> > > >> > Thanking You
>> >> > > >> > With Best Regards
>> >> > > >> > ________________________
>> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
>> >> > > >> > Asst. Prof., Mathematics
>> >> > > >> > *Kalinga Institute of Industrial Technology,*
>> >> > > >> > *Deemed to be University, Bhubaneswar*
>> >> > > >> > *Mobile- 09861182688*
>> >> > > >> >
>> >> > > >> >
>> >> > > >>
>> >> > > >>
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >>
>> >>
>>
>>

------------------------------------------------
Subject: Error in data read by MODE
From: John Halley Gotway
Time: Thu Oct 18 09:49:16 2018

Biranchi,

Thanks for sending your make.log and config.log files.  I see that
you're
using the "--enable-python" option to compile Python support as we
discussed.  The problem is in how you have the MET_PYTHON_CC and
MET_PYTHON_LD environment variables set... taken from config.log:

MET_PYTHON_CC='-I/usr/include/python2.7'
MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'

Start by finding the version of python you want to use.  Let's say
it's in
"/usr/bin/python" for example.  You can set these environment
variables by
calling the corresponding "python-config" tool:

setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`

Please try setting them that way, re-run MET's configure command, and
try
compiling again.

Thanks,
John

On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>
> I had downloaded the most recent version of the met-8.0.
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala
<biranchimahala at gmail.com>
> wrote:
>
> > Sir,
> > I have attempted to compile met-8.0 with
> >
> > ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
> > --enable-mode_graphics --enable-lidar2nc --enable-python CC=gcc
> > F77=gfortran CXX=g++
> > I got the error during gmake. The gmake.log and config.log files
are
> > attached herewith for your reference.
> >
> >
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
> >
> > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Biranchi,
> >>
> >> I just updated the code.  In the next version of MET, when Python
> support
> >> hasn't been compiled, you'll see the follow error message
instead:
> >>
> >> ERROR  :
> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() -> Support
for
> >> Python
> >> has not been compiled!
> >> ERROR  : To run Python scripts, recompile with the --enable-
python
> option.
> >> ERROR  :
> >>
> >> Thanks,
> >> John
> >>
> >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway
<johnhg at ucar.edu>
> >> wrote:
> >>
> >> > Biranchi,
> >> >
> >> > OK, I understand what's going on here.  I was able to reproduce
the
> >> error
> >> > message you're seeing.  In the version of met-8.0 you're
running,
> >> support
> >> > for running Python scripts was *NOT* compiled.  In order to get
this
> >> > working, you'll need to recompile MET using the "--enable-
python"
> option
> >> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment
variables to
> >> point
> >> > to python on your system.  Please see the user's guide or run
> "configure
> >> > --help" for info about these.
> >> >
> >> > There are several options in MET that are not compiled by
default
> since
> >> > they require additional external libraries and python support
is one
> of
> >> > them.
> >> >
> >> > I'll update the code to produce a more useful error message
telling
> >> users
> >> > to recompile with the python support.
> >> >
> >> > Thanks,
> >> > John
> >> >
> >> >
> >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
> >> met_help at ucar.edu>
> >> > wrote:
> >> >
> >> >>
> >> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>
> >> >>
> >> >> Sir,
> >> >> plot_data_plane --version shows the following.
> >> >>
> >> >> MET Version:    V8.0
> >> >> Repository:    https://svn-met-dev.cgd.ucar.edu/tags/met/met-
8.0
> >> >> Revision:    5860
> >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)
> >> >>
> >> >> Still the problem persists for
> >> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> >> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> >> precipitation";'
> >> >>
> >> >> as
> >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
> >> >> ERROR  :
> >> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
unsupported
> >> >> gridded data file type "FileType_Python_Numpy"
> >> >> ERROR  :
> >> >>
> >> >> Is there any way to overcome this?
> >> >> Thanking You
> >> >> With Best Regards
> >> >> ________________________
> >> >> Dr. BIRANCHI  KUMAR  MAHALA
> >> >> Asst. Prof., Mathematics
> >> >> *Kalinga Institute of Industrial Technology,*
> >> >> *Deemed to be University, Bhubaneswar*
> >> >> *Mobile- 09861182688*
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT <
> >> >> met_help at ucar.edu>
> >> >> wrote:
> >> >>
> >> >> > Biranchi,
> >> >> >
> >> >> > Great, glad you were able to make progress!  However, I
suspect
> that
> >> you
> >> >> > may be running MET version 7.0 instead of the 8.0 version
that was
> >> >> release
> >> >> > a couple weeks ago.  Support for calling a python script is
new in
> >> >> met-8.0.
> >> >> >
> >> >> > Please try running:
> >> >> >    plot_data_plane --version
> >> >> >
> >> >> > To see the version you're using.  If it's not met-8.0,
please try
> >> that
> >> >> > version.
> >> >> >
> >> >> > Thanks,
> >> >> > John
> >> >> >
> >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
> >> >> met_help at ucar.edu>
> >> >> > wrote:
> >> >> >
> >> >> > >
> >> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >> >> > >
> >> >> > > Sir,
> >> >> > > I could run the commands you suggested in the previous
mail after
> >> >> > > installinf netCDF4-python.
> >> >> > >
> >> >> > > In my system I ran the commands as follows:
> >> >> > > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> >> precipitation
> >> >> > > And I got following without error;
> >> >> > >
> >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> >> >> > > Variable Name : 'precipitation'
> >> >> > > Data Shape: (480, 1440)
> >> >> > > Data Type:  dtype('float64')
> >> >> > > Begin Time = 2018-08-21 01:30:00
> >> >> > > End Time = 2018-08-22 01:29:59.999000
> >> >> > > Accum Time = 240000
> >> >> > > Attributes: {'long_name': 'precipitation', 'init':
> >> '20180822_012959',
> >> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25,
'lon_ll':
> >> >> > -179.875,
> >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
'delta_lon':
> >> >> 0.25,
> >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name': 'precipitation',
'lead':
> >> >> '00',
> >> >> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
> >> >> > >
> >> >> > > The second command
> >> >> > > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> >> >> > > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> >> >> precipitation";'
> >> >> > > displays the error as:
> >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> >> >> > > ERROR  :
> >> >> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
> >> unsupported
> >> >> > > gridded data file type "FileType_Python_Numpy"
> >> >> > > ERROR  :
> >> >> > > This is for your kind perusal and necessary suggestions
may
> kindly
> >> be
> >> >> > given
> >> >> > > to sort out the issue.
> >> >> > > Thanking You
> >> >> > > With Best Regards
> >> >> > > ________________________
> >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
> >> >> > > Asst. Prof., Mathematics
> >> >> > > *Kalinga Institute of Industrial Technology,*
> >> >> > > *Deemed to be University, Bhubaneswar*
> >> >> > > *Mobile- 09861182688*
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> >> >> > biranchimahala at gmail.com>
> >> >> > > wrote:
> >> >> > >
> >> >> > > > Sir,
> >> >> > > > As per your suggestions I installed met-8 and issue the
command
> >> >> > > > # python read_3B42RT_Daily.py
> >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
precipitation
> >> >> > > > But, I am getting the following  error:
> >> >> > > > Traceback (most recent call last):
> >> >> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
> >> >> > > >     from netCDF4 import Dataset
> >> >> > > > ImportError: No module named netCDF4
> >> >> > > >
> >> >> > > >
> >> >> > > > Thanking You
> >> >> > > > With Best Regards
> >> >> > > > ________________________
> >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
> >> >> > > > Asst. Prof., Mathematics
> >> >> > > > *Kalinga Institute of Industrial Technology,*
> >> >> > > > *Deemed to be University, Bhubaneswar*
> >> >> > > > *Mobile- 09861182688*
> >> >> > > >
> >> >> > > >
> >> >> > > >
> >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway via
RT <
> >> >> > > > met_help at ucar.edu> wrote:
> >> >> > > >
> >> >> > > >> Biranchi,
> >> >> > > >>
> >> >> > > >> I see that you're trying to read some GPM data into MET
but
> are
> >> >> having
> >> >> > > >> trouble.  Thank you for sending the sample data file
that
> you're
> >> >> > trying
> >> >> > > to
> >> >> > > >> read.
> >> >> > > >>
> >> >> > > >> This is a NetCDF file but it is not in a format that
MET is
> set
> >> up
> >> >> to
> >> >> > > >> handle.  We could get it to read the gridded data OK,
but the
> >> >> metadata
> >> >> > > >> (such as the timing info) is not defined in a way that
> existing
> >> >> > > >> functionality in MET can read.
> >> >> > > >>
> >> >> > > >> However there is a way forward here.  We just released
> met-8.0 a
> >> >> > couple
> >> >> > > >> weeks ago and it includes an important new feature.
MET can
> now
> >> >> call
> >> >> > > >> scripts written in Python to read data and pass that
data to
> the
> >> >> MET
> >> >> > > tools
> >> >> > > >> in memory.
> >> >> > > >>
> >> >> > > >> I was able to write a python script to read data from
the file
> >> you
> >> >> > sent,
> >> >> > > >> format the metadata (timing and grid info), and pass it
to MET
> >> in
> >> >> > > memory.
> >> >> > > >>
> >> >> > > >> Here's what I'd suggest you try:
> >> >> > > >>
> >> >> > > >> (1) Install met-8.0
> >> >> > > >>
> >> >> > > >> (2) Try running the attached python script on the
command line
> >> like
> >> >> > > this:
> >> >> > > >>
> >> >> > > >>    python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> >> >> > precipitation
> >> >> > > >>
> >> >> > > >> (3) If that runs without error, next try running MET's
> >> >> plot_data_plane
> >> >> > > >> tool, like this:
> >> >> > > >>
> >> >> > > >>    plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps \
> >> >> > > >>       'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> >> >> > > >> precipitation";'
> >> >> > > >>
> >> >> > > >> If it all works, then that should produce an image that
looks
> >> like
> >> >> the
> >> >> > > one
> >> >> > > >> I've attached.
> >> >> > > >>
> >> >> > > >> Lastly, if that all works, then you can configure/run
MODE to
> >> use
> >> >> this
> >> >> > > >> python script to read your data as well.
> >> >> > > >>
> >> >> > > >> Please let me know how it goes.
> >> >> > > >>
> >> >> > > >> Thanks,
> >> >> > > >> John Halley Gotway
> >> >> > > >>
> >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via RT
<
> >> >> > > met_help at ucar.edu
> >> >> > > >> >
> >> >> > > >> wrote:
> >> >> > > >>
> >> >> > > >> >
> >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted
upon.
> >> >> > > >> > Transaction: Ticket created by
biranchimahala at gmail.com
> >> >> > > >> >        Queue: met_help
> >> >> > > >> >      Subject: Error in data read by MODE
> >> >> > > >> >        Owner: Nobody
> >> >> > > >> >   Requestors: biranchimahala at gmail.com
> >> >> > > >> >       Status: new
> >> >> > > >> >  Ticket <URL:
> >> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >> >> > > >
> >> >> > > >> >
> >> >> > > >> >
> >> >> > > >> > Sir,
> >> >> > > >> > I wanted to compare the model  APCP with
precipitation
> >> >> observation
> >> >> > > data
> >> >> > > >> of
> >> >> > > >> > recent GPM data in .nc4 format. While running using
the
> >> following
> >> >> > > >> command I
> >> >> > > >> > get the error as:
> >> >> > > >> >
> >> >> > > >> > mode
./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> >> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> >> >> > > ./config/MODEConfig_file
> >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
> >> >> > > >> > DEBUG 1: Default Config File:
> >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
> >> >> > > >> > DEBUG 1: Match Config File: ./config/MODEConfig_file
> >> >> > > >> > DEBUG 1: Merge Config File: ./config/MODEConfig_file
> >> >> > > >> > WARNING:
> >> >> > > >> > WARNING: NcCfFile::open() -> could not determine the
valid
> >> time,
> >> >> > using
> >> >> > > >> 0.
> >> >> > > >> > WARNING:
> >> >> > > >> > ERROR  :
> >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please convert
data
> >> type
> >> >> of
> >> >> > > >> > "long_name" to NC_CHAR type.
> >> >> > > >> > ERROR  :
> >> >> > > >> > NetCDF: HDF error
> >> >> > > >> > file: ncFile.cpp  line:33
> >> >> > > >> >
> >> >> > > >> > Kindly Suggest me to sort out this issue.
> >> >> > > >> > The files are attached herewith for your reference.
> >> >> > > >> >
> >> >> > > >> > Thanking You
> >> >> > > >> > With Best Regards
> >> >> > > >> > ________________________
> >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> >> >> > > >> > Asst. Prof., Mathematics
> >> >> > > >> > *Kalinga Institute of Industrial Technology,*
> >> >> > > >> > *Deemed to be University, Bhubaneswar*
> >> >> > > >> > *Mobile- 09861182688*
> >> >> > > >> >
> >> >> > > >> >
> >> >> > > >>
> >> >> > > >>
> >> >> > >
> >> >> > >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >>
> >>
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Thu Oct 18 12:22:52 2018

Sir,
As per your suggestions, I attempted to compile met-8.0 with
following environment variables as;
export MET_PYTHON_CC="/usr/bin/python-config --cflags"
export MET_PYTHON_LD="/usr/bin/python-config --ldflags"

I received the configure error as;
checking whether the C++ compiler works... no
configure: error: in `/wrfgcc_lib/met-8.0':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
I am sending herewith the config.log file for your reference.
Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Thu, Oct 18, 2018 at 9:19 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

> Biranchi,
>
> Thanks for sending your make.log and config.log files.  I see that
you're
> using the "--enable-python" option to compile Python support as we
> discussed.  The problem is in how you have the MET_PYTHON_CC and
> MET_PYTHON_LD environment variables set... taken from config.log:
>
> MET_PYTHON_CC='-I/usr/include/python2.7'
> MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'
>
> Start by finding the version of python you want to use.  Let's say
it's in
> "/usr/bin/python" for example.  You can set these environment
variables by
> calling the corresponding "python-config" tool:
>
> setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
> setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`
>
> Please try setting them that way, re-run MET's configure command,
and try
> compiling again.
>
> Thanks,
> John
>
> On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >
> > I had downloaded the most recent version of the met-8.0.
> > Thanking You
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
> >
> > On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala <
> biranchimahala at gmail.com>
> > wrote:
> >
> > > Sir,
> > > I have attempted to compile met-8.0 with
> > >
> > > ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
> > > --enable-mode_graphics --enable-lidar2nc --enable-python CC=gcc
> > > F77=gfortran CXX=g++
> > > I got the error during gmake. The gmake.log and config.log files
are
> > > attached herewith for your reference.
> > >
> > >
> > > With Best Regards
> > > ________________________
> > > Dr. BIRANCHI  KUMAR  MAHALA
> > > Asst. Prof., Mathematics
> > > *Kalinga Institute of Industrial Technology,*
> > > *Deemed to be University, Bhubaneswar*
> > > *Mobile- 09861182688*
> > >
> > >
> > >
> > > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Biranchi,
> > >>
> > >> I just updated the code.  In the next version of MET, when
Python
> > support
> > >> hasn't been compiled, you'll see the follow error message
instead:
> > >>
> > >> ERROR  :
> > >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
Support for
> > >> Python
> > >> has not been compiled!
> > >> ERROR  : To run Python scripts, recompile with the --enable-
python
> > option.
> > >> ERROR  :
> > >>
> > >> Thanks,
> > >> John
> > >>
> > >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway
<johnhg at ucar.edu>
> > >> wrote:
> > >>
> > >> > Biranchi,
> > >> >
> > >> > OK, I understand what's going on here.  I was able to
reproduce the
> > >> error
> > >> > message you're seeing.  In the version of met-8.0 you're
running,
> > >> support
> > >> > for running Python scripts was *NOT* compiled.  In order to
get this
> > >> > working, you'll need to recompile MET using the "--enable-
python"
> > option
> > >> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment
variables to
> > >> point
> > >> > to python on your system.  Please see the user's guide or run
> > "configure
> > >> > --help" for info about these.
> > >> >
> > >> > There are several options in MET that are not compiled by
default
> > since
> > >> > they require additional external libraries and python support
is one
> > of
> > >> > them.
> > >> >
> > >> > I'll update the code to produce a more useful error message
telling
> > >> users
> > >> > to recompile with the python support.
> > >> >
> > >> > Thanks,
> > >> > John
> > >> >
> > >> >
> > >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
> > >> met_help at ucar.edu>
> > >> > wrote:
> > >> >
> > >> >>
> > >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> > >> >>
> > >> >> Sir,
> > >> >> plot_data_plane --version shows the following.
> > >> >>
> > >> >> MET Version:    V8.0
> > >> >> Repository:    https://svn-met-
dev.cgd.ucar.edu/tags/met/met-8.0
> > >> >> Revision:    5860
> > >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep 2018)
> > >> >>
> > >> >> Still the problem persists for
> > >> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> > >> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > >> precipitation";'
> > >> >>
> > >> >> as
> > >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
> > >> >> ERROR  :
> > >> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
> unsupported
> > >> >> gridded data file type "FileType_Python_Numpy"
> > >> >> ERROR  :
> > >> >>
> > >> >> Is there any way to overcome this?
> > >> >> Thanking You
> > >> >> With Best Regards
> > >> >> ________________________
> > >> >> Dr. BIRANCHI  KUMAR  MAHALA
> > >> >> Asst. Prof., Mathematics
> > >> >> *Kalinga Institute of Industrial Technology,*
> > >> >> *Deemed to be University, Bhubaneswar*
> > >> >> *Mobile- 09861182688*
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT <
> > >> >> met_help at ucar.edu>
> > >> >> wrote:
> > >> >>
> > >> >> > Biranchi,
> > >> >> >
> > >> >> > Great, glad you were able to make progress!  However, I
suspect
> > that
> > >> you
> > >> >> > may be running MET version 7.0 instead of the 8.0 version
that
> was
> > >> >> release
> > >> >> > a couple weeks ago.  Support for calling a python script
is new
> in
> > >> >> met-8.0.
> > >> >> >
> > >> >> > Please try running:
> > >> >> >    plot_data_plane --version
> > >> >> >
> > >> >> > To see the version you're using.  If it's not met-8.0,
please try
> > >> that
> > >> >> > version.
> > >> >> >
> > >> >> > Thanks,
> > >> >> > John
> > >> >> >
> > >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
> > >> >> met_help at ucar.edu>
> > >> >> > wrote:
> > >> >> >
> > >> >> > >
> > >> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >
> > >> >> > >
> > >> >> > > Sir,
> > >> >> > > I could run the commands you suggested in the previous
mail
> after
> > >> >> > > installinf netCDF4-python.
> > >> >> > >
> > >> >> > > In my system I ran the commands as follows:
> > >> >> > > python read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > >> precipitation
> > >> >> > > And I got following without error;
> > >> >> > >
> > >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> > >> >> > > Variable Name : 'precipitation'
> > >> >> > > Data Shape: (480, 1440)
> > >> >> > > Data Type:  dtype('float64')
> > >> >> > > Begin Time = 2018-08-21 01:30:00
> > >> >> > > End Time = 2018-08-22 01:29:59.999000
> > >> >> > > Accum Time = 240000
> > >> >> > > Attributes: {'long_name': 'precipitation', 'init':
> > >> '20180822_012959',
> > >> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat': 0.25,
> 'lon_ll':
> > >> >> > -179.875,
> > >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
> 'delta_lon':
> > >> >> 0.25,
> > >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name':
'precipitation',
> 'lead':
> > >> >> '00',
> > >> >> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
> > >> >> > >
> > >> >> > > The second command
> > >> >> > > plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> > >> >> > > 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > >> >> precipitation";'
> > >> >> > > displays the error as:
> > >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> > >> >> > > ERROR  :
> > >> >> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
> > >> unsupported
> > >> >> > > gridded data file type "FileType_Python_Numpy"
> > >> >> > > ERROR  :
> > >> >> > > This is for your kind perusal and necessary suggestions
may
> > kindly
> > >> be
> > >> >> > given
> > >> >> > > to sort out the issue.
> > >> >> > > Thanking You
> > >> >> > > With Best Regards
> > >> >> > > ________________________
> > >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
> > >> >> > > Asst. Prof., Mathematics
> > >> >> > > *Kalinga Institute of Industrial Technology,*
> > >> >> > > *Deemed to be University, Bhubaneswar*
> > >> >> > > *Mobile- 09861182688*
> > >> >> > >
> > >> >> > >
> > >> >> > >
> > >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> > >> >> > biranchimahala at gmail.com>
> > >> >> > > wrote:
> > >> >> > >
> > >> >> > > > Sir,
> > >> >> > > > As per your suggestions I installed met-8 and issue
the
> command
> > >> >> > > > # python read_3B42RT_Daily.py
> > >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
precipitation
> > >> >> > > > But, I am getting the following  error:
> > >> >> > > > Traceback (most recent call last):
> > >> >> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
> > >> >> > > >     from netCDF4 import Dataset
> > >> >> > > > ImportError: No module named netCDF4
> > >> >> > > >
> > >> >> > > >
> > >> >> > > > Thanking You
> > >> >> > > > With Best Regards
> > >> >> > > > ________________________
> > >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
> > >> >> > > > Asst. Prof., Mathematics
> > >> >> > > > *Kalinga Institute of Industrial Technology,*
> > >> >> > > > *Deemed to be University, Bhubaneswar*
> > >> >> > > > *Mobile- 09861182688*
> > >> >> > > >
> > >> >> > > >
> > >> >> > > >
> > >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway
via RT <
> > >> >> > > > met_help at ucar.edu> wrote:
> > >> >> > > >
> > >> >> > > >> Biranchi,
> > >> >> > > >>
> > >> >> > > >> I see that you're trying to read some GPM data into
MET but
> > are
> > >> >> having
> > >> >> > > >> trouble.  Thank you for sending the sample data file
that
> > you're
> > >> >> > trying
> > >> >> > > to
> > >> >> > > >> read.
> > >> >> > > >>
> > >> >> > > >> This is a NetCDF file but it is not in a format that
MET is
> > set
> > >> up
> > >> >> to
> > >> >> > > >> handle.  We could get it to read the gridded data OK,
but
> the
> > >> >> metadata
> > >> >> > > >> (such as the timing info) is not defined in a way
that
> > existing
> > >> >> > > >> functionality in MET can read.
> > >> >> > > >>
> > >> >> > > >> However there is a way forward here.  We just
released
> > met-8.0 a
> > >> >> > couple
> > >> >> > > >> weeks ago and it includes an important new feature.
MET can
> > now
> > >> >> call
> > >> >> > > >> scripts written in Python to read data and pass that
data to
> > the
> > >> >> MET
> > >> >> > > tools
> > >> >> > > >> in memory.
> > >> >> > > >>
> > >> >> > > >> I was able to write a python script to read data from
the
> file
> > >> you
> > >> >> > sent,
> > >> >> > > >> format the metadata (timing and grid info), and pass
it to
> MET
> > >> in
> > >> >> > > memory.
> > >> >> > > >>
> > >> >> > > >> Here's what I'd suggest you try:
> > >> >> > > >>
> > >> >> > > >> (1) Install met-8.0
> > >> >> > > >>
> > >> >> > > >> (2) Try running the attached python script on the
command
> line
> > >> like
> > >> >> > > this:
> > >> >> > > >>
> > >> >> > > >>    python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> > >> >> > precipitation
> > >> >> > > >>
> > >> >> > > >> (3) If that runs without error, next try running
MET's
> > >> >> plot_data_plane
> > >> >> > > >> tool, like this:
> > >> >> > > >>
> > >> >> > > >>    plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
> \
> > >> >> > > >>       'name="read_3B42RT_Daily.py
> 3B42RT_Daily.20180821.7.nc4
> > >> >> > > >> precipitation";'
> > >> >> > > >>
> > >> >> > > >> If it all works, then that should produce an image
that
> looks
> > >> like
> > >> >> the
> > >> >> > > one
> > >> >> > > >> I've attached.
> > >> >> > > >>
> > >> >> > > >> Lastly, if that all works, then you can configure/run
MODE
> to
> > >> use
> > >> >> this
> > >> >> > > >> python script to read your data as well.
> > >> >> > > >>
> > >> >> > > >> Please let me know how it goes.
> > >> >> > > >>
> > >> >> > > >> Thanks,
> > >> >> > > >> John Halley Gotway
> > >> >> > > >>
> > >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via
RT <
> > >> >> > > met_help at ucar.edu
> > >> >> > > >> >
> > >> >> > > >> wrote:
> > >> >> > > >>
> > >> >> > > >> >
> > >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted
upon.
> > >> >> > > >> > Transaction: Ticket created by
biranchimahala at gmail.com
> > >> >> > > >> >        Queue: met_help
> > >> >> > > >> >      Subject: Error in data read by MODE
> > >> >> > > >> >        Owner: Nobody
> > >> >> > > >> >   Requestors: biranchimahala at gmail.com
> > >> >> > > >> >       Status: new
> > >> >> > > >> >  Ticket <URL:
> > >> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > >> >> > > >
> > >> >> > > >> >
> > >> >> > > >> >
> > >> >> > > >> > Sir,
> > >> >> > > >> > I wanted to compare the model  APCP with
precipitation
> > >> >> observation
> > >> >> > > data
> > >> >> > > >> of
> > >> >> > > >> > recent GPM data in .nc4 format. While running using
the
> > >> following
> > >> >> > > >> command I
> > >> >> > > >> > get the error as:
> > >> >> > > >> >
> > >> >> > > >> > mode
./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > >> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> > >> >> > > ./config/MODEConfig_file
> > >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
> > >> >> > > >> > DEBUG 1: Default Config File:
> > >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
> > >> >> > > >> > DEBUG 1: Match Config File:
./config/MODEConfig_file
> > >> >> > > >> > DEBUG 1: Merge Config File:
./config/MODEConfig_file
> > >> >> > > >> > WARNING:
> > >> >> > > >> > WARNING: NcCfFile::open() -> could not determine
the valid
> > >> time,
> > >> >> > using
> > >> >> > > >> 0.
> > >> >> > > >> > WARNING:
> > >> >> > > >> > ERROR  :
> > >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please
convert data
> > >> type
> > >> >> of
> > >> >> > > >> > "long_name" to NC_CHAR type.
> > >> >> > > >> > ERROR  :
> > >> >> > > >> > NetCDF: HDF error
> > >> >> > > >> > file: ncFile.cpp  line:33
> > >> >> > > >> >
> > >> >> > > >> > Kindly Suggest me to sort out this issue.
> > >> >> > > >> > The files are attached herewith for your reference.
> > >> >> > > >> >
> > >> >> > > >> > Thanking You
> > >> >> > > >> > With Best Regards
> > >> >> > > >> > ________________________
> > >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> > >> >> > > >> > Asst. Prof., Mathematics
> > >> >> > > >> > *Kalinga Institute of Industrial Technology,*
> > >> >> > > >> > *Deemed to be University, Bhubaneswar*
> > >> >> > > >> > *Mobile- 09861182688*
> > >> >> > > >> >
> > >> >> > > >> >
> > >> >> > > >>
> > >> >> > > >>
> > >> >> > >
> > >> >> > >
> > >> >> >
> > >> >> >
> > >> >>
> > >> >>
> > >>
> > >>
> >
> >
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: John Halley Gotway
Time: Thu Oct 18 13:12:10 2018

You are so very close.  Instead of those double-quotes ("), use
backticks
(`) instead:

export MET_PYTHON_CC=`/usr/bin/python-config --cflags`
export MET_PYTHON_LD=`/usr/bin/python-config --ldflags`

In Linux, surrounding a command with backticks tells the shell to
evaluate
what's inside.  Basically, you want to set MET_PYTHON_CC and _LD to
the
*output* of those commands.

Make sense?

John

On Thu, Oct 18, 2018 at 12:23 PM Biranchi Mahala via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>
> Sir,
> As per your suggestions, I attempted to compile met-8.0 with
> following environment variables as;
> export MET_PYTHON_CC="/usr/bin/python-config --cflags"
> export MET_PYTHON_LD="/usr/bin/python-config --ldflags"
>
> I received the configure error as;
> checking whether the C++ compiler works... no
> configure: error: in `/wrfgcc_lib/met-8.0':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
> I am sending herewith the config.log file for your reference.
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Thu, Oct 18, 2018 at 9:19 PM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Biranchi,
> >
> > Thanks for sending your make.log and config.log files.  I see that
you're
> > using the "--enable-python" option to compile Python support as we
> > discussed.  The problem is in how you have the MET_PYTHON_CC and
> > MET_PYTHON_LD environment variables set... taken from config.log:
> >
> > MET_PYTHON_CC='-I/usr/include/python2.7'
> > MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'
> >
> > Start by finding the version of python you want to use.  Let's say
it's
> in
> > "/usr/bin/python" for example.  You can set these environment
variables
> by
> > calling the corresponding "python-config" tool:
> >
> > setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
> > setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`
> >
> > Please try setting them that way, re-run MET's configure command,
and try
> > compiling again.
> >
> > Thanks,
> > John
> >
> > On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT <
> met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> > >
> > > I had downloaded the most recent version of the met-8.0.
> > > Thanking You
> > > With Best Regards
> > > ________________________
> > > Dr. BIRANCHI  KUMAR  MAHALA
> > > Asst. Prof., Mathematics
> > > *Kalinga Institute of Industrial Technology,*
> > > *Deemed to be University, Bhubaneswar*
> > > *Mobile- 09861182688*
> > >
> > >
> > >
> > > On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala <
> > biranchimahala at gmail.com>
> > > wrote:
> > >
> > > > Sir,
> > > > I have attempted to compile met-8.0 with
> > > >
> > > > ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
> > > > --enable-mode_graphics --enable-lidar2nc --enable-python
CC=gcc
> > > > F77=gfortran CXX=g++
> > > > I got the error during gmake. The gmake.log and config.log
files are
> > > > attached herewith for your reference.
> > > >
> > > >
> > > > With Best Regards
> > > > ________________________
> > > > Dr. BIRANCHI  KUMAR  MAHALA
> > > > Asst. Prof., Mathematics
> > > > *Kalinga Institute of Industrial Technology,*
> > > > *Deemed to be University, Bhubaneswar*
> > > > *Mobile- 09861182688*
> > > >
> > > >
> > > >
> > > > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Biranchi,
> > > >>
> > > >> I just updated the code.  In the next version of MET, when
Python
> > > support
> > > >> hasn't been compiled, you'll see the follow error message
instead:
> > > >>
> > > >> ERROR  :
> > > >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
Support for
> > > >> Python
> > > >> has not been compiled!
> > > >> ERROR  : To run Python scripts, recompile with the --enable-
python
> > > option.
> > > >> ERROR  :
> > > >>
> > > >> Thanks,
> > > >> John
> > > >>
> > > >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway
<johnhg at ucar.edu
> >
> > > >> wrote:
> > > >>
> > > >> > Biranchi,
> > > >> >
> > > >> > OK, I understand what's going on here.  I was able to
reproduce
> the
> > > >> error
> > > >> > message you're seeing.  In the version of met-8.0 you're
running,
> > > >> support
> > > >> > for running Python scripts was *NOT* compiled.  In order to
get
> this
> > > >> > working, you'll need to recompile MET using the "--enable-
python"
> > > option
> > > >> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment
variables
> to
> > > >> point
> > > >> > to python on your system.  Please see the user's guide or
run
> > > "configure
> > > >> > --help" for info about these.
> > > >> >
> > > >> > There are several options in MET that are not compiled by
default
> > > since
> > > >> > they require additional external libraries and python
support is
> one
> > > of
> > > >> > them.
> > > >> >
> > > >> > I'll update the code to produce a more useful error message
> telling
> > > >> users
> > > >> > to recompile with the python support.
> > > >> >
> > > >> > Thanks,
> > > >> > John
> > > >> >
> > > >> >
> > > >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
> > > >> met_help at ucar.edu>
> > > >> > wrote:
> > > >> >
> > > >> >>
> > > >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> > > >> >>
> > > >> >> Sir,
> > > >> >> plot_data_plane --version shows the following.
> > > >> >>
> > > >> >> MET Version:    V8.0
> > > >> >> Repository:    https://svn-met-
dev.cgd.ucar.edu/tags/met/met-8.0
> > > >> >> Revision:    5860
> > > >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep
2018)
> > > >> >>
> > > >> >> Still the problem persists for
> > > >> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> > > >> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > > >> precipitation";'
> > > >> >>
> > > >> >> as
> > > >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
> > > >> >> ERROR  :
> > > >> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
> > unsupported
> > > >> >> gridded data file type "FileType_Python_Numpy"
> > > >> >> ERROR  :
> > > >> >>
> > > >> >> Is there any way to overcome this?
> > > >> >> Thanking You
> > > >> >> With Best Regards
> > > >> >> ________________________
> > > >> >> Dr. BIRANCHI  KUMAR  MAHALA
> > > >> >> Asst. Prof., Mathematics
> > > >> >> *Kalinga Institute of Industrial Technology,*
> > > >> >> *Deemed to be University, Bhubaneswar*
> > > >> >> *Mobile- 09861182688*
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via RT
<
> > > >> >> met_help at ucar.edu>
> > > >> >> wrote:
> > > >> >>
> > > >> >> > Biranchi,
> > > >> >> >
> > > >> >> > Great, glad you were able to make progress!  However, I
suspect
> > > that
> > > >> you
> > > >> >> > may be running MET version 7.0 instead of the 8.0
version that
> > was
> > > >> >> release
> > > >> >> > a couple weeks ago.  Support for calling a python script
is new
> > in
> > > >> >> met-8.0.
> > > >> >> >
> > > >> >> > Please try running:
> > > >> >> >    plot_data_plane --version
> > > >> >> >
> > > >> >> > To see the version you're using.  If it's not met-8.0,
please
> try
> > > >> that
> > > >> >> > version.
> > > >> >> >
> > > >> >> > Thanks,
> > > >> >> > John
> > > >> >> >
> > > >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT <
> > > >> >> met_help at ucar.edu>
> > > >> >> > wrote:
> > > >> >> >
> > > >> >> > >
> > > >> >> > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > >
> > > >> >> > >
> > > >> >> > > Sir,
> > > >> >> > > I could run the commands you suggested in the previous
mail
> > after
> > > >> >> > > installinf netCDF4-python.
> > > >> >> > >
> > > >> >> > > In my system I ran the commands as follows:
> > > >> >> > > python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> > > >> precipitation
> > > >> >> > > And I got following without error;
> > > >> >> > >
> > > >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> > > >> >> > > Variable Name : 'precipitation'
> > > >> >> > > Data Shape: (480, 1440)
> > > >> >> > > Data Type:  dtype('float64')
> > > >> >> > > Begin Time = 2018-08-21 01:30:00
> > > >> >> > > End Time = 2018-08-22 01:29:59.999000
> > > >> >> > > Accum Time = 240000
> > > >> >> > > Attributes: {'long_name': 'precipitation', 'init':
> > > >> '20180822_012959',
> > > >> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat':
0.25,
> > 'lon_ll':
> > > >> >> > -179.875,
> > > >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
> > 'delta_lon':
> > > >> >> 0.25,
> > > >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name':
'precipitation',
> > 'lead':
> > > >> >> '00',
> > > >> >> > > 'level': 'Surface', 'units': 'mm', 'accum': '240000'}
> > > >> >> > >
> > > >> >> > > The second command
> > > >> >> > > plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
> > > >> >> > > 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> > > >> >> precipitation";'
> > > >> >> > > displays the error as:
> > > >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> > > >> >> > > ERROR  :
> > > >> >> > > ERROR  : Met2dDataFileFactory::new_met_2d_data_file()
->
> > > >> unsupported
> > > >> >> > > gridded data file type "FileType_Python_Numpy"
> > > >> >> > > ERROR  :
> > > >> >> > > This is for your kind perusal and necessary
suggestions may
> > > kindly
> > > >> be
> > > >> >> > given
> > > >> >> > > to sort out the issue.
> > > >> >> > > Thanking You
> > > >> >> > > With Best Regards
> > > >> >> > > ________________________
> > > >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
> > > >> >> > > Asst. Prof., Mathematics
> > > >> >> > > *Kalinga Institute of Industrial Technology,*
> > > >> >> > > *Deemed to be University, Bhubaneswar*
> > > >> >> > > *Mobile- 09861182688*
> > > >> >> > >
> > > >> >> > >
> > > >> >> > >
> > > >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> > > >> >> > biranchimahala at gmail.com>
> > > >> >> > > wrote:
> > > >> >> > >
> > > >> >> > > > Sir,
> > > >> >> > > > As per your suggestions I installed met-8 and issue
the
> > command
> > > >> >> > > > # python read_3B42RT_Daily.py
> > > >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> precipitation
> > > >> >> > > > But, I am getting the following  error:
> > > >> >> > > > Traceback (most recent call last):
> > > >> >> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
> > > >> >> > > >     from netCDF4 import Dataset
> > > >> >> > > > ImportError: No module named netCDF4
> > > >> >> > > >
> > > >> >> > > >
> > > >> >> > > > Thanking You
> > > >> >> > > > With Best Regards
> > > >> >> > > > ________________________
> > > >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
> > > >> >> > > > Asst. Prof., Mathematics
> > > >> >> > > > *Kalinga Institute of Industrial Technology,*
> > > >> >> > > > *Deemed to be University, Bhubaneswar*
> > > >> >> > > > *Mobile- 09861182688*
> > > >> >> > > >
> > > >> >> > > >
> > > >> >> > > >
> > > >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley Gotway
via RT
> <
> > > >> >> > > > met_help at ucar.edu> wrote:
> > > >> >> > > >
> > > >> >> > > >> Biranchi,
> > > >> >> > > >>
> > > >> >> > > >> I see that you're trying to read some GPM data into
MET
> but
> > > are
> > > >> >> having
> > > >> >> > > >> trouble.  Thank you for sending the sample data
file that
> > > you're
> > > >> >> > trying
> > > >> >> > > to
> > > >> >> > > >> read.
> > > >> >> > > >>
> > > >> >> > > >> This is a NetCDF file but it is not in a format
that MET
> is
> > > set
> > > >> up
> > > >> >> to
> > > >> >> > > >> handle.  We could get it to read the gridded data
OK, but
> > the
> > > >> >> metadata
> > > >> >> > > >> (such as the timing info) is not defined in a way
that
> > > existing
> > > >> >> > > >> functionality in MET can read.
> > > >> >> > > >>
> > > >> >> > > >> However there is a way forward here.  We just
released
> > > met-8.0 a
> > > >> >> > couple
> > > >> >> > > >> weeks ago and it includes an important new feature.
MET
> can
> > > now
> > > >> >> call
> > > >> >> > > >> scripts written in Python to read data and pass
that data
> to
> > > the
> > > >> >> MET
> > > >> >> > > tools
> > > >> >> > > >> in memory.
> > > >> >> > > >>
> > > >> >> > > >> I was able to write a python script to read data
from the
> > file
> > > >> you
> > > >> >> > sent,
> > > >> >> > > >> format the metadata (timing and grid info), and
pass it to
> > MET
> > > >> in
> > > >> >> > > memory.
> > > >> >> > > >>
> > > >> >> > > >> Here's what I'd suggest you try:
> > > >> >> > > >>
> > > >> >> > > >> (1) Install met-8.0
> > > >> >> > > >>
> > > >> >> > > >> (2) Try running the attached python script on the
command
> > line
> > > >> like
> > > >> >> > > this:
> > > >> >> > > >>
> > > >> >> > > >>    python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> > > >> >> > precipitation
> > > >> >> > > >>
> > > >> >> > > >> (3) If that runs without error, next try running
MET's
> > > >> >> plot_data_plane
> > > >> >> > > >> tool, like this:
> > > >> >> > > >>
> > > >> >> > > >>    plot_data_plane PYTHON_NUMPY
> 3B42RT_Daily.20180821.7.ps
> > \
> > > >> >> > > >>       'name="read_3B42RT_Daily.py
> > 3B42RT_Daily.20180821.7.nc4
> > > >> >> > > >> precipitation";'
> > > >> >> > > >>
> > > >> >> > > >> If it all works, then that should produce an image
that
> > looks
> > > >> like
> > > >> >> the
> > > >> >> > > one
> > > >> >> > > >> I've attached.
> > > >> >> > > >>
> > > >> >> > > >> Lastly, if that all works, then you can
configure/run MODE
> > to
> > > >> use
> > > >> >> this
> > > >> >> > > >> python script to read your data as well.
> > > >> >> > > >>
> > > >> >> > > >> Please let me know how it goes.
> > > >> >> > > >>
> > > >> >> > > >> Thanks,
> > > >> >> > > >> John Halley Gotway
> > > >> >> > > >>
> > > >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala via
RT <
> > > >> >> > > met_help at ucar.edu
> > > >> >> > > >> >
> > > >> >> > > >> wrote:
> > > >> >> > > >>
> > > >> >> > > >> >
> > > >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was acted
upon.
> > > >> >> > > >> > Transaction: Ticket created by
biranchimahala at gmail.com
> > > >> >> > > >> >        Queue: met_help
> > > >> >> > > >> >      Subject: Error in data read by MODE
> > > >> >> > > >> >        Owner: Nobody
> > > >> >> > > >> >   Requestors: biranchimahala at gmail.com
> > > >> >> > > >> >       Status: new
> > > >> >> > > >> >  Ticket <URL:
> > > >> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > > >> >> > > >
> > > >> >> > > >> >
> > > >> >> > > >> >
> > > >> >> > > >> > Sir,
> > > >> >> > > >> > I wanted to compare the model  APCP with
precipitation
> > > >> >> observation
> > > >> >> > > data
> > > >> >> > > >> of
> > > >> >> > > >> > recent GPM data in .nc4 format. While running
using the
> > > >> following
> > > >> >> > > >> command I
> > > >> >> > > >> > get the error as:
> > > >> >> > > >> >
> > > >> >> > > >> > mode
> ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > > >> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> > > >> >> > > ./config/MODEConfig_file
> > > >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
> > > >> >> > > >> > DEBUG 1: Default Config File:
> > > >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
> > > >> >> > > >> > DEBUG 1: Match Config File:
./config/MODEConfig_file
> > > >> >> > > >> > DEBUG 1: Merge Config File:
./config/MODEConfig_file
> > > >> >> > > >> > WARNING:
> > > >> >> > > >> > WARNING: NcCfFile::open() -> could not determine
the
> valid
> > > >> time,
> > > >> >> > using
> > > >> >> > > >> 0.
> > > >> >> > > >> > WARNING:
> > > >> >> > > >> > ERROR  :
> > > >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please
convert
> data
> > > >> type
> > > >> >> of
> > > >> >> > > >> > "long_name" to NC_CHAR type.
> > > >> >> > > >> > ERROR  :
> > > >> >> > > >> > NetCDF: HDF error
> > > >> >> > > >> > file: ncFile.cpp  line:33
> > > >> >> > > >> >
> > > >> >> > > >> > Kindly Suggest me to sort out this issue.
> > > >> >> > > >> > The files are attached herewith for your
reference.
> > > >> >> > > >> >
> > > >> >> > > >> > Thanking You
> > > >> >> > > >> > With Best Regards
> > > >> >> > > >> > ________________________
> > > >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> > > >> >> > > >> > Asst. Prof., Mathematics
> > > >> >> > > >> > *Kalinga Institute of Industrial Technology,*
> > > >> >> > > >> > *Deemed to be University, Bhubaneswar*
> > > >> >> > > >> > *Mobile- 09861182688*
> > > >> >> > > >> >
> > > >> >> > > >> >
> > > >> >> > > >>
> > > >> >> > > >>
> > > >> >> > >
> > > >> >> > >
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >> >>
> > > >>
> > > >>
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Thu Oct 18 13:27:43 2018

Sir,
Thanks. It compiled successfully.

With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Fri, Oct 19, 2018 at 12:42 AM John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> You are so very close.  Instead of those double-quotes ("), use
backticks
> (`) instead:
>
> export MET_PYTHON_CC=`/usr/bin/python-config --cflags`
> export MET_PYTHON_LD=`/usr/bin/python-config --ldflags`
>
> In Linux, surrounding a command with backticks tells the shell to
evaluate
> what's inside.  Basically, you want to set MET_PYTHON_CC and _LD to
the
> *output* of those commands.
>
> Make sense?
>
> John
>
> On Thu, Oct 18, 2018 at 12:23 PM Biranchi Mahala via RT
<met_help at ucar.edu
> >
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >
> > Sir,
> > As per your suggestions, I attempted to compile met-8.0 with
> > following environment variables as;
> > export MET_PYTHON_CC="/usr/bin/python-config --cflags"
> > export MET_PYTHON_LD="/usr/bin/python-config --ldflags"
> >
> > I received the configure error as;
> > checking whether the C++ compiler works... no
> > configure: error: in `/wrfgcc_lib/met-8.0':
> > configure: error: C++ compiler cannot create executables
> > See `config.log' for more details
> > I am sending herewith the config.log file for your reference.
> > Thanking You
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
> >
> > On Thu, Oct 18, 2018 at 9:19 PM John Halley Gotway via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Biranchi,
> > >
> > > Thanks for sending your make.log and config.log files.  I see
that
> you're
> > > using the "--enable-python" option to compile Python support as
we
> > > discussed.  The problem is in how you have the MET_PYTHON_CC and
> > > MET_PYTHON_LD environment variables set... taken from
config.log:
> > >
> > > MET_PYTHON_CC='-I/usr/include/python2.7'
> > > MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'
> > >
> > > Start by finding the version of python you want to use.  Let's
say it's
> > in
> > > "/usr/bin/python" for example.  You can set these environment
variables
> > by
> > > calling the corresponding "python-config" tool:
> > >
> > > setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
> > > setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`
> > >
> > > Please try setting them that way, re-run MET's configure
command, and
> try
> > > compiling again.
> > >
> > > Thanks,
> > > John
> > >
> > > On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT <
> > met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>
> > > >
> > > > I had downloaded the most recent version of the met-8.0.
> > > > Thanking You
> > > > With Best Regards
> > > > ________________________
> > > > Dr. BIRANCHI  KUMAR  MAHALA
> > > > Asst. Prof., Mathematics
> > > > *Kalinga Institute of Industrial Technology,*
> > > > *Deemed to be University, Bhubaneswar*
> > > > *Mobile- 09861182688*
> > > >
> > > >
> > > >
> > > > On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala <
> > > biranchimahala at gmail.com>
> > > > wrote:
> > > >
> > > > > Sir,
> > > > > I have attempted to compile met-8.0 with
> > > > >
> > > > > ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
> > > > > --enable-mode_graphics --enable-lidar2nc --enable-python
CC=gcc
> > > > > F77=gfortran CXX=g++
> > > > > I got the error during gmake. The gmake.log and config.log
files
> are
> > > > > attached herewith for your reference.
> > > > >
> > > > >
> > > > > With Best Regards
> > > > > ________________________
> > > > > Dr. BIRANCHI  KUMAR  MAHALA
> > > > > Asst. Prof., Mathematics
> > > > > *Kalinga Institute of Industrial Technology,*
> > > > > *Deemed to be University, Bhubaneswar*
> > > > > *Mobile- 09861182688*
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > >> Biranchi,
> > > > >>
> > > > >> I just updated the code.  In the next version of MET, when
Python
> > > > support
> > > > >> hasn't been compiled, you'll see the follow error message
instead:
> > > > >>
> > > > >> ERROR  :
> > > > >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
Support
> for
> > > > >> Python
> > > > >> has not been compiled!
> > > > >> ERROR  : To run Python scripts, recompile with the
--enable-python
> > > > option.
> > > > >> ERROR  :
> > > > >>
> > > > >> Thanks,
> > > > >> John
> > > > >>
> > > > >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway <
> johnhg at ucar.edu
> > >
> > > > >> wrote:
> > > > >>
> > > > >> > Biranchi,
> > > > >> >
> > > > >> > OK, I understand what's going on here.  I was able to
reproduce
> > the
> > > > >> error
> > > > >> > message you're seeing.  In the version of met-8.0 you're
> running,
> > > > >> support
> > > > >> > for running Python scripts was *NOT* compiled.  In order
to get
> > this
> > > > >> > working, you'll need to recompile MET using the
> "--enable-python"
> > > > option
> > > > >> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment
> variables
> > to
> > > > >> point
> > > > >> > to python on your system.  Please see the user's guide or
run
> > > > "configure
> > > > >> > --help" for info about these.
> > > > >> >
> > > > >> > There are several options in MET that are not compiled by
> default
> > > > since
> > > > >> > they require additional external libraries and python
support is
> > one
> > > > of
> > > > >> > them.
> > > > >> >
> > > > >> > I'll update the code to produce a more useful error
message
> > telling
> > > > >> users
> > > > >> > to recompile with the python support.
> > > > >> >
> > > > >> > Thanks,
> > > > >> > John
> > > > >> >
> > > > >> >
> > > > >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > wrote:
> > > > >> >
> > > > >> >>
> > > > >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >
> > > > >> >>
> > > > >> >> Sir,
> > > > >> >> plot_data_plane --version shows the following.
> > > > >> >>
> > > > >> >> MET Version:    V8.0
> > > > >> >> Repository:
> https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
> > > > >> >> Revision:    5860
> > > > >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep
2018)
> > > > >> >>
> > > > >> >> Still the problem persists for
> > > > >> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
> > > > >> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > > > >> precipitation";'
> > > > >> >>
> > > > >> >> as
> > > > >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
> > > > >> >> ERROR  :
> > > > >> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
> > > unsupported
> > > > >> >> gridded data file type "FileType_Python_Numpy"
> > > > >> >> ERROR  :
> > > > >> >>
> > > > >> >> Is there any way to overcome this?
> > > > >> >> Thanking You
> > > > >> >> With Best Regards
> > > > >> >> ________________________
> > > > >> >> Dr. BIRANCHI  KUMAR  MAHALA
> > > > >> >> Asst. Prof., Mathematics
> > > > >> >> *Kalinga Institute of Industrial Technology,*
> > > > >> >> *Deemed to be University, Bhubaneswar*
> > > > >> >> *Mobile- 09861182688*
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via
RT <
> > > > >> >> met_help at ucar.edu>
> > > > >> >> wrote:
> > > > >> >>
> > > > >> >> > Biranchi,
> > > > >> >> >
> > > > >> >> > Great, glad you were able to make progress!  However,
I
> suspect
> > > > that
> > > > >> you
> > > > >> >> > may be running MET version 7.0 instead of the 8.0
version
> that
> > > was
> > > > >> >> release
> > > > >> >> > a couple weeks ago.  Support for calling a python
script is
> new
> > > in
> > > > >> >> met-8.0.
> > > > >> >> >
> > > > >> >> > Please try running:
> > > > >> >> >    plot_data_plane --version
> > > > >> >> >
> > > > >> >> > To see the version you're using.  If it's not met-8.0,
please
> > try
> > > > >> that
> > > > >> >> > version.
> > > > >> >> >
> > > > >> >> > Thanks,
> > > > >> >> > John
> > > > >> >> >
> > > > >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via RT
<
> > > > >> >> met_help at ucar.edu>
> > > > >> >> > wrote:
> > > > >> >> >
> > > > >> >> > >
> > > > >> >> > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > > >
> > > > >> >> > >
> > > > >> >> > > Sir,
> > > > >> >> > > I could run the commands you suggested in the
previous mail
> > > after
> > > > >> >> > > installinf netCDF4-python.
> > > > >> >> > >
> > > > >> >> > > In my system I ran the commands as follows:
> > > > >> >> > > python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> > > > >> precipitation
> > > > >> >> > > And I got following without error;
> > > > >> >> > >
> > > > >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> > > > >> >> > > Variable Name : 'precipitation'
> > > > >> >> > > Data Shape: (480, 1440)
> > > > >> >> > > Data Type:  dtype('float64')
> > > > >> >> > > Begin Time = 2018-08-21 01:30:00
> > > > >> >> > > End Time = 2018-08-22 01:29:59.999000
> > > > >> >> > > Accum Time = 240000
> > > > >> >> > > Attributes: {'long_name': 'precipitation', 'init':
> > > > >> '20180822_012959',
> > > > >> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat':
0.25,
> > > 'lon_ll':
> > > > >> >> > -179.875,
> > > > >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll': -59.875,
> > > 'delta_lon':
> > > > >> >> 0.25,
> > > > >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name':
'precipitation',
> > > 'lead':
> > > > >> >> '00',
> > > > >> >> > > 'level': 'Surface', 'units': 'mm', 'accum':
'240000'}
> > > > >> >> > >
> > > > >> >> > > The second command
> > > > >> >> > > plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
> > > > >> >> > > 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> > > > >> >> precipitation";'
> > > > >> >> > > displays the error as:
> > > > >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> > > > >> >> > > ERROR  :
> > > > >> >> > > ERROR  :
Met2dDataFileFactory::new_met_2d_data_file() ->
> > > > >> unsupported
> > > > >> >> > > gridded data file type "FileType_Python_Numpy"
> > > > >> >> > > ERROR  :
> > > > >> >> > > This is for your kind perusal and necessary
suggestions may
> > > > kindly
> > > > >> be
> > > > >> >> > given
> > > > >> >> > > to sort out the issue.
> > > > >> >> > > Thanking You
> > > > >> >> > > With Best Regards
> > > > >> >> > > ________________________
> > > > >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
> > > > >> >> > > Asst. Prof., Mathematics
> > > > >> >> > > *Kalinga Institute of Industrial Technology,*
> > > > >> >> > > *Deemed to be University, Bhubaneswar*
> > > > >> >> > > *Mobile- 09861182688*
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
> > > > >> >> > biranchimahala at gmail.com>
> > > > >> >> > > wrote:
> > > > >> >> > >
> > > > >> >> > > > Sir,
> > > > >> >> > > > As per your suggestions I installed met-8 and
issue the
> > > command
> > > > >> >> > > > # python read_3B42RT_Daily.py
> > > > >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> > precipitation
> > > > >> >> > > > But, I am getting the following  error:
> > > > >> >> > > > Traceback (most recent call last):
> > > > >> >> > > >   File "read_3B42RT_Daily.py", line 3, in <module>
> > > > >> >> > > >     from netCDF4 import Dataset
> > > > >> >> > > > ImportError: No module named netCDF4
> > > > >> >> > > >
> > > > >> >> > > >
> > > > >> >> > > > Thanking You
> > > > >> >> > > > With Best Regards
> > > > >> >> > > > ________________________
> > > > >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
> > > > >> >> > > > Asst. Prof., Mathematics
> > > > >> >> > > > *Kalinga Institute of Industrial Technology,*
> > > > >> >> > > > *Deemed to be University, Bhubaneswar*
> > > > >> >> > > > *Mobile- 09861182688*
> > > > >> >> > > >
> > > > >> >> > > >
> > > > >> >> > > >
> > > > >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley
Gotway via
> RT
> > <
> > > > >> >> > > > met_help at ucar.edu> wrote:
> > > > >> >> > > >
> > > > >> >> > > >> Biranchi,
> > > > >> >> > > >>
> > > > >> >> > > >> I see that you're trying to read some GPM data
into MET
> > but
> > > > are
> > > > >> >> having
> > > > >> >> > > >> trouble.  Thank you for sending the sample data
file
> that
> > > > you're
> > > > >> >> > trying
> > > > >> >> > > to
> > > > >> >> > > >> read.
> > > > >> >> > > >>
> > > > >> >> > > >> This is a NetCDF file but it is not in a format
that MET
> > is
> > > > set
> > > > >> up
> > > > >> >> to
> > > > >> >> > > >> handle.  We could get it to read the gridded data
OK,
> but
> > > the
> > > > >> >> metadata
> > > > >> >> > > >> (such as the timing info) is not defined in a way
that
> > > > existing
> > > > >> >> > > >> functionality in MET can read.
> > > > >> >> > > >>
> > > > >> >> > > >> However there is a way forward here.  We just
released
> > > > met-8.0 a
> > > > >> >> > couple
> > > > >> >> > > >> weeks ago and it includes an important new
feature.  MET
> > can
> > > > now
> > > > >> >> call
> > > > >> >> > > >> scripts written in Python to read data and pass
that
> data
> > to
> > > > the
> > > > >> >> MET
> > > > >> >> > > tools
> > > > >> >> > > >> in memory.
> > > > >> >> > > >>
> > > > >> >> > > >> I was able to write a python script to read data
from
> the
> > > file
> > > > >> you
> > > > >> >> > sent,
> > > > >> >> > > >> format the metadata (timing and grid info), and
pass it
> to
> > > MET
> > > > >> in
> > > > >> >> > > memory.
> > > > >> >> > > >>
> > > > >> >> > > >> Here's what I'd suggest you try:
> > > > >> >> > > >>
> > > > >> >> > > >> (1) Install met-8.0
> > > > >> >> > > >>
> > > > >> >> > > >> (2) Try running the attached python script on the
> command
> > > line
> > > > >> like
> > > > >> >> > > this:
> > > > >> >> > > >>
> > > > >> >> > > >>    python read_3B42RT_Daily.py
> 3B42RT_Daily.20180821.7.nc4
> > > > >> >> > precipitation
> > > > >> >> > > >>
> > > > >> >> > > >> (3) If that runs without error, next try running
MET's
> > > > >> >> plot_data_plane
> > > > >> >> > > >> tool, like this:
> > > > >> >> > > >>
> > > > >> >> > > >>    plot_data_plane PYTHON_NUMPY
> > 3B42RT_Daily.20180821.7.ps
> > > \
> > > > >> >> > > >>       'name="read_3B42RT_Daily.py
> > > 3B42RT_Daily.20180821.7.nc4
> > > > >> >> > > >> precipitation";'
> > > > >> >> > > >>
> > > > >> >> > > >> If it all works, then that should produce an
image that
> > > looks
> > > > >> like
> > > > >> >> the
> > > > >> >> > > one
> > > > >> >> > > >> I've attached.
> > > > >> >> > > >>
> > > > >> >> > > >> Lastly, if that all works, then you can
configure/run
> MODE
> > > to
> > > > >> use
> > > > >> >> this
> > > > >> >> > > >> python script to read your data as well.
> > > > >> >> > > >>
> > > > >> >> > > >> Please let me know how it goes.
> > > > >> >> > > >>
> > > > >> >> > > >> Thanks,
> > > > >> >> > > >> John Halley Gotway
> > > > >> >> > > >>
> > > > >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala
via RT <
> > > > >> >> > > met_help at ucar.edu
> > > > >> >> > > >> >
> > > > >> >> > > >> wrote:
> > > > >> >> > > >>
> > > > >> >> > > >> >
> > > > >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was
acted
> upon.
> > > > >> >> > > >> > Transaction: Ticket created by
> biranchimahala at gmail.com
> > > > >> >> > > >> >        Queue: met_help
> > > > >> >> > > >> >      Subject: Error in data read by MODE
> > > > >> >> > > >> >        Owner: Nobody
> > > > >> >> > > >> >   Requestors: biranchimahala at gmail.com
> > > > >> >> > > >> >       Status: new
> > > > >> >> > > >> >  Ticket <URL:
> > > > >> >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> > > > >> >> > > >
> > > > >> >> > > >> >
> > > > >> >> > > >> >
> > > > >> >> > > >> > Sir,
> > > > >> >> > > >> > I wanted to compare the model  APCP with
precipitation
> > > > >> >> observation
> > > > >> >> > > data
> > > > >> >> > > >> of
> > > > >> >> > > >> > recent GPM data in .nc4 format. While running
using
> the
> > > > >> following
> > > > >> >> > > >> command I
> > > > >> >> > > >> > get the error as:
> > > > >> >> > > >> >
> > > > >> >> > > >> > mode
> > ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > > > >> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> > > > >> >> > > ./config/MODEConfig_file
> > > > >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
> > > > >> >> > > >> > DEBUG 1: Default Config File:
> > > > >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
> > > > >> >> > > >> > DEBUG 1: Match Config File:
./config/MODEConfig_file
> > > > >> >> > > >> > DEBUG 1: Merge Config File:
./config/MODEConfig_file
> > > > >> >> > > >> > WARNING:
> > > > >> >> > > >> > WARNING: NcCfFile::open() -> could not
determine the
> > valid
> > > > >> time,
> > > > >> >> > using
> > > > >> >> > > >> 0.
> > > > >> >> > > >> > WARNING:
> > > > >> >> > > >> > ERROR  :
> > > > >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please
convert
> > data
> > > > >> type
> > > > >> >> of
> > > > >> >> > > >> > "long_name" to NC_CHAR type.
> > > > >> >> > > >> > ERROR  :
> > > > >> >> > > >> > NetCDF: HDF error
> > > > >> >> > > >> > file: ncFile.cpp  line:33
> > > > >> >> > > >> >
> > > > >> >> > > >> > Kindly Suggest me to sort out this issue.
> > > > >> >> > > >> > The files are attached herewith for your
reference.
> > > > >> >> > > >> >
> > > > >> >> > > >> > Thanking You
> > > > >> >> > > >> > With Best Regards
> > > > >> >> > > >> > ________________________
> > > > >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> > > > >> >> > > >> > Asst. Prof., Mathematics
> > > > >> >> > > >> > *Kalinga Institute of Industrial Technology,*
> > > > >> >> > > >> > *Deemed to be University, Bhubaneswar*
> > > > >> >> > > >> > *Mobile- 09861182688*
> > > > >> >> > > >> >
> > > > >> >> > > >> >
> > > > >> >> > > >>
> > > > >> >> > > >>
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >> >>
> > > > >>
> > > > >>
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Thu Oct 18 13:53:23 2018

sir,
Now I issue the command ;
 plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
      'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
precipitation";
This creates .ps file as expected alongwith a file
read_3B42RT_Daily.pyc.
But the command
mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
3B42RT_Daily.20180821.7.nc4 ./config/MODEConfig_default -outdir
./output/mode_analysis/ -v 2
shows the following,
DEBUG 1: Default Config File:
/MET_V8/share/met//config/MODEConfig_default
DEBUG 1: Match Config File: ./config/MODEConfig_default
DEBUG 1: Merge Config File: ./config/MODEConfig_default
ERROR  :
ERROR  : Trouble reading observation file
"3B42RT_Daily.20180821.7.nc4"
ERROR  :


Thanking You
With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Fri, Oct 19, 2018 at 12:57 AM Biranchi Mahala
<biranchimahala at gmail.com>
wrote:

> Sir,
> Thanks. It compiled successfully.
>
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Fri, Oct 19, 2018 at 12:42 AM John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> You are so very close.  Instead of those double-quotes ("), use
backticks
>> (`) instead:
>>
>> export MET_PYTHON_CC=`/usr/bin/python-config --cflags`
>> export MET_PYTHON_LD=`/usr/bin/python-config --ldflags`
>>
>> In Linux, surrounding a command with backticks tells the shell to
evaluate
>> what's inside.  Basically, you want to set MET_PYTHON_CC and _LD to
the
>> *output* of those commands.
>>
>> Make sense?
>>
>> John
>>
>> On Thu, Oct 18, 2018 at 12:23 PM Biranchi Mahala via RT <
>> met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>> >
>> > Sir,
>> > As per your suggestions, I attempted to compile met-8.0 with
>> > following environment variables as;
>> > export MET_PYTHON_CC="/usr/bin/python-config --cflags"
>> > export MET_PYTHON_LD="/usr/bin/python-config --ldflags"
>> >
>> > I received the configure error as;
>> > checking whether the C++ compiler works... no
>> > configure: error: in `/wrfgcc_lib/met-8.0':
>> > configure: error: C++ compiler cannot create executables
>> > See `config.log' for more details
>> > I am sending herewith the config.log file for your reference.
>> > Thanking You
>> > With Best Regards
>> > ________________________
>> > Dr. BIRANCHI  KUMAR  MAHALA
>> > Asst. Prof., Mathematics
>> > *Kalinga Institute of Industrial Technology,*
>> > *Deemed to be University, Bhubaneswar*
>> > *Mobile- 09861182688*
>> >
>> >
>> >
>> > On Thu, Oct 18, 2018 at 9:19 PM John Halley Gotway via RT <
>> > met_help at ucar.edu>
>> > wrote:
>> >
>> > > Biranchi,
>> > >
>> > > Thanks for sending your make.log and config.log files.  I see
that
>> you're
>> > > using the "--enable-python" option to compile Python support as
we
>> > > discussed.  The problem is in how you have the MET_PYTHON_CC
and
>> > > MET_PYTHON_LD environment variables set... taken from
config.log:
>> > >
>> > > MET_PYTHON_CC='-I/usr/include/python2.7'
>> > > MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'
>> > >
>> > > Start by finding the version of python you want to use.  Let's
say
>> it's
>> > in
>> > > "/usr/bin/python" for example.  You can set these environment
>> variables
>> > by
>> > > calling the corresponding "python-config" tool:
>> > >
>> > > setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
>> > > setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`
>> > >
>> > > Please try setting them that way, re-run MET's configure
command, and
>> try
>> > > compiling again.
>> > >
>> > > Thanks,
>> > > John
>> > >
>> > > On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT <
>> > met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>
>> > > >
>> > > > I had downloaded the most recent version of the met-8.0.
>> > > > Thanking You
>> > > > With Best Regards
>> > > > ________________________
>> > > > Dr. BIRANCHI  KUMAR  MAHALA
>> > > > Asst. Prof., Mathematics
>> > > > *Kalinga Institute of Industrial Technology,*
>> > > > *Deemed to be University, Bhubaneswar*
>> > > > *Mobile- 09861182688*
>> > > >
>> > > >
>> > > >
>> > > > On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala <
>> > > biranchimahala at gmail.com>
>> > > > wrote:
>> > > >
>> > > > > Sir,
>> > > > > I have attempted to compile met-8.0 with
>> > > > >
>> > > > > ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
>> > > > > --enable-mode_graphics --enable-lidar2nc --enable-python
CC=gcc
>> > > > > F77=gfortran CXX=g++
>> > > > > I got the error during gmake. The gmake.log and config.log
files
>> are
>> > > > > attached herewith for your reference.
>> > > > >
>> > > > >
>> > > > > With Best Regards
>> > > > > ________________________
>> > > > > Dr. BIRANCHI  KUMAR  MAHALA
>> > > > > Asst. Prof., Mathematics
>> > > > > *Kalinga Institute of Industrial Technology,*
>> > > > > *Deemed to be University, Bhubaneswar*
>> > > > > *Mobile- 09861182688*
>> > > > >
>> > > > >
>> > > > >
>> > > > > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT <
>> > > > > met_help at ucar.edu> wrote:
>> > > > >
>> > > > >> Biranchi,
>> > > > >>
>> > > > >> I just updated the code.  In the next version of MET, when
Python
>> > > > support
>> > > > >> hasn't been compiled, you'll see the follow error message
>> instead:
>> > > > >>
>> > > > >> ERROR  :
>> > > > >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
Support
>> for
>> > > > >> Python
>> > > > >> has not been compiled!
>> > > > >> ERROR  : To run Python scripts, recompile with the
>> --enable-python
>> > > > option.
>> > > > >> ERROR  :
>> > > > >>
>> > > > >> Thanks,
>> > > > >> John
>> > > > >>
>> > > > >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway <
>> johnhg at ucar.edu
>> > >
>> > > > >> wrote:
>> > > > >>
>> > > > >> > Biranchi,
>> > > > >> >
>> > > > >> > OK, I understand what's going on here.  I was able to
reproduce
>> > the
>> > > > >> error
>> > > > >> > message you're seeing.  In the version of met-8.0 you're
>> running,
>> > > > >> support
>> > > > >> > for running Python scripts was *NOT* compiled.  In order
to get
>> > this
>> > > > >> > working, you'll need to recompile MET using the
>> "--enable-python"
>> > > > option
>> > > > >> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment
>> variables
>> > to
>> > > > >> point
>> > > > >> > to python on your system.  Please see the user's guide
or run
>> > > > "configure
>> > > > >> > --help" for info about these.
>> > > > >> >
>> > > > >> > There are several options in MET that are not compiled
by
>> default
>> > > > since
>> > > > >> > they require additional external libraries and python
support
>> is
>> > one
>> > > > of
>> > > > >> > them.
>> > > > >> >
>> > > > >> > I'll update the code to produce a more useful error
message
>> > telling
>> > > > >> users
>> > > > >> > to recompile with the python support.
>> > > > >> >
>> > > > >> > Thanks,
>> > > > >> > John
>> > > > >> >
>> > > > >> >
>> > > > >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT <
>> > > > >> met_help at ucar.edu>
>> > > > >> > wrote:
>> > > > >> >
>> > > > >> >>
>> > > > >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>> >
>> > > > >> >>
>> > > > >> >> Sir,
>> > > > >> >> plot_data_plane --version shows the following.
>> > > > >> >>
>> > > > >> >> MET Version:    V8.0
>> > > > >> >> Repository:
>> https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
>> > > > >> >> Revision:    5860
>> > > > >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep
2018)
>> > > > >> >>
>> > > > >> >> Still the problem persists for
>> > > > >> >> plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps
>> > > > >> >> 'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
>> > > > >> precipitation";'
>> > > > >> >>
>> > > > >> >> as
>> > > > >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
>> > > > >> >> ERROR  :
>> > > > >> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file()
->
>> > > unsupported
>> > > > >> >> gridded data file type "FileType_Python_Numpy"
>> > > > >> >> ERROR  :
>> > > > >> >>
>> > > > >> >> Is there any way to overcome this?
>> > > > >> >> Thanking You
>> > > > >> >> With Best Regards
>> > > > >> >> ________________________
>> > > > >> >> Dr. BIRANCHI  KUMAR  MAHALA
>> > > > >> >> Asst. Prof., Mathematics
>> > > > >> >> *Kalinga Institute of Industrial Technology,*
>> > > > >> >> *Deemed to be University, Bhubaneswar*
>> > > > >> >> *Mobile- 09861182688*
>> > > > >> >>
>> > > > >> >>
>> > > > >> >>
>> > > > >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via
RT <
>> > > > >> >> met_help at ucar.edu>
>> > > > >> >> wrote:
>> > > > >> >>
>> > > > >> >> > Biranchi,
>> > > > >> >> >
>> > > > >> >> > Great, glad you were able to make progress!  However,
I
>> suspect
>> > > > that
>> > > > >> you
>> > > > >> >> > may be running MET version 7.0 instead of the 8.0
version
>> that
>> > > was
>> > > > >> >> release
>> > > > >> >> > a couple weeks ago.  Support for calling a python
script is
>> new
>> > > in
>> > > > >> >> met-8.0.
>> > > > >> >> >
>> > > > >> >> > Please try running:
>> > > > >> >> >    plot_data_plane --version
>> > > > >> >> >
>> > > > >> >> > To see the version you're using.  If it's not met-
8.0,
>> please
>> > try
>> > > > >> that
>> > > > >> >> > version.
>> > > > >> >> >
>> > > > >> >> > Thanks,
>> > > > >> >> > John
>> > > > >> >> >
>> > > > >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via
RT <
>> > > > >> >> met_help at ucar.edu>
>> > > > >> >> > wrote:
>> > > > >> >> >
>> > > > >> >> > >
>> > > > >> >> > > <URL:
>> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>> > > >
>> > > > >> >> > >
>> > > > >> >> > > Sir,
>> > > > >> >> > > I could run the commands you suggested in the
previous
>> mail
>> > > after
>> > > > >> >> > > installinf netCDF4-python.
>> > > > >> >> > >
>> > > > >> >> > > In my system I ran the commands as follows:
>> > > > >> >> > > python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>> > > > >> precipitation
>> > > > >> >> > > And I got following without error;
>> > > > >> >> > >
>> > > > >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
>> > > > >> >> > > Variable Name : 'precipitation'
>> > > > >> >> > > Data Shape: (480, 1440)
>> > > > >> >> > > Data Type:  dtype('float64')
>> > > > >> >> > > Begin Time = 2018-08-21 01:30:00
>> > > > >> >> > > End Time = 2018-08-22 01:29:59.999000
>> > > > >> >> > > Accum Time = 240000
>> > > > >> >> > > Attributes: {'long_name': 'precipitation', 'init':
>> > > > >> '20180822_012959',
>> > > > >> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat':
0.25,
>> > > 'lon_ll':
>> > > > >> >> > -179.875,
>> > > > >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll':
-59.875,
>> > > 'delta_lon':
>> > > > >> >> 0.25,
>> > > > >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name':
'precipitation',
>> > > 'lead':
>> > > > >> >> '00',
>> > > > >> >> > > 'level': 'Surface', 'units': 'mm', 'accum':
'240000'}
>> > > > >> >> > >
>> > > > >> >> > > The second command
>> > > > >> >> > > plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
>> > > > >> >> > > 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>> > > > >> >> precipitation";'
>> > > > >> >> > > displays the error as:
>> > > > >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
>> > > > >> >> > > ERROR  :
>> > > > >> >> > > ERROR  :
Met2dDataFileFactory::new_met_2d_data_file() ->
>> > > > >> unsupported
>> > > > >> >> > > gridded data file type "FileType_Python_Numpy"
>> > > > >> >> > > ERROR  :
>> > > > >> >> > > This is for your kind perusal and necessary
suggestions
>> may
>> > > > kindly
>> > > > >> be
>> > > > >> >> > given
>> > > > >> >> > > to sort out the issue.
>> > > > >> >> > > Thanking You
>> > > > >> >> > > With Best Regards
>> > > > >> >> > > ________________________
>> > > > >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
>> > > > >> >> > > Asst. Prof., Mathematics
>> > > > >> >> > > *Kalinga Institute of Industrial Technology,*
>> > > > >> >> > > *Deemed to be University, Bhubaneswar*
>> > > > >> >> > > *Mobile- 09861182688*
>> > > > >> >> > >
>> > > > >> >> > >
>> > > > >> >> > >
>> > > > >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
>> > > > >> >> > biranchimahala at gmail.com>
>> > > > >> >> > > wrote:
>> > > > >> >> > >
>> > > > >> >> > > > Sir,
>> > > > >> >> > > > As per your suggestions I installed met-8 and
issue the
>> > > command
>> > > > >> >> > > > # python read_3B42RT_Daily.py
>> > > > >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
>> > precipitation
>> > > > >> >> > > > But, I am getting the following  error:
>> > > > >> >> > > > Traceback (most recent call last):
>> > > > >> >> > > >   File "read_3B42RT_Daily.py", line 3, in
<module>
>> > > > >> >> > > >     from netCDF4 import Dataset
>> > > > >> >> > > > ImportError: No module named netCDF4
>> > > > >> >> > > >
>> > > > >> >> > > >
>> > > > >> >> > > > Thanking You
>> > > > >> >> > > > With Best Regards
>> > > > >> >> > > > ________________________
>> > > > >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
>> > > > >> >> > > > Asst. Prof., Mathematics
>> > > > >> >> > > > *Kalinga Institute of Industrial Technology,*
>> > > > >> >> > > > *Deemed to be University, Bhubaneswar*
>> > > > >> >> > > > *Mobile- 09861182688*
>> > > > >> >> > > >
>> > > > >> >> > > >
>> > > > >> >> > > >
>> > > > >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley
Gotway via
>> RT
>> > <
>> > > > >> >> > > > met_help at ucar.edu> wrote:
>> > > > >> >> > > >
>> > > > >> >> > > >> Biranchi,
>> > > > >> >> > > >>
>> > > > >> >> > > >> I see that you're trying to read some GPM data
into MET
>> > but
>> > > > are
>> > > > >> >> having
>> > > > >> >> > > >> trouble.  Thank you for sending the sample data
file
>> that
>> > > > you're
>> > > > >> >> > trying
>> > > > >> >> > > to
>> > > > >> >> > > >> read.
>> > > > >> >> > > >>
>> > > > >> >> > > >> This is a NetCDF file but it is not in a format
that
>> MET
>> > is
>> > > > set
>> > > > >> up
>> > > > >> >> to
>> > > > >> >> > > >> handle.  We could get it to read the gridded
data OK,
>> but
>> > > the
>> > > > >> >> metadata
>> > > > >> >> > > >> (such as the timing info) is not defined in a
way that
>> > > > existing
>> > > > >> >> > > >> functionality in MET can read.
>> > > > >> >> > > >>
>> > > > >> >> > > >> However there is a way forward here.  We just
released
>> > > > met-8.0 a
>> > > > >> >> > couple
>> > > > >> >> > > >> weeks ago and it includes an important new
feature.
>> MET
>> > can
>> > > > now
>> > > > >> >> call
>> > > > >> >> > > >> scripts written in Python to read data and pass
that
>> data
>> > to
>> > > > the
>> > > > >> >> MET
>> > > > >> >> > > tools
>> > > > >> >> > > >> in memory.
>> > > > >> >> > > >>
>> > > > >> >> > > >> I was able to write a python script to read data
from
>> the
>> > > file
>> > > > >> you
>> > > > >> >> > sent,
>> > > > >> >> > > >> format the metadata (timing and grid info), and
pass
>> it to
>> > > MET
>> > > > >> in
>> > > > >> >> > > memory.
>> > > > >> >> > > >>
>> > > > >> >> > > >> Here's what I'd suggest you try:
>> > > > >> >> > > >>
>> > > > >> >> > > >> (1) Install met-8.0
>> > > > >> >> > > >>
>> > > > >> >> > > >> (2) Try running the attached python script on
the
>> command
>> > > line
>> > > > >> like
>> > > > >> >> > > this:
>> > > > >> >> > > >>
>> > > > >> >> > > >>    python read_3B42RT_Daily.py
>> 3B42RT_Daily.20180821.7.nc4
>> > > > >> >> > precipitation
>> > > > >> >> > > >>
>> > > > >> >> > > >> (3) If that runs without error, next try running
MET's
>> > > > >> >> plot_data_plane
>> > > > >> >> > > >> tool, like this:
>> > > > >> >> > > >>
>> > > > >> >> > > >>    plot_data_plane PYTHON_NUMPY
>> > 3B42RT_Daily.20180821.7.ps
>> > > \
>> > > > >> >> > > >>       'name="read_3B42RT_Daily.py
>> > > 3B42RT_Daily.20180821.7.nc4
>> > > > >> >> > > >> precipitation";'
>> > > > >> >> > > >>
>> > > > >> >> > > >> If it all works, then that should produce an
image that
>> > > looks
>> > > > >> like
>> > > > >> >> the
>> > > > >> >> > > one
>> > > > >> >> > > >> I've attached.
>> > > > >> >> > > >>
>> > > > >> >> > > >> Lastly, if that all works, then you can
configure/run
>> MODE
>> > > to
>> > > > >> use
>> > > > >> >> this
>> > > > >> >> > > >> python script to read your data as well.
>> > > > >> >> > > >>
>> > > > >> >> > > >> Please let me know how it goes.
>> > > > >> >> > > >>
>> > > > >> >> > > >> Thanks,
>> > > > >> >> > > >> John Halley Gotway
>> > > > >> >> > > >>
>> > > > >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala
via RT
>> <
>> > > > >> >> > > met_help at ucar.edu
>> > > > >> >> > > >> >
>> > > > >> >> > > >> wrote:
>> > > > >> >> > > >>
>> > > > >> >> > > >> >
>> > > > >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was
acted
>> upon.
>> > > > >> >> > > >> > Transaction: Ticket created by
>> biranchimahala at gmail.com
>> > > > >> >> > > >> >        Queue: met_help
>> > > > >> >> > > >> >      Subject: Error in data read by MODE
>> > > > >> >> > > >> >        Owner: Nobody
>> > > > >> >> > > >> >   Requestors: biranchimahala at gmail.com
>> > > > >> >> > > >> >       Status: new
>> > > > >> >> > > >> >  Ticket <URL:
>> > > > >> >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>> > > > >> >> > > >
>> > > > >> >> > > >> >
>> > > > >> >> > > >> >
>> > > > >> >> > > >> > Sir,
>> > > > >> >> > > >> > I wanted to compare the model  APCP with
>> precipitation
>> > > > >> >> observation
>> > > > >> >> > > data
>> > > > >> >> > > >> of
>> > > > >> >> > > >> > recent GPM data in .nc4 format. While running
using
>> the
>> > > > >> following
>> > > > >> >> > > >> command I
>> > > > >> >> > > >> > get the error as:
>> > > > >> >> > > >> >
>> > > > >> >> > > >> > mode
>> > ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
>> > > > >> >> > > >> > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
>> > > > >> >> > > ./config/MODEConfig_file
>> > > > >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
>> > > > >> >> > > >> > DEBUG 1: Default Config File:
>> > > > >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
>> > > > >> >> > > >> > DEBUG 1: Match Config File:
./config/MODEConfig_file
>> > > > >> >> > > >> > DEBUG 1: Merge Config File:
./config/MODEConfig_file
>> > > > >> >> > > >> > WARNING:
>> > > > >> >> > > >> > WARNING: NcCfFile::open() -> could not
determine the
>> > valid
>> > > > >> time,
>> > > > >> >> > using
>> > > > >> >> > > >> 0.
>> > > > >> >> > > >> > WARNING:
>> > > > >> >> > > >> > ERROR  :
>> > > > >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please
convert
>> > data
>> > > > >> type
>> > > > >> >> of
>> > > > >> >> > > >> > "long_name" to NC_CHAR type.
>> > > > >> >> > > >> > ERROR  :
>> > > > >> >> > > >> > NetCDF: HDF error
>> > > > >> >> > > >> > file: ncFile.cpp  line:33
>> > > > >> >> > > >> >
>> > > > >> >> > > >> > Kindly Suggest me to sort out this issue.
>> > > > >> >> > > >> > The files are attached herewith for your
reference.
>> > > > >> >> > > >> >
>> > > > >> >> > > >> > Thanking You
>> > > > >> >> > > >> > With Best Regards
>> > > > >> >> > > >> > ________________________
>> > > > >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
>> > > > >> >> > > >> > Asst. Prof., Mathematics
>> > > > >> >> > > >> > *Kalinga Institute of Industrial Technology,*
>> > > > >> >> > > >> > *Deemed to be University, Bhubaneswar*
>> > > > >> >> > > >> > *Mobile- 09861182688*
>> > > > >> >> > > >> >
>> > > > >> >> > > >> >
>> > > > >> >> > > >>
>> > > > >> >> > > >>
>> > > > >> >> > >
>> > > > >> >> > >
>> > > > >> >> >
>> > > > >> >> >
>> > > > >> >>
>> > > > >> >>
>> > > > >>
>> > > > >>
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>

------------------------------------------------
Subject: Error in data read by MODE
From: Biranchi Mahala
Time: Thu Oct 18 14:25:10 2018

Sir,
It worked after editing MODEConfig_file with ;

obs = {
   field={ name="/home/MET_working_dir/read_3B42RT_Daily.py
/home/MET_working_dir/3B42RT_Daily.20180821.7.nc4 precipitation";};
}

and running the command;
mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc PYTHON_NUMPY
./config/MODEConfig_default -outdir ./output/mode_analysis/ -v  2

This is for your kind information.
Thanks.

With Best Regards
________________________
Dr. BIRANCHI  KUMAR  MAHALA
Asst. Prof., Mathematics
*Kalinga Institute of Industrial Technology,*
*Deemed to be University, Bhubaneswar*
*Mobile- 09861182688*



On Fri, Oct 19, 2018 at 1:23 AM Biranchi Mahala
<biranchimahala at gmail.com>
wrote:

> sir,
> Now I issue the command ;
>  plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
>       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> precipitation";
> This creates .ps file as expected alongwith a file
read_3B42RT_Daily.pyc.
> But the command
> mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> 3B42RT_Daily.20180821.7.nc4 ./config/MODEConfig_default -outdir
> ./output/mode_analysis/ -v 2
> shows the following,
> DEBUG 1: Default Config File:
/MET_V8/share/met//config/MODEConfig_default
> DEBUG 1: Match Config File: ./config/MODEConfig_default
> DEBUG 1: Merge Config File: ./config/MODEConfig_default
> ERROR  :
> ERROR  : Trouble reading observation file
"3B42RT_Daily.20180821.7.nc4"
> ERROR  :
>
>
> Thanking You
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Fri, Oct 19, 2018 at 12:57 AM Biranchi Mahala
<biranchimahala at gmail.com>
> wrote:
>
>> Sir,
>> Thanks. It compiled successfully.
>>
>> With Best Regards
>> ________________________
>> Dr. BIRANCHI  KUMAR  MAHALA
>> Asst. Prof., Mathematics
>> *Kalinga Institute of Industrial Technology,*
>> *Deemed to be University, Bhubaneswar*
>> *Mobile- 09861182688*
>>
>>
>>
>> On Fri, Oct 19, 2018 at 12:42 AM John Halley Gotway via RT <
>> met_help at ucar.edu> wrote:
>>
>>> You are so very close.  Instead of those double-quotes ("), use
backticks
>>> (`) instead:
>>>
>>> export MET_PYTHON_CC=`/usr/bin/python-config --cflags`
>>> export MET_PYTHON_LD=`/usr/bin/python-config --ldflags`
>>>
>>> In Linux, surrounding a command with backticks tells the shell to
>>> evaluate
>>> what's inside.  Basically, you want to set MET_PYTHON_CC and _LD
to the
>>> *output* of those commands.
>>>
>>> Make sense?
>>>
>>> John
>>>
>>> On Thu, Oct 18, 2018 at 12:23 PM Biranchi Mahala via RT <
>>> met_help at ucar.edu>
>>> wrote:
>>>
>>> >
>>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>>> >
>>> > Sir,
>>> > As per your suggestions, I attempted to compile met-8.0 with
>>> > following environment variables as;
>>> > export MET_PYTHON_CC="/usr/bin/python-config --cflags"
>>> > export MET_PYTHON_LD="/usr/bin/python-config --ldflags"
>>> >
>>> > I received the configure error as;
>>> > checking whether the C++ compiler works... no
>>> > configure: error: in `/wrfgcc_lib/met-8.0':
>>> > configure: error: C++ compiler cannot create executables
>>> > See `config.log' for more details
>>> > I am sending herewith the config.log file for your reference.
>>> > Thanking You
>>> > With Best Regards
>>> > ________________________
>>> > Dr. BIRANCHI  KUMAR  MAHALA
>>> > Asst. Prof., Mathematics
>>> > *Kalinga Institute of Industrial Technology,*
>>> > *Deemed to be University, Bhubaneswar*
>>> > *Mobile- 09861182688*
>>> >
>>> >
>>> >
>>> > On Thu, Oct 18, 2018 at 9:19 PM John Halley Gotway via RT <
>>> > met_help at ucar.edu>
>>> > wrote:
>>> >
>>> > > Biranchi,
>>> > >
>>> > > Thanks for sending your make.log and config.log files.  I see
that
>>> you're
>>> > > using the "--enable-python" option to compile Python support
as we
>>> > > discussed.  The problem is in how you have the MET_PYTHON_CC
and
>>> > > MET_PYTHON_LD environment variables set... taken from
config.log:
>>> > >
>>> > > MET_PYTHON_CC='-I/usr/include/python2.7'
>>> > > MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'
>>> > >
>>> > > Start by finding the version of python you want to use.  Let's
say
>>> it's
>>> > in
>>> > > "/usr/bin/python" for example.  You can set these environment
>>> variables
>>> > by
>>> > > calling the corresponding "python-config" tool:
>>> > >
>>> > > setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
>>> > > setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`
>>> > >
>>> > > Please try setting them that way, re-run MET's configure
command,
>>> and try
>>> > > compiling again.
>>> > >
>>> > > Thanks,
>>> > > John
>>> > >
>>> > > On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT <
>>> > met_help at ucar.edu>
>>> > > wrote:
>>> > >
>>> > > >
>>> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>>> > > >
>>> > > > I had downloaded the most recent version of the met-8.0.
>>> > > > Thanking You
>>> > > > With Best Regards
>>> > > > ________________________
>>> > > > Dr. BIRANCHI  KUMAR  MAHALA
>>> > > > Asst. Prof., Mathematics
>>> > > > *Kalinga Institute of Industrial Technology,*
>>> > > > *Deemed to be University, Bhubaneswar*
>>> > > > *Mobile- 09861182688*
>>> > > >
>>> > > >
>>> > > >
>>> > > > On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala <
>>> > > biranchimahala at gmail.com>
>>> > > > wrote:
>>> > > >
>>> > > > > Sir,
>>> > > > > I have attempted to compile met-8.0 with
>>> > > > >
>>> > > > > ./configure --prefix=/MET_V8 --enable-grib2 --enable-modis
>>> > > > > --enable-mode_graphics --enable-lidar2nc --enable-python
CC=gcc
>>> > > > > F77=gfortran CXX=g++
>>> > > > > I got the error during gmake. The gmake.log and config.log
files
>>> are
>>> > > > > attached herewith for your reference.
>>> > > > >
>>> > > > >
>>> > > > > With Best Regards
>>> > > > > ________________________
>>> > > > > Dr. BIRANCHI  KUMAR  MAHALA
>>> > > > > Asst. Prof., Mathematics
>>> > > > > *Kalinga Institute of Industrial Technology,*
>>> > > > > *Deemed to be University, Bhubaneswar*
>>> > > > > *Mobile- 09861182688*
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via RT
<
>>> > > > > met_help at ucar.edu> wrote:
>>> > > > >
>>> > > > >> Biranchi,
>>> > > > >>
>>> > > > >> I just updated the code.  In the next version of MET,
when
>>> Python
>>> > > > support
>>> > > > >> hasn't been compiled, you'll see the follow error message
>>> instead:
>>> > > > >>
>>> > > > >> ERROR  :
>>> > > > >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file() ->
>>> Support for
>>> > > > >> Python
>>> > > > >> has not been compiled!
>>> > > > >> ERROR  : To run Python scripts, recompile with the
>>> --enable-python
>>> > > > option.
>>> > > > >> ERROR  :
>>> > > > >>
>>> > > > >> Thanks,
>>> > > > >> John
>>> > > > >>
>>> > > > >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway <
>>> johnhg at ucar.edu
>>> > >
>>> > > > >> wrote:
>>> > > > >>
>>> > > > >> > Biranchi,
>>> > > > >> >
>>> > > > >> > OK, I understand what's going on here.  I was able to
>>> reproduce
>>> > the
>>> > > > >> error
>>> > > > >> > message you're seeing.  In the version of met-8.0
you're
>>> running,
>>> > > > >> support
>>> > > > >> > for running Python scripts was *NOT* compiled.  In
order to
>>> get
>>> > this
>>> > > > >> > working, you'll need to recompile MET using the
>>> "--enable-python"
>>> > > > option
>>> > > > >> > and set the MET_PYTHON_CC and MET_PYTHON_LD environment
>>> variables
>>> > to
>>> > > > >> point
>>> > > > >> > to python on your system.  Please see the user's guide
or run
>>> > > > "configure
>>> > > > >> > --help" for info about these.
>>> > > > >> >
>>> > > > >> > There are several options in MET that are not compiled
by
>>> default
>>> > > > since
>>> > > > >> > they require additional external libraries and python
support
>>> is
>>> > one
>>> > > > of
>>> > > > >> > them.
>>> > > > >> >
>>> > > > >> > I'll update the code to produce a more useful error
message
>>> > telling
>>> > > > >> users
>>> > > > >> > to recompile with the python support.
>>> > > > >> >
>>> > > > >> > Thanks,
>>> > > > >> > John
>>> > > > >> >
>>> > > > >> >
>>> > > > >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via RT
<
>>> > > > >> met_help at ucar.edu>
>>> > > > >> > wrote:
>>> > > > >> >
>>> > > > >> >>
>>> > > > >> >> <URL:
>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>>> > > > >> >>
>>> > > > >> >> Sir,
>>> > > > >> >> plot_data_plane --version shows the following.
>>> > > > >> >>
>>> > > > >> >> MET Version:    V8.0
>>> > > > >> >> Repository:
>>> https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
>>> > > > >> >> Revision:    5860
>>> > > > >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27 Sep
2018)
>>> > > > >> >>
>>> > > > >> >> Still the problem persists for
>>> > > > >> >> plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
>>> > > > >> >> 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>>> > > > >> precipitation";'
>>> > > > >> >>
>>> > > > >> >> as
>>> > > > >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
>>> > > > >> >> ERROR  :
>>> > > > >> >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file()
->
>>> > > unsupported
>>> > > > >> >> gridded data file type "FileType_Python_Numpy"
>>> > > > >> >> ERROR  :
>>> > > > >> >>
>>> > > > >> >> Is there any way to overcome this?
>>> > > > >> >> Thanking You
>>> > > > >> >> With Best Regards
>>> > > > >> >> ________________________
>>> > > > >> >> Dr. BIRANCHI  KUMAR  MAHALA
>>> > > > >> >> Asst. Prof., Mathematics
>>> > > > >> >> *Kalinga Institute of Industrial Technology,*
>>> > > > >> >> *Deemed to be University, Bhubaneswar*
>>> > > > >> >> *Mobile- 09861182688*
>>> > > > >> >>
>>> > > > >> >>
>>> > > > >> >>
>>> > > > >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway via
RT <
>>> > > > >> >> met_help at ucar.edu>
>>> > > > >> >> wrote:
>>> > > > >> >>
>>> > > > >> >> > Biranchi,
>>> > > > >> >> >
>>> > > > >> >> > Great, glad you were able to make progress!
However, I
>>> suspect
>>> > > > that
>>> > > > >> you
>>> > > > >> >> > may be running MET version 7.0 instead of the 8.0
version
>>> that
>>> > > was
>>> > > > >> >> release
>>> > > > >> >> > a couple weeks ago.  Support for calling a python
script
>>> is new
>>> > > in
>>> > > > >> >> met-8.0.
>>> > > > >> >> >
>>> > > > >> >> > Please try running:
>>> > > > >> >> >    plot_data_plane --version
>>> > > > >> >> >
>>> > > > >> >> > To see the version you're using.  If it's not met-
8.0,
>>> please
>>> > try
>>> > > > >> that
>>> > > > >> >> > version.
>>> > > > >> >> >
>>> > > > >> >> > Thanks,
>>> > > > >> >> > John
>>> > > > >> >> >
>>> > > > >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala via
RT <
>>> > > > >> >> met_help at ucar.edu>
>>> > > > >> >> > wrote:
>>> > > > >> >> >
>>> > > > >> >> > >
>>> > > > >> >> > > <URL:
>>> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>>> > > >
>>> > > > >> >> > >
>>> > > > >> >> > > Sir,
>>> > > > >> >> > > I could run the commands you suggested in the
previous
>>> mail
>>> > > after
>>> > > > >> >> > > installinf netCDF4-python.
>>> > > > >> >> > >
>>> > > > >> >> > > In my system I ran the commands as follows:
>>> > > > >> >> > > python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>>> > > > >> precipitation
>>> > > > >> >> > > And I got following without error;
>>> > > > >> >> > >
>>> > > > >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
>>> > > > >> >> > > Variable Name : 'precipitation'
>>> > > > >> >> > > Data Shape: (480, 1440)
>>> > > > >> >> > > Data Type:  dtype('float64')
>>> > > > >> >> > > Begin Time = 2018-08-21 01:30:00
>>> > > > >> >> > > End Time = 2018-08-22 01:29:59.999000
>>> > > > >> >> > > Accum Time = 240000
>>> > > > >> >> > > Attributes: {'long_name': 'precipitation', 'init':
>>> > > > >> '20180822_012959',
>>> > > > >> >> > > 'valid': '20180822_012959', 'grid': {'delta_lat':
0.25,
>>> > > 'lon_ll':
>>> > > > >> >> > -179.875,
>>> > > > >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll':
-59.875,
>>> > > 'delta_lon':
>>> > > > >> >> 0.25,
>>> > > > >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name':
'precipitation',
>>> > > 'lead':
>>> > > > >> >> '00',
>>> > > > >> >> > > 'level': 'Surface', 'units': 'mm', 'accum':
'240000'}
>>> > > > >> >> > >
>>> > > > >> >> > > The second command
>>> > > > >> >> > > plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
>>> > > > >> >> > > 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
>>> > > > >> >> precipitation";'
>>> > > > >> >> > > displays the error as:
>>> > > > >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
>>> > > > >> >> > > ERROR  :
>>> > > > >> >> > > ERROR  :
Met2dDataFileFactory::new_met_2d_data_file() ->
>>> > > > >> unsupported
>>> > > > >> >> > > gridded data file type "FileType_Python_Numpy"
>>> > > > >> >> > > ERROR  :
>>> > > > >> >> > > This is for your kind perusal and necessary
suggestions
>>> may
>>> > > > kindly
>>> > > > >> be
>>> > > > >> >> > given
>>> > > > >> >> > > to sort out the issue.
>>> > > > >> >> > > Thanking You
>>> > > > >> >> > > With Best Regards
>>> > > > >> >> > > ________________________
>>> > > > >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
>>> > > > >> >> > > Asst. Prof., Mathematics
>>> > > > >> >> > > *Kalinga Institute of Industrial Technology,*
>>> > > > >> >> > > *Deemed to be University, Bhubaneswar*
>>> > > > >> >> > > *Mobile- 09861182688*
>>> > > > >> >> > >
>>> > > > >> >> > >
>>> > > > >> >> > >
>>> > > > >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala <
>>> > > > >> >> > biranchimahala at gmail.com>
>>> > > > >> >> > > wrote:
>>> > > > >> >> > >
>>> > > > >> >> > > > Sir,
>>> > > > >> >> > > > As per your suggestions I installed met-8 and
issue the
>>> > > command
>>> > > > >> >> > > > # python read_3B42RT_Daily.py
>>> > > > >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
>>> > precipitation
>>> > > > >> >> > > > But, I am getting the following  error:
>>> > > > >> >> > > > Traceback (most recent call last):
>>> > > > >> >> > > >   File "read_3B42RT_Daily.py", line 3, in
<module>
>>> > > > >> >> > > >     from netCDF4 import Dataset
>>> > > > >> >> > > > ImportError: No module named netCDF4
>>> > > > >> >> > > >
>>> > > > >> >> > > >
>>> > > > >> >> > > > Thanking You
>>> > > > >> >> > > > With Best Regards
>>> > > > >> >> > > > ________________________
>>> > > > >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
>>> > > > >> >> > > > Asst. Prof., Mathematics
>>> > > > >> >> > > > *Kalinga Institute of Industrial Technology,*
>>> > > > >> >> > > > *Deemed to be University, Bhubaneswar*
>>> > > > >> >> > > > *Mobile- 09861182688*
>>> > > > >> >> > > >
>>> > > > >> >> > > >
>>> > > > >> >> > > >
>>> > > > >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley
Gotway
>>> via RT
>>> > <
>>> > > > >> >> > > > met_help at ucar.edu> wrote:
>>> > > > >> >> > > >
>>> > > > >> >> > > >> Biranchi,
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> I see that you're trying to read some GPM data
into
>>> MET
>>> > but
>>> > > > are
>>> > > > >> >> having
>>> > > > >> >> > > >> trouble.  Thank you for sending the sample data
file
>>> that
>>> > > > you're
>>> > > > >> >> > trying
>>> > > > >> >> > > to
>>> > > > >> >> > > >> read.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> This is a NetCDF file but it is not in a format
that
>>> MET
>>> > is
>>> > > > set
>>> > > > >> up
>>> > > > >> >> to
>>> > > > >> >> > > >> handle.  We could get it to read the gridded
data OK,
>>> but
>>> > > the
>>> > > > >> >> metadata
>>> > > > >> >> > > >> (such as the timing info) is not defined in a
way that
>>> > > > existing
>>> > > > >> >> > > >> functionality in MET can read.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> However there is a way forward here.  We just
released
>>> > > > met-8.0 a
>>> > > > >> >> > couple
>>> > > > >> >> > > >> weeks ago and it includes an important new
feature.
>>> MET
>>> > can
>>> > > > now
>>> > > > >> >> call
>>> > > > >> >> > > >> scripts written in Python to read data and pass
that
>>> data
>>> > to
>>> > > > the
>>> > > > >> >> MET
>>> > > > >> >> > > tools
>>> > > > >> >> > > >> in memory.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> I was able to write a python script to read
data from
>>> the
>>> > > file
>>> > > > >> you
>>> > > > >> >> > sent,
>>> > > > >> >> > > >> format the metadata (timing and grid info), and
pass
>>> it to
>>> > > MET
>>> > > > >> in
>>> > > > >> >> > > memory.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> Here's what I'd suggest you try:
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> (1) Install met-8.0
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> (2) Try running the attached python script on
the
>>> command
>>> > > line
>>> > > > >> like
>>> > > > >> >> > > this:
>>> > > > >> >> > > >>
>>> > > > >> >> > > >>    python read_3B42RT_Daily.py
>>> 3B42RT_Daily.20180821.7.nc4
>>> > > > >> >> > precipitation
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> (3) If that runs without error, next try
running MET's
>>> > > > >> >> plot_data_plane
>>> > > > >> >> > > >> tool, like this:
>>> > > > >> >> > > >>
>>> > > > >> >> > > >>    plot_data_plane PYTHON_NUMPY
>>> > 3B42RT_Daily.20180821.7.ps
>>> > > \
>>> > > > >> >> > > >>       'name="read_3B42RT_Daily.py
>>> > > 3B42RT_Daily.20180821.7.nc4
>>> > > > >> >> > > >> precipitation";'
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> If it all works, then that should produce an
image
>>> that
>>> > > looks
>>> > > > >> like
>>> > > > >> >> the
>>> > > > >> >> > > one
>>> > > > >> >> > > >> I've attached.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> Lastly, if that all works, then you can
configure/run
>>> MODE
>>> > > to
>>> > > > >> use
>>> > > > >> >> this
>>> > > > >> >> > > >> python script to read your data as well.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> Please let me know how it goes.
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> Thanks,
>>> > > > >> >> > > >> John Halley Gotway
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi Mahala
via
>>> RT <
>>> > > > >> >> > > met_help at ucar.edu
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> wrote:
>>> > > > >> >> > > >>
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was
acted
>>> upon.
>>> > > > >> >> > > >> > Transaction: Ticket created by
>>> biranchimahala at gmail.com
>>> > > > >> >> > > >> >        Queue: met_help
>>> > > > >> >> > > >> >      Subject: Error in data read by MODE
>>> > > > >> >> > > >> >        Owner: Nobody
>>> > > > >> >> > > >> >   Requestors: biranchimahala at gmail.com
>>> > > > >> >> > > >> >       Status: new
>>> > > > >> >> > > >> >  Ticket <URL:
>>> > > > >> >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>>> > > > >> >> > > >
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> > Sir,
>>> > > > >> >> > > >> > I wanted to compare the model  APCP with
>>> precipitation
>>> > > > >> >> observation
>>> > > > >> >> > > data
>>> > > > >> >> > > >> of
>>> > > > >> >> > > >> > recent GPM data in .nc4 format. While running
using
>>> the
>>> > > > >> following
>>> > > > >> >> > > >> command I
>>> > > > >> >> > > >> > get the error as:
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> > mode
>>> > ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
>>> > > > >> >> > > >> >
./input/sample_obs/3B42RT_Daily.20180821.7.nc4
>>> > > > >> >> > > ./config/MODEConfig_file
>>> > > > >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
>>> > > > >> >> > > >> > DEBUG 1: Default Config File:
>>> > > > >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
>>> > > > >> >> > > >> > DEBUG 1: Match Config File:
./config/MODEConfig_file
>>> > > > >> >> > > >> > DEBUG 1: Merge Config File:
./config/MODEConfig_file
>>> > > > >> >> > > >> > WARNING:
>>> > > > >> >> > > >> > WARNING: NcCfFile::open() -> could not
determine the
>>> > valid
>>> > > > >> time,
>>> > > > >> >> > using
>>> > > > >> >> > > >> 0.
>>> > > > >> >> > > >> > WARNING:
>>> > > > >> >> > > >> > ERROR  :
>>> > > > >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) -> Please
>>> convert
>>> > data
>>> > > > >> type
>>> > > > >> >> of
>>> > > > >> >> > > >> > "long_name" to NC_CHAR type.
>>> > > > >> >> > > >> > ERROR  :
>>> > > > >> >> > > >> > NetCDF: HDF error
>>> > > > >> >> > > >> > file: ncFile.cpp  line:33
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> > Kindly Suggest me to sort out this issue.
>>> > > > >> >> > > >> > The files are attached herewith for your
reference.
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> > Thanking You
>>> > > > >> >> > > >> > With Best Regards
>>> > > > >> >> > > >> > ________________________
>>> > > > >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
>>> > > > >> >> > > >> > Asst. Prof., Mathematics
>>> > > > >> >> > > >> > *Kalinga Institute of Industrial Technology,*
>>> > > > >> >> > > >> > *Deemed to be University, Bhubaneswar*
>>> > > > >> >> > > >> > *Mobile- 09861182688*
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >> >
>>> > > > >> >> > > >>
>>> > > > >> >> > > >>
>>> > > > >> >> > >
>>> > > > >> >> > >
>>> > > > >> >> >
>>> > > > >> >> >
>>> > > > >> >>
>>> > > > >> >>
>>> > > > >>
>>> > > > >>
>>> > > >
>>> > > >
>>> > >
>>> > >
>>> >
>>> >
>>>
>>>

------------------------------------------------
Subject: Error in data read by MODE
From: John Halley Gotway
Time: Fri Oct 19 11:32:20 2018

Great!  Glad to hear you've got this working.  I'll go ahead and
resolve
this ticket now.

John

On Thu, Oct 18, 2018 at 2:25 PM Biranchi Mahala via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
>
> Sir,
> It worked after editing MODEConfig_file with ;
>
> obs = {
>    field={ name="/home/MET_working_dir/read_3B42RT_Daily.py
> /home/MET_working_dir/3B42RT_Daily.20180821.7.nc4 precipitation";};
> }
>
> and running the command;
> mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
PYTHON_NUMPY
> ./config/MODEConfig_default -outdir ./output/mode_analysis/ -v  2
>
> This is for your kind information.
> Thanks.
>
> With Best Regards
> ________________________
> Dr. BIRANCHI  KUMAR  MAHALA
> Asst. Prof., Mathematics
> *Kalinga Institute of Industrial Technology,*
> *Deemed to be University, Bhubaneswar*
> *Mobile- 09861182688*
>
>
>
> On Fri, Oct 19, 2018 at 1:23 AM Biranchi Mahala
<biranchimahala at gmail.com>
> wrote:
>
> > sir,
> > Now I issue the command ;
> >  plot_data_plane PYTHON_NUMPY 3B42RT_Daily.20180821.7.ps \
> >       'name="read_3B42RT_Daily.py 3B42RT_Daily.20180821.7.nc4
> > precipitation";
> > This creates .ps file as expected alongwith a file
read_3B42RT_Daily.pyc.
> > But the command
> > mode ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> > 3B42RT_Daily.20180821.7.nc4 ./config/MODEConfig_default -outdir
> > ./output/mode_analysis/ -v 2
> > shows the following,
> > DEBUG 1: Default Config File:
> /MET_V8/share/met//config/MODEConfig_default
> > DEBUG 1: Match Config File: ./config/MODEConfig_default
> > DEBUG 1: Merge Config File: ./config/MODEConfig_default
> > ERROR  :
> > ERROR  : Trouble reading observation file
"3B42RT_Daily.20180821.7.nc4"
> > ERROR  :
> >
> >
> > Thanking You
> > With Best Regards
> > ________________________
> > Dr. BIRANCHI  KUMAR  MAHALA
> > Asst. Prof., Mathematics
> > *Kalinga Institute of Industrial Technology,*
> > *Deemed to be University, Bhubaneswar*
> > *Mobile- 09861182688*
> >
> >
> >
> > On Fri, Oct 19, 2018 at 12:57 AM Biranchi Mahala <
> biranchimahala at gmail.com>
> > wrote:
> >
> >> Sir,
> >> Thanks. It compiled successfully.
> >>
> >> With Best Regards
> >> ________________________
> >> Dr. BIRANCHI  KUMAR  MAHALA
> >> Asst. Prof., Mathematics
> >> *Kalinga Institute of Industrial Technology,*
> >> *Deemed to be University, Bhubaneswar*
> >> *Mobile- 09861182688*
> >>
> >>
> >>
> >> On Fri, Oct 19, 2018 at 12:42 AM John Halley Gotway via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >>> You are so very close.  Instead of those double-quotes ("), use
> backticks
> >>> (`) instead:
> >>>
> >>> export MET_PYTHON_CC=`/usr/bin/python-config --cflags`
> >>> export MET_PYTHON_LD=`/usr/bin/python-config --ldflags`
> >>>
> >>> In Linux, surrounding a command with backticks tells the shell
to
> >>> evaluate
> >>> what's inside.  Basically, you want to set MET_PYTHON_CC and _LD
to the
> >>> *output* of those commands.
> >>>
> >>> Make sense?
> >>>
> >>> John
> >>>
> >>> On Thu, Oct 18, 2018 at 12:23 PM Biranchi Mahala via RT <
> >>> met_help at ucar.edu>
> >>> wrote:
> >>>
> >>> >
> >>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
>
> >>> >
> >>> > Sir,
> >>> > As per your suggestions, I attempted to compile met-8.0 with
> >>> > following environment variables as;
> >>> > export MET_PYTHON_CC="/usr/bin/python-config --cflags"
> >>> > export MET_PYTHON_LD="/usr/bin/python-config --ldflags"
> >>> >
> >>> > I received the configure error as;
> >>> > checking whether the C++ compiler works... no
> >>> > configure: error: in `/wrfgcc_lib/met-8.0':
> >>> > configure: error: C++ compiler cannot create executables
> >>> > See `config.log' for more details
> >>> > I am sending herewith the config.log file for your reference.
> >>> > Thanking You
> >>> > With Best Regards
> >>> > ________________________
> >>> > Dr. BIRANCHI  KUMAR  MAHALA
> >>> > Asst. Prof., Mathematics
> >>> > *Kalinga Institute of Industrial Technology,*
> >>> > *Deemed to be University, Bhubaneswar*
> >>> > *Mobile- 09861182688*
> >>> >
> >>> >
> >>> >
> >>> > On Thu, Oct 18, 2018 at 9:19 PM John Halley Gotway via RT <
> >>> > met_help at ucar.edu>
> >>> > wrote:
> >>> >
> >>> > > Biranchi,
> >>> > >
> >>> > > Thanks for sending your make.log and config.log files.  I
see that
> >>> you're
> >>> > > using the "--enable-python" option to compile Python support
as we
> >>> > > discussed.  The problem is in how you have the MET_PYTHON_CC
and
> >>> > > MET_PYTHON_LD environment variables set... taken from
config.log:
> >>> > >
> >>> > > MET_PYTHON_CC='-I/usr/include/python2.7'
> >>> > > MET_PYTHON_LD='-L/wrfgcc_lib/Python/lib'
> >>> > >
> >>> > > Start by finding the version of python you want to use.
Let's say
> >>> it's
> >>> > in
> >>> > > "/usr/bin/python" for example.  You can set these
environment
> >>> variables
> >>> > by
> >>> > > calling the corresponding "python-config" tool:
> >>> > >
> >>> > > setenv MET_PYTHON_CC `/usr/bin/python-config --cflags`
> >>> > > setenv MET_PYTHON_LD `/usr/bin/python-config --ldflags`
> >>> > >
> >>> > > Please try setting them that way, re-run MET's configure
command,
> >>> and try
> >>> > > compiling again.
> >>> > >
> >>> > > Thanks,
> >>> > > John
> >>> > >
> >>> > > On Wed, Oct 17, 2018 at 2:13 PM Biranchi Mahala via RT <
> >>> > met_help at ucar.edu>
> >>> > > wrote:
> >>> > >
> >>> > > >
> >>> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >>> > > >
> >>> > > > I had downloaded the most recent version of the met-8.0.
> >>> > > > Thanking You
> >>> > > > With Best Regards
> >>> > > > ________________________
> >>> > > > Dr. BIRANCHI  KUMAR  MAHALA
> >>> > > > Asst. Prof., Mathematics
> >>> > > > *Kalinga Institute of Industrial Technology,*
> >>> > > > *Deemed to be University, Bhubaneswar*
> >>> > > > *Mobile- 09861182688*
> >>> > > >
> >>> > > >
> >>> > > >
> >>> > > > On Thu, Oct 18, 2018 at 1:41 AM Biranchi Mahala <
> >>> > > biranchimahala at gmail.com>
> >>> > > > wrote:
> >>> > > >
> >>> > > > > Sir,
> >>> > > > > I have attempted to compile met-8.0 with
> >>> > > > >
> >>> > > > > ./configure --prefix=/MET_V8 --enable-grib2 --enable-
modis
> >>> > > > > --enable-mode_graphics --enable-lidar2nc --enable-python
CC=gcc
> >>> > > > > F77=gfortran CXX=g++
> >>> > > > > I got the error during gmake. The gmake.log and
config.log
> files
> >>> are
> >>> > > > > attached herewith for your reference.
> >>> > > > >
> >>> > > > >
> >>> > > > > With Best Regards
> >>> > > > > ________________________
> >>> > > > > Dr. BIRANCHI  KUMAR  MAHALA
> >>> > > > > Asst. Prof., Mathematics
> >>> > > > > *Kalinga Institute of Industrial Technology,*
> >>> > > > > *Deemed to be University, Bhubaneswar*
> >>> > > > > *Mobile- 09861182688*
> >>> > > > >
> >>> > > > >
> >>> > > > >
> >>> > > > > On Wed, Oct 17, 2018 at 8:33 PM John Halley Gotway via
RT <
> >>> > > > > met_help at ucar.edu> wrote:
> >>> > > > >
> >>> > > > >> Biranchi,
> >>> > > > >>
> >>> > > > >> I just updated the code.  In the next version of MET,
when
> >>> Python
> >>> > > > support
> >>> > > > >> hasn't been compiled, you'll see the follow error
message
> >>> instead:
> >>> > > > >>
> >>> > > > >> ERROR  :
> >>> > > > >> ERROR  : Met2dDataFileFactory::new_met_2d_data_file()
->
> >>> Support for
> >>> > > > >> Python
> >>> > > > >> has not been compiled!
> >>> > > > >> ERROR  : To run Python scripts, recompile with the
> >>> --enable-python
> >>> > > > option.
> >>> > > > >> ERROR  :
> >>> > > > >>
> >>> > > > >> Thanks,
> >>> > > > >> John
> >>> > > > >>
> >>> > > > >> On Wed, Oct 17, 2018 at 8:36 AM John Halley Gotway <
> >>> johnhg at ucar.edu
> >>> > >
> >>> > > > >> wrote:
> >>> > > > >>
> >>> > > > >> > Biranchi,
> >>> > > > >> >
> >>> > > > >> > OK, I understand what's going on here.  I was able to
> >>> reproduce
> >>> > the
> >>> > > > >> error
> >>> > > > >> > message you're seeing.  In the version of met-8.0
you're
> >>> running,
> >>> > > > >> support
> >>> > > > >> > for running Python scripts was *NOT* compiled.  In
order to
> >>> get
> >>> > this
> >>> > > > >> > working, you'll need to recompile MET using the
> >>> "--enable-python"
> >>> > > > option
> >>> > > > >> > and set the MET_PYTHON_CC and MET_PYTHON_LD
environment
> >>> variables
> >>> > to
> >>> > > > >> point
> >>> > > > >> > to python on your system.  Please see the user's
guide or
> run
> >>> > > > "configure
> >>> > > > >> > --help" for info about these.
> >>> > > > >> >
> >>> > > > >> > There are several options in MET that are not
compiled by
> >>> default
> >>> > > > since
> >>> > > > >> > they require additional external libraries and python
> support
> >>> is
> >>> > one
> >>> > > > of
> >>> > > > >> > them.
> >>> > > > >> >
> >>> > > > >> > I'll update the code to produce a more useful error
message
> >>> > telling
> >>> > > > >> users
> >>> > > > >> > to recompile with the python support.
> >>> > > > >> >
> >>> > > > >> > Thanks,
> >>> > > > >> > John
> >>> > > > >> >
> >>> > > > >> >
> >>> > > > >> > On Tue, Oct 16, 2018 at 9:54 PM Biranchi Mahala via
RT <
> >>> > > > >> met_help at ucar.edu>
> >>> > > > >> > wrote:
> >>> > > > >> >
> >>> > > > >> >>
> >>> > > > >> >> <URL:
> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325 >
> >>> > > > >> >>
> >>> > > > >> >> Sir,
> >>> > > > >> >> plot_data_plane --version shows the following.
> >>> > > > >> >>
> >>> > > > >> >> MET Version:    V8.0
> >>> > > > >> >> Repository:
> >>> https://svn-met-dev.cgd.ucar.edu/tags/met/met-8.0
> >>> > > > >> >> Revision:    5860
> >>> > > > >> >> Change Date:    2018-09-27 13:46:59 -0600 (Thu, 27
Sep
> 2018)
> >>> > > > >> >>
> >>> > > > >> >> Still the problem persists for
> >>> > > > >> >> plot_data_plane PYTHON_NUMPY
3B42RT_Daily.20180821.7.ps
> >>> > > > >> >> 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> >>> > > > >> precipitation";'
> >>> > > > >> >>
> >>> > > > >> >> as
> >>> > > > >> >> DEBUG 1: Opening data file: PYTHON_NUMPY
> >>> > > > >> >> ERROR  :
> >>> > > > >> >> ERROR  :
Met2dDataFileFactory::new_met_2d_data_file() ->
> >>> > > unsupported
> >>> > > > >> >> gridded data file type "FileType_Python_Numpy"
> >>> > > > >> >> ERROR  :
> >>> > > > >> >>
> >>> > > > >> >> Is there any way to overcome this?
> >>> > > > >> >> Thanking You
> >>> > > > >> >> With Best Regards
> >>> > > > >> >> ________________________
> >>> > > > >> >> Dr. BIRANCHI  KUMAR  MAHALA
> >>> > > > >> >> Asst. Prof., Mathematics
> >>> > > > >> >> *Kalinga Institute of Industrial Technology,*
> >>> > > > >> >> *Deemed to be University, Bhubaneswar*
> >>> > > > >> >> *Mobile- 09861182688*
> >>> > > > >> >>
> >>> > > > >> >>
> >>> > > > >> >>
> >>> > > > >> >> On Wed, Oct 17, 2018 at 1:47 AM John Halley Gotway
via RT <
> >>> > > > >> >> met_help at ucar.edu>
> >>> > > > >> >> wrote:
> >>> > > > >> >>
> >>> > > > >> >> > Biranchi,
> >>> > > > >> >> >
> >>> > > > >> >> > Great, glad you were able to make progress!
However, I
> >>> suspect
> >>> > > > that
> >>> > > > >> you
> >>> > > > >> >> > may be running MET version 7.0 instead of the 8.0
version
> >>> that
> >>> > > was
> >>> > > > >> >> release
> >>> > > > >> >> > a couple weeks ago.  Support for calling a python
script
> >>> is new
> >>> > > in
> >>> > > > >> >> met-8.0.
> >>> > > > >> >> >
> >>> > > > >> >> > Please try running:
> >>> > > > >> >> >    plot_data_plane --version
> >>> > > > >> >> >
> >>> > > > >> >> > To see the version you're using.  If it's not met-
8.0,
> >>> please
> >>> > try
> >>> > > > >> that
> >>> > > > >> >> > version.
> >>> > > > >> >> >
> >>> > > > >> >> > Thanks,
> >>> > > > >> >> > John
> >>> > > > >> >> >
> >>> > > > >> >> > On Tue, Oct 16, 2018 at 1:30 PM Biranchi Mahala
via RT <
> >>> > > > >> >> met_help at ucar.edu>
> >>> > > > >> >> > wrote:
> >>> > > > >> >> >
> >>> > > > >> >> > >
> >>> > > > >> >> > > <URL:
> >>> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >>> > > >
> >>> > > > >> >> > >
> >>> > > > >> >> > > Sir,
> >>> > > > >> >> > > I could run the commands you suggested in the
previous
> >>> mail
> >>> > > after
> >>> > > > >> >> > > installinf netCDF4-python.
> >>> > > > >> >> > >
> >>> > > > >> >> > > In my system I ran the commands as follows:
> >>> > > > >> >> > > python read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> >>> > > > >> precipitation
> >>> > > > >> >> > > And I got following without error;
> >>> > > > >> >> > >
> >>> > > > >> >> > > Input File: '3B42RT_Daily.20180821.7.nc4'
> >>> > > > >> >> > > Variable Name : 'precipitation'
> >>> > > > >> >> > > Data Shape: (480, 1440)
> >>> > > > >> >> > > Data Type:  dtype('float64')
> >>> > > > >> >> > > Begin Time = 2018-08-21 01:30:00
> >>> > > > >> >> > > End Time = 2018-08-22 01:29:59.999000
> >>> > > > >> >> > > Accum Time = 240000
> >>> > > > >> >> > > Attributes: {'long_name': 'precipitation',
'init':
> >>> > > > >> '20180822_012959',
> >>> > > > >> >> > > 'valid': '20180822_012959', 'grid':
{'delta_lat': 0.25,
> >>> > > 'lon_ll':
> >>> > > > >> >> > -179.875,
> >>> > > > >> >> > > 'name': '3B42-Grid', 'Nlat': 480, 'lat_ll':
-59.875,
> >>> > > 'delta_lon':
> >>> > > > >> >> 0.25,
> >>> > > > >> >> > > 'type': 'LatLon', 'Nlon': 1440}, 'name':
> 'precipitation',
> >>> > > 'lead':
> >>> > > > >> >> '00',
> >>> > > > >> >> > > 'level': 'Surface', 'units': 'mm', 'accum':
'240000'}
> >>> > > > >> >> > >
> >>> > > > >> >> > > The second command
> >>> > > > >> >> > > plot_data_plane PYTHON_NUMPY
> 3B42RT_Daily.20180821.7.ps
> >>> > > > >> >> > > 'name="read_3B42RT_Daily.py
3B42RT_Daily.20180821.7.nc4
> >>> > > > >> >> precipitation";'
> >>> > > > >> >> > > displays the error as:
> >>> > > > >> >> > > DEBUG 1: Opening data file: PYTHON_NUMPY
> >>> > > > >> >> > > ERROR  :
> >>> > > > >> >> > > ERROR  :
Met2dDataFileFactory::new_met_2d_data_file()
> ->
> >>> > > > >> unsupported
> >>> > > > >> >> > > gridded data file type "FileType_Python_Numpy"
> >>> > > > >> >> > > ERROR  :
> >>> > > > >> >> > > This is for your kind perusal and necessary
suggestions
> >>> may
> >>> > > > kindly
> >>> > > > >> be
> >>> > > > >> >> > given
> >>> > > > >> >> > > to sort out the issue.
> >>> > > > >> >> > > Thanking You
> >>> > > > >> >> > > With Best Regards
> >>> > > > >> >> > > ________________________
> >>> > > > >> >> > > Dr. BIRANCHI  KUMAR  MAHALA
> >>> > > > >> >> > > Asst. Prof., Mathematics
> >>> > > > >> >> > > *Kalinga Institute of Industrial Technology,*
> >>> > > > >> >> > > *Deemed to be University, Bhubaneswar*
> >>> > > > >> >> > > *Mobile- 09861182688*
> >>> > > > >> >> > >
> >>> > > > >> >> > >
> >>> > > > >> >> > >
> >>> > > > >> >> > > On Fri, Oct 12, 2018 at 8:51 AM Biranchi Mahala
<
> >>> > > > >> >> > biranchimahala at gmail.com>
> >>> > > > >> >> > > wrote:
> >>> > > > >> >> > >
> >>> > > > >> >> > > > Sir,
> >>> > > > >> >> > > > As per your suggestions I installed met-8 and
issue
> the
> >>> > > command
> >>> > > > >> >> > > > # python read_3B42RT_Daily.py
> >>> > > > >> >> > > > ./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> >>> > precipitation
> >>> > > > >> >> > > > But, I am getting the following  error:
> >>> > > > >> >> > > > Traceback (most recent call last):
> >>> > > > >> >> > > >   File "read_3B42RT_Daily.py", line 3, in
<module>
> >>> > > > >> >> > > >     from netCDF4 import Dataset
> >>> > > > >> >> > > > ImportError: No module named netCDF4
> >>> > > > >> >> > > >
> >>> > > > >> >> > > >
> >>> > > > >> >> > > > Thanking You
> >>> > > > >> >> > > > With Best Regards
> >>> > > > >> >> > > > ________________________
> >>> > > > >> >> > > > Dr. BIRANCHI  KUMAR  MAHALA
> >>> > > > >> >> > > > Asst. Prof., Mathematics
> >>> > > > >> >> > > > *Kalinga Institute of Industrial Technology,*
> >>> > > > >> >> > > > *Deemed to be University, Bhubaneswar*
> >>> > > > >> >> > > > *Mobile- 09861182688*
> >>> > > > >> >> > > >
> >>> > > > >> >> > > >
> >>> > > > >> >> > > >
> >>> > > > >> >> > > > On Thu, Oct 11, 2018 at 11:21 PM John Halley
Gotway
> >>> via RT
> >>> > <
> >>> > > > >> >> > > > met_help at ucar.edu> wrote:
> >>> > > > >> >> > > >
> >>> > > > >> >> > > >> Biranchi,
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> I see that you're trying to read some GPM
data into
> >>> MET
> >>> > but
> >>> > > > are
> >>> > > > >> >> having
> >>> > > > >> >> > > >> trouble.  Thank you for sending the sample
data file
> >>> that
> >>> > > > you're
> >>> > > > >> >> > trying
> >>> > > > >> >> > > to
> >>> > > > >> >> > > >> read.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> This is a NetCDF file but it is not in a
format that
> >>> MET
> >>> > is
> >>> > > > set
> >>> > > > >> up
> >>> > > > >> >> to
> >>> > > > >> >> > > >> handle.  We could get it to read the gridded
data
> OK,
> >>> but
> >>> > > the
> >>> > > > >> >> metadata
> >>> > > > >> >> > > >> (such as the timing info) is not defined in a
way
> that
> >>> > > > existing
> >>> > > > >> >> > > >> functionality in MET can read.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> However there is a way forward here.  We just
> released
> >>> > > > met-8.0 a
> >>> > > > >> >> > couple
> >>> > > > >> >> > > >> weeks ago and it includes an important new
feature.
> >>> MET
> >>> > can
> >>> > > > now
> >>> > > > >> >> call
> >>> > > > >> >> > > >> scripts written in Python to read data and
pass that
> >>> data
> >>> > to
> >>> > > > the
> >>> > > > >> >> MET
> >>> > > > >> >> > > tools
> >>> > > > >> >> > > >> in memory.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> I was able to write a python script to read
data
> from
> >>> the
> >>> > > file
> >>> > > > >> you
> >>> > > > >> >> > sent,
> >>> > > > >> >> > > >> format the metadata (timing and grid info),
and pass
> >>> it to
> >>> > > MET
> >>> > > > >> in
> >>> > > > >> >> > > memory.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> Here's what I'd suggest you try:
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> (1) Install met-8.0
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> (2) Try running the attached python script on
the
> >>> command
> >>> > > line
> >>> > > > >> like
> >>> > > > >> >> > > this:
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >>    python read_3B42RT_Daily.py
> >>> 3B42RT_Daily.20180821.7.nc4
> >>> > > > >> >> > precipitation
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> (3) If that runs without error, next try
running
> MET's
> >>> > > > >> >> plot_data_plane
> >>> > > > >> >> > > >> tool, like this:
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >>    plot_data_plane PYTHON_NUMPY
> >>> > 3B42RT_Daily.20180821.7.ps
> >>> > > \
> >>> > > > >> >> > > >>       'name="read_3B42RT_Daily.py
> >>> > > 3B42RT_Daily.20180821.7.nc4
> >>> > > > >> >> > > >> precipitation";'
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> If it all works, then that should produce an
image
> >>> that
> >>> > > looks
> >>> > > > >> like
> >>> > > > >> >> the
> >>> > > > >> >> > > one
> >>> > > > >> >> > > >> I've attached.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> Lastly, if that all works, then you can
> configure/run
> >>> MODE
> >>> > > to
> >>> > > > >> use
> >>> > > > >> >> this
> >>> > > > >> >> > > >> python script to read your data as well.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> Please let me know how it goes.
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> Thanks,
> >>> > > > >> >> > > >> John Halley Gotway
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> On Tue, Oct 9, 2018 at 11:32 AM Biranchi
Mahala via
> >>> RT <
> >>> > > > >> >> > > met_help at ucar.edu
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> wrote:
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> > Tue Oct 09 11:32:47 2018: Request 87325 was
acted
> >>> upon.
> >>> > > > >> >> > > >> > Transaction: Ticket created by
> >>> biranchimahala at gmail.com
> >>> > > > >> >> > > >> >        Queue: met_help
> >>> > > > >> >> > > >> >      Subject: Error in data read by MODE
> >>> > > > >> >> > > >> >        Owner: Nobody
> >>> > > > >> >> > > >> >   Requestors: biranchimahala at gmail.com
> >>> > > > >> >> > > >> >       Status: new
> >>> > > > >> >> > > >> >  Ticket <URL:
> >>> > > > >> >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=87325
> >>> > > > >> >> > > >
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> > Sir,
> >>> > > > >> >> > > >> > I wanted to compare the model  APCP with
> >>> precipitation
> >>> > > > >> >> observation
> >>> > > > >> >> > > data
> >>> > > > >> >> > > >> of
> >>> > > > >> >> > > >> > recent GPM data in .nc4 format. While
running
> using
> >>> the
> >>> > > > >> following
> >>> > > > >> >> > > >> command I
> >>> > > > >> >> > > >> > get the error as:
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> > mode
> >>> > ./input/sample_fcst/APCP_24h_00UTC_mp3cp1_21Aug18.nc
> >>> > > > >> >> > > >> >
./input/sample_obs/3B42RT_Daily.20180821.7.nc4
> >>> > > > >> >> > > ./config/MODEConfig_file
> >>> > > > >> >> > > >> > -outdir ./output/mode_analysis/ -v 2
> >>> > > > >> >> > > >> > DEBUG 1: Default Config File:
> >>> > > > >> >> > > >> /MET_V7/share/met//config/MODEConfig_default
> >>> > > > >> >> > > >> > DEBUG 1: Match Config File:
> ./config/MODEConfig_file
> >>> > > > >> >> > > >> > DEBUG 1: Merge Config File:
> ./config/MODEConfig_file
> >>> > > > >> >> > > >> > WARNING:
> >>> > > > >> >> > > >> > WARNING: NcCfFile::open() -> could not
determine
> the
> >>> > valid
> >>> > > > >> time,
> >>> > > > >> >> > using
> >>> > > > >> >> > > >> 0.
> >>> > > > >> >> > > >> > WARNING:
> >>> > > > >> >> > > >> > ERROR  :
> >>> > > > >> >> > > >> > ERROR  : get_att_value_chars(NcAtt) ->
Please
> >>> convert
> >>> > data
> >>> > > > >> type
> >>> > > > >> >> of
> >>> > > > >> >> > > >> > "long_name" to NC_CHAR type.
> >>> > > > >> >> > > >> > ERROR  :
> >>> > > > >> >> > > >> > NetCDF: HDF error
> >>> > > > >> >> > > >> > file: ncFile.cpp  line:33
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> > Kindly Suggest me to sort out this issue.
> >>> > > > >> >> > > >> > The files are attached herewith for your
> reference.
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> > Thanking You
> >>> > > > >> >> > > >> > With Best Regards
> >>> > > > >> >> > > >> > ________________________
> >>> > > > >> >> > > >> > Dr. BIRANCHI  KUMAR  MAHALA
> >>> > > > >> >> > > >> > Asst. Prof., Mathematics
> >>> > > > >> >> > > >> > *Kalinga Institute of Industrial
Technology,*
> >>> > > > >> >> > > >> > *Deemed to be University, Bhubaneswar*
> >>> > > > >> >> > > >> > *Mobile- 09861182688*
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >> >
> >>> > > > >> >> > > >>
> >>> > > > >> >> > > >>
> >>> > > > >> >> > >
> >>> > > > >> >> > >
> >>> > > > >> >> >
> >>> > > > >> >> >
> >>> > > > >> >>
> >>> > > > >> >>
> >>> > > > >>
> >>> > > > >>
> >>> > > >
> >>> > > >
> >>> > >
> >>> > >
> >>> >
> >>> >
> >>>
> >>>
>
>

------------------------------------------------


More information about the Met_help mailing list