[Met_help] [rt.rap.ucar.edu #76030] History for MODE netCDF file error
John Halley Gotway via RT
met_help at ucar.edu
Wed Apr 27 10:53:29 MDT 2016
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hello,
I am getting the following error when attempting to use MET with a
CF-Compliant netCDF file (output from Radx):
WARNING:
WARNING: NcCfFile::open() -> could not extract init time from file name
WARNING:
DEBUG 1: Forecast File: kpol_20130101_164634.nc
DEBUG 1: Observation File: kpol_20130101_164634.nc
ERROR :
ERROR : NcCfFile::data(NcVar *, const LongArray &, DataPlane &) ->
needed 4 arguments for variable CZ, got 2
ERROR :
I ran this file through the plot_data_plane tool and got a PostScript
file and no errors (suggested here:
http://mailman.ucar.edu/pipermail/met_help/2015-August/002406.html)
I am using the same file as forecast and observation to work on tuning
the object definition as mentioned here:
http://mailman.ucar.edu/pipermail/met_help/2013-May/001941.html
>From this error it seems like MET has picked the variable I hoped it
would pick (CZ, corrected reflectivity). However it was looking for 4
arguments. Here is more information from an ncdump:
dimensions:
time = 1 ;
bounds = 2 ;
x0 = 189 ;
y0 = 189 ;
z0 = 20 ;
float CZ(time, z0, y0, x0) ;
CZ:valid_min = 6.631907f ;
CZ:valid_max = 39.91879f ;
CZ:_FillValue = -9999.f ;
CZ:standard_name = "CZ" ;
CZ:long_name = "corrected reflectivity" ;
CZ:units = "dBZ" ;
Cheers,
Mariana
--
Senior Atmospheric Scientist, Defense Applications Branch
Federal Services Division (FSD)
CFD Research Corporation Phone: (256) 726-4825
701 McMillian Way NW, Suite D Fax: (256) 726-4806
Huntsville, AL 35806 http://www.cfdrc.com
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: MODE netCDF file error
From: John Halley Gotway
Time: Tue Apr 26 15:50:55 2016
Hello Mariana,
I see you're having trouble using a CF-compliant NetCDF file in MODE.
You
mentioned that you were able to run it through the plot_data_plane
tool.
My guess is that you tried:
plot_data_plane kpol_20130101_164634.nc cv.ps 'name="CV";
level="(0,0,*,*)";'
Is that how you plotted it? And if so, does the resulting postscript
image
(cv.ps) look OK?
If that all worked, please just use the same settings in MODE:
fcst = {
field = {
name = "CV";
level = "(0,0,*,*)";
}
# OBJECT DEFINITION SETTINGS #
}
obs = fcst;
Since you're passing the same file in for both FCST and OBS, I just
set
"obs = fcst;".
If this doesn't work, you can post a sample file to our anonymous ftp
site,
following the directions listed here:
http://www.dtcenter.org/met/users/support/met_help.php#ftp
Thanks,
John Halley Gotway
met_help at ucar.edu
On Fri, Apr 22, 2016 at 8:55 AM, Mariana O. Scott via RT
<met_help at ucar.edu>
wrote:
>
> Fri Apr 22 08:55:46 2016: Request 76030 was acted upon.
> Transaction: Ticket created by mariana.scott at cfdrc.com
> Queue: met_help
> Subject: MODE netCDF file error
> Owner: Nobody
> Requestors: mariana.scott at cfdrc.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=76030 >
>
>
> Hello,
>
> I am getting the following error when attempting to use MET with a
> CF-Compliant netCDF file (output from Radx):
> WARNING:
> WARNING: NcCfFile::open() -> could not extract init time from file
name
> WARNING:
> DEBUG 1: Forecast File: kpol_20130101_164634.nc
> DEBUG 1: Observation File: kpol_20130101_164634.nc
> ERROR :
> ERROR : NcCfFile::data(NcVar *, const LongArray &, DataPlane &) ->
> needed 4 arguments for variable CZ, got 2
> ERROR :
>
> I ran this file through the plot_data_plane tool and got a
PostScript
> file and no errors (suggested here:
> http://mailman.ucar.edu/pipermail/met_help/2015-August/002406.html)
>
> I am using the same file as forecast and observation to work on
tuning
> the object definition as mentioned here:
> http://mailman.ucar.edu/pipermail/met_help/2013-May/001941.html
>
> From this error it seems like MET has picked the variable I hoped it
> would pick (CZ, corrected reflectivity). However it was looking for
4
> arguments. Here is more information from an ncdump:
>
> dimensions:
> time = 1 ;
> bounds = 2 ;
> x0 = 189 ;
> y0 = 189 ;
> z0 = 20 ;
>
> float CZ(time, z0, y0, x0) ;
> CZ:valid_min = 6.631907f ;
> CZ:valid_max = 39.91879f ;
> CZ:_FillValue = -9999.f ;
> CZ:standard_name = "CZ" ;
> CZ:long_name = "corrected reflectivity" ;
> CZ:units = "dBZ" ;
> Cheers,
> Mariana
>
> --
> Senior Atmospheric Scientist, Defense Applications Branch
> Federal Services Division (FSD)
> CFD Research Corporation Phone: (256) 726-4825
> 701 McMillian Way NW, Suite D Fax: (256) 726-4806
> Huntsville, AL 35806 http://www.cfdrc.com
>
>
>
>
------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #76030] MODE netCDF file error
From: Mariana O. Scott
Time: Wed Apr 27 06:11:28 2016
John,
I passed the file to plot_data_plane and it just worked, and the
output
ps looked good.
The setting you sent me worked out, so thank you very much for your
help.
-Mariana
On 4/26/2016 16:51, John Halley Gotway via RT wrote:
> Hello Mariana,
>
> I see you're having trouble using a CF-compliant NetCDF file in
MODE. You
> mentioned that you were able to run it through the plot_data_plane
tool.
> My guess is that you tried:
>
> plot_data_plane kpol_20130101_164634.nc cv.ps 'name="CV";
> level="(0,0,*,*)";'
>
> Is that how you plotted it? And if so, does the resulting
postscript image
> (cv.ps) look OK?
>
> If that all worked, please just use the same settings in MODE:
>
> fcst = {
> field = {
> name = "CV";
> level = "(0,0,*,*)";
> }
> # OBJECT DEFINITION SETTINGS #
> }
> obs = fcst;
>
> Since you're passing the same file in for both FCST and OBS, I just
set
> "obs = fcst;".
>
> If this doesn't work, you can post a sample file to our anonymous
ftp site,
> following the directions listed here:
> http://www.dtcenter.org/met/users/support/met_help.php#ftp
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
> On Fri, Apr 22, 2016 at 8:55 AM, Mariana O. Scott via RT
<met_help at ucar.edu>
> wrote:
>
>> Fri Apr 22 08:55:46 2016: Request 76030 was acted upon.
>> Transaction: Ticket created by mariana.scott at cfdrc.com
>> Queue: met_help
>> Subject: MODE netCDF file error
>> Owner: Nobody
>> Requestors: mariana.scott at cfdrc.com
>> Status: new
>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=76030 >
>>
>>
>> Hello,
>>
>> I am getting the following error when attempting to use MET with a
>> CF-Compliant netCDF file (output from Radx):
>> WARNING:
>> WARNING: NcCfFile::open() -> could not extract init time from file
name
>> WARNING:
>> DEBUG 1: Forecast File: kpol_20130101_164634.nc
>> DEBUG 1: Observation File: kpol_20130101_164634.nc
>> ERROR :
>> ERROR : NcCfFile::data(NcVar *, const LongArray &, DataPlane &) ->
>> needed 4 arguments for variable CZ, got 2
>> ERROR :
>>
>> I ran this file through the plot_data_plane tool and got a
PostScript
>> file and no errors (suggested here:
>> http://mailman.ucar.edu/pipermail/met_help/2015-August/002406.html)
>>
>> I am using the same file as forecast and observation to work on
tuning
>> the object definition as mentioned here:
>> http://mailman.ucar.edu/pipermail/met_help/2013-May/001941.html
>>
>> From this error it seems like MET has picked the variable I hoped
it
>> would pick (CZ, corrected reflectivity). However it was looking for
4
>> arguments. Here is more information from an ncdump:
>>
>> dimensions:
>> time = 1 ;
>> bounds = 2 ;
>> x0 = 189 ;
>> y0 = 189 ;
>> z0 = 20 ;
>>
>> float CZ(time, z0, y0, x0) ;
>> CZ:valid_min = 6.631907f ;
>> CZ:valid_max = 39.91879f ;
>> CZ:_FillValue = -9999.f ;
>> CZ:standard_name = "CZ" ;
>> CZ:long_name = "corrected reflectivity" ;
>> CZ:units = "dBZ" ;
>> Cheers,
>> Mariana
>>
>> --
>> Senior Atmospheric Scientist, Defense Applications Branch
>> Federal Services Division (FSD)
>> CFD Research Corporation Phone: (256) 726-4825
>> 701 McMillian Way NW, Suite D Fax: (256) 726-4806
>> Huntsville, AL 35806 http://www.cfdrc.com
>>
>>
>>
>>
>
--
Senior Atmospheric Scientist, Defense Applications Branch
Federal Services Division (FSD)
CFD Research Corporation Phone: (256) 726-4825
701 McMillian Way NW, Suite D Fax: (256) 726-4806
Huntsville, AL 35806 http://www.cfdrc.com
------------------------------------------------
More information about the Met_help
mailing list