[Met_help] [rt.rap.ucar.edu #90806] History for nc4 file read

Julie Prestopnik via RT met_help at ucar.edu
Wed Jul 10 11:34:31 MDT 2019


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

Hi
I am trying to read nc4 using MET and got the following error :
plot_data_plane
GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4 test.ps
'name="DUEXTTAU"; level="(0,*,*)";' -v 5
DEBUG 1: Opening data file:
GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
Met2dDataFile object of type "FileType_None".
ERROR  :
ERROR  : plot_data_plane -> file
"GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4" not a
valid data file

Data source :
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/

Is there any way MET can read NC4 files ?
Thanks
Debasish


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

Subject: nc4 file read
From: Julie Prestopnik
Time: Wed Jun 26 13:34:11 2019

Hi Debasish.

Thank you for sending a location for the data and also the command
that you
ran.  That was very helpful information.

I was able to grab a file. MET can currently read these NC4 files, but
it
needs a little help in recognizing the type.  Please run the following
command.  Note the addition of "file_type=NETCDF_NCCF;" after the
level
information is specified.

plot_data_plane
GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4 test.ps
'name="DUEXTTAU"; level="(0,*,*)"; file_type=NETCDF_NCCF;' -v2

I was able to get a successful run with the file I downloaded.  Please
let
us know how it goes.

Also, we have enhanced our code so that in the future, MET (starting
with
met-8.1.1) will interpret these COARDS convention files as CF
compliant so
the file_type should not be necessary.

Julie

On Wed, Jun 26, 2019 at 8:20 AM Debasish Hazra via RT
<met_help at ucar.edu>
wrote:

>
> Wed Jun 26 08:20:14 2019: Request 90806 was acted upon.
> Transaction: Ticket created by debasish.hazra5 at gmail.com
>        Queue: met_help
>      Subject: nc4 file read
>        Owner: Nobody
>   Requestors: debasish.hazra5 at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806 >
>
>
> Hi
> I am trying to read nc4 using MET and got the following error :
> plot_data_plane
> GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
test.ps
> 'name="DUEXTTAU"; level="(0,*,*)";' -v 5
> DEBUG 1: Opening data file:
> GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
> Met2dDataFile object of type "FileType_None".
> ERROR  :
> ERROR  : plot_data_plane -> file
> "GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4" not
a
> valid data file
>
> Data source :
>
>
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/
>
> Is there any way MET can read NC4 files ?
> Thanks
> Debasish
>
>

------------------------------------------------
Subject: nc4 file read
From: Debasish Hazra
Time: Wed Jun 26 14:34:59 2019

Thanks Julie for your response. It is very helpful. If I want to use
that
data for any grid-stat verification, should I do the following (for
series
analysis say):

fcst = {
   field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
GRIB2_process=62001; } ];
};
obs = {
   field = [ {  name = "DUEXTTAU"; level = [  "(0,*,*)","(0,*,*)",
"(0,*,*)", "(0,*,*)"]; file_type=NETCDF_NCCF; } ];
};

Does not work that way seems. Is there other way to use file_type
information in configuration files ?

Thanks
Debasish

On Wed, Jun 26, 2019 at 3:34 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Debasish.
>
> Thank you for sending a location for the data and also the command
that you
> ran.  That was very helpful information.
>
> I was able to grab a file. MET can currently read these NC4 files,
but it
> needs a little help in recognizing the type.  Please run the
following
> command.  Note the addition of "file_type=NETCDF_NCCF;" after the
level
> information is specified.
>
> plot_data_plane
> GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
test.ps
> 'name="DUEXTTAU"; level="(0,*,*)"; file_type=NETCDF_NCCF;' -v2
>
> I was able to get a successful run with the file I downloaded.
Please let
> us know how it goes.
>
> Also, we have enhanced our code so that in the future, MET (starting
with
> met-8.1.1) will interpret these COARDS convention files as CF
compliant so
> the file_type should not be necessary.
>
> Julie
>
> On Wed, Jun 26, 2019 at 8:20 AM Debasish Hazra via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Wed Jun 26 08:20:14 2019: Request 90806 was acted upon.
> > Transaction: Ticket created by debasish.hazra5 at gmail.com
> >        Queue: met_help
> >      Subject: nc4 file read
> >        Owner: Nobody
> >   Requestors: debasish.hazra5 at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806 >
> >
> >
> > Hi
> > I am trying to read nc4 using MET and got the following error :
> > plot_data_plane
> > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
test.ps
> > 'name="DUEXTTAU"; level="(0,*,*)";' -v 5
> > DEBUG 1: Opening data file:
> > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> > DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created
new
> > Met2dDataFile object of type "FileType_None".
> > ERROR  :
> > ERROR  : plot_data_plane -> file
> > "GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4"
not a
> > valid data file
> >
> > Data source :
> >
> >
>
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/
> >
> > Is there any way MET can read NC4 files ?
> > Thanks
> > Debasish
> >
> >
>
>

------------------------------------------------
Subject: nc4 file read
From: Julie Prestopnik
Time: Mon Jul 01 13:35:51 2019

Hi Debasish.  My apologies for the delayed response.

The file_type setting should not lie within the field section, but
rather
outside of it.  Please try the following instead:

fcst = {
   field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
GRIB2_process=62001; } ];
};
obs = {
*   file_type=NETCDF_NCCF;*
   field = [ {  name = "DUEXTTAU"; level = [  "(0,*,*)","(0,*,*)",
"(0,*,*)", "(0,*,*)"]; } ];
};

I hope that helps!

Thanks,
Julie

On Wed, Jun 26, 2019 at 2:35 PM Debasish Hazra via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806 >
>
> Thanks Julie for your response. It is very helpful. If I want to use
that
> data for any grid-stat verification, should I do the following (for
series
> analysis say):
>
> fcst = {
>    field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
> GRIB2_process=62001; } ];
> };
> obs = {
>    field = [ {  name = "DUEXTTAU"; level = [  "(0,*,*)","(0,*,*)",
> "(0,*,*)", "(0,*,*)"]; file_type=NETCDF_NCCF; } ];
> };
>
> Does not work that way seems. Is there other way to use file_type
> information in configuration files ?
>
> Thanks
> Debasish
>
> On Wed, Jun 26, 2019 at 3:34 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Debasish.
> >
> > Thank you for sending a location for the data and also the command
that
> you
> > ran.  That was very helpful information.
> >
> > I was able to grab a file. MET can currently read these NC4 files,
but it
> > needs a little help in recognizing the type.  Please run the
following
> > command.  Note the addition of "file_type=NETCDF_NCCF;" after the
level
> > information is specified.
> >
> > plot_data_plane
> > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
test.ps
> > 'name="DUEXTTAU"; level="(0,*,*)"; file_type=NETCDF_NCCF;' -v2
> >
> > I was able to get a successful run with the file I downloaded.
Please
> let
> > us know how it goes.
> >
> > Also, we have enhanced our code so that in the future, MET
(starting with
> > met-8.1.1) will interpret these COARDS convention files as CF
compliant
> so
> > the file_type should not be necessary.
> >
> > Julie
> >
> > On Wed, Jun 26, 2019 at 8:20 AM Debasish Hazra via RT
<met_help at ucar.edu
> >
> > wrote:
> >
> > >
> > > Wed Jun 26 08:20:14 2019: Request 90806 was acted upon.
> > > Transaction: Ticket created by debasish.hazra5 at gmail.com
> > >        Queue: met_help
> > >      Subject: nc4 file read
> > >        Owner: Nobody
> > >   Requestors: debasish.hazra5 at gmail.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806
> >
> > >
> > >
> > > Hi
> > > I am trying to read nc4 using MET and got the following error :
> > > plot_data_plane
> > > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
test.ps
> > > 'name="DUEXTTAU"; level="(0,*,*)";' -v 5
> > > DEBUG 1: Opening data file:
> > > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> > > DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created
new
> > > Met2dDataFile object of type "FileType_None".
> > > ERROR  :
> > > ERROR  : plot_data_plane -> file
> > > "GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4"
not a
> > > valid data file
> > >
> > > Data source :
> > >
> > >
> >
>
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/
> > >
> > > Is there any way MET can read NC4 files ?
> > > Thanks
> > > Debasish
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: nc4 file read
From: Debasish Hazra
Time: Tue Jul 09 14:16:37 2019

Thanks Julie, it worked fine.
Debasish

On Mon, Jul 1, 2019 at 3:35 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Debasish.  My apologies for the delayed response.
>
> The file_type setting should not lie within the field section, but
rather
> outside of it.  Please try the following instead:
>
> fcst = {
>    field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
> GRIB2_process=62001; } ];
> };
> obs = {
> *   file_type=NETCDF_NCCF;*
>    field = [ {  name = "DUEXTTAU"; level = [  "(0,*,*)","(0,*,*)",
> "(0,*,*)", "(0,*,*)"]; } ];
> };
>
> I hope that helps!
>
> Thanks,
> Julie
>
> On Wed, Jun 26, 2019 at 2:35 PM Debasish Hazra via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806 >
> >
> > Thanks Julie for your response. It is very helpful. If I want to
use that
> > data for any grid-stat verification, should I do the following
(for
> series
> > analysis say):
> >
> > fcst = {
> >    field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
> > GRIB2_process=62001; } ];
> > };
> > obs = {
> >    field = [ {  name = "DUEXTTAU"; level = [  "(0,*,*)","(0,*,*)",
> > "(0,*,*)", "(0,*,*)"]; file_type=NETCDF_NCCF; } ];
> > };
> >
> > Does not work that way seems. Is there other way to use file_type
> > information in configuration files ?
> >
> > Thanks
> > Debasish
> >
> > On Wed, Jun 26, 2019 at 3:34 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Hi Debasish.
> > >
> > > Thank you for sending a location for the data and also the
command that
> > you
> > > ran.  That was very helpful information.
> > >
> > > I was able to grab a file. MET can currently read these NC4
files, but
> it
> > > needs a little help in recognizing the type.  Please run the
following
> > > command.  Note the addition of "file_type=NETCDF_NCCF;" after
the level
> > > information is specified.
> > >
> > > plot_data_plane
> > > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
test.ps
> > > 'name="DUEXTTAU"; level="(0,*,*)"; file_type=NETCDF_NCCF;' -v2
> > >
> > > I was able to get a successful run with the file I downloaded.
Please
> > let
> > > us know how it goes.
> > >
> > > Also, we have enhanced our code so that in the future, MET
(starting
> with
> > > met-8.1.1) will interpret these COARDS convention files as CF
compliant
> > so
> > > the file_type should not be necessary.
> > >
> > > Julie
> > >
> > > On Wed, Jun 26, 2019 at 8:20 AM Debasish Hazra via RT <
> met_help at ucar.edu
> > >
> > > wrote:
> > >
> > > >
> > > > Wed Jun 26 08:20:14 2019: Request 90806 was acted upon.
> > > > Transaction: Ticket created by debasish.hazra5 at gmail.com
> > > >        Queue: met_help
> > > >      Subject: nc4 file read
> > > >        Owner: Nobody
> > > >   Requestors: debasish.hazra5 at gmail.com
> > > >       Status: new
> > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806
> > >
> > > >
> > > >
> > > > Hi
> > > > I am trying to read nc4 using MET and got the following error
:
> > > > plot_data_plane
> > > > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> test.ps
> > > > 'name="DUEXTTAU"; level="(0,*,*)";' -v 5
> > > > DEBUG 1: Opening data file:
> > > > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> > > > DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() ->
created new
> > > > Met2dDataFile object of type "FileType_None".
> > > > ERROR  :
> > > > ERROR  : plot_data_plane -> file
> > > >
"GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4" not
> a
> > > > valid data file
> > > >
> > > > Data source :
> > > >
> > > >
> > >
> >
>
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/
> > > >
> > > > Is there any way MET can read NC4 files ?
> > > > Thanks
> > > > Debasish
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: nc4 file read
From: Julie Prestopnik
Time: Wed Jul 10 11:31:57 2019

Great!  Thanks for letting us know.  I'll go ahead and close this
ticket.

Julie

On Tue, Jul 9, 2019 at 2:27 PM Debasish Hazra via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806 >
>
> Thanks Julie, it worked fine.
> Debasish
>
> On Mon, Jul 1, 2019 at 3:35 PM Julie Prestopnik via RT
<met_help at ucar.edu>
> wrote:
>
> > Hi Debasish.  My apologies for the delayed response.
> >
> > The file_type setting should not lie within the field section, but
rather
> > outside of it.  Please try the following instead:
> >
> > fcst = {
> >    field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
> > GRIB2_process=62001; } ];
> > };
> > obs = {
> > *   file_type=NETCDF_NCCF;*
> >    field = [ {  name = "DUEXTTAU"; level = [  "(0,*,*)","(0,*,*)",
> > "(0,*,*)", "(0,*,*)"]; } ];
> > };
> >
> > I hope that helps!
> >
> > Thanks,
> > Julie
> >
> > On Wed, Jun 26, 2019 at 2:35 PM Debasish Hazra via RT
<met_help at ucar.edu
> >
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806 >
> > >
> > > Thanks Julie for your response. It is very helpful. If I want to
use
> that
> > > data for any grid-stat verification, should I do the following
(for
> > series
> > > analysis say):
> > >
> > > fcst = {
> > >    field = [ {  name = "AOTK"; level = [ "A0","A0","A0", "A0  ];
> > > GRIB2_process=62001; } ];
> > > };
> > > obs = {
> > >    field = [ {  name = "DUEXTTAU"; level = [
"(0,*,*)","(0,*,*)",
> > > "(0,*,*)", "(0,*,*)"]; file_type=NETCDF_NCCF; } ];
> > > };
> > >
> > > Does not work that way seems. Is there other way to use
file_type
> > > information in configuration files ?
> > >
> > > Thanks
> > > Debasish
> > >
> > > On Wed, Jun 26, 2019 at 3:34 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Hi Debasish.
> > > >
> > > > Thank you for sending a location for the data and also the
command
> that
> > > you
> > > > ran.  That was very helpful information.
> > > >
> > > > I was able to grab a file. MET can currently read these NC4
files,
> but
> > it
> > > > needs a little help in recognizing the type.  Please run the
> following
> > > > command.  Note the addition of "file_type=NETCDF_NCCF;" after
the
> level
> > > > information is specified.
> > > >
> > > > plot_data_plane
> > > > GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> test.ps
> > > > 'name="DUEXTTAU"; level="(0,*,*)"; file_type=NETCDF_NCCF;' -v2
> > > >
> > > > I was able to get a successful run with the file I downloaded.
> Please
> > > let
> > > > us know how it goes.
> > > >
> > > > Also, we have enhanced our code so that in the future, MET
(starting
> > with
> > > > met-8.1.1) will interpret these COARDS convention files as CF
> compliant
> > > so
> > > > the file_type should not be necessary.
> > > >
> > > > Julie
> > > >
> > > > On Wed, Jun 26, 2019 at 8:20 AM Debasish Hazra via RT <
> > met_help at ucar.edu
> > > >
> > > > wrote:
> > > >
> > > > >
> > > > > Wed Jun 26 08:20:14 2019: Request 90806 was acted upon.
> > > > > Transaction: Ticket created by debasish.hazra5 at gmail.com
> > > > >        Queue: met_help
> > > > >      Subject: nc4 file read
> > > > >        Owner: Nobody
> > > > >   Requestors: debasish.hazra5 at gmail.com
> > > > >       Status: new
> > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90806
> > > >
> > > > >
> > > > >
> > > > > Hi
> > > > > I am trying to read nc4 using MET and got the following
error :
> > > > > plot_data_plane
> > > > >
GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> > test.ps
> > > > > 'name="DUEXTTAU"; level="(0,*,*)";' -v 5
> > > > > DEBUG 1: Opening data file:
> > > > >
GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4
> > > > > DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() ->
created
> new
> > > > > Met2dDataFile object of type "FileType_None".
> > > > > ERROR  :
> > > > > ERROR  : plot_data_plane -> file
> > > > >
"GEOS.fp.fcst.tavg3_2d_aer_Nx.20190529_00+20190529_0130.V01.nc4"
> not
> > a
> > > > > valid data file
> > > > >
> > > > > Data source :
> > > > >
> > > > >
> > > >
> > >
> >
>
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/
> > > > >
> > > > > Is there any way MET can read NC4 files ?
> > > > > Thanks
> > > > > Debasish
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

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


More information about the Met_help mailing list