[Met_help] [rt.rap.ucar.edu #58818] History for nf_format

John Halley Gotway via RT met_help at ucar.edu
Mon Nov 19 08:35:21 MST 2012


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

 
Dear John,

       I have some NC file that can't read by MET,I want convert these file for MET verification ,can you give me any idea?
       thanks,
     PLJ

 
 


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

Subject: Re: [rt.rap.ucar.edu #58818] nf_format
From: John Halley Gotway
Time: Mon Oct 22 09:04:18 2012

plj,

I see that this NetCDF file is NetCDF4, meaning it was created with
the enhanced NetCDF data model.  MET is not yet compatible with
NetCDF4.  Instead, you'd need to create a NetCDF3 file (classic data
model) making it look similar to the NetCDF output of the pcp_combine
tool.

In particular, you'd need to do the following...

The dimensions should be named "lat" and "lon".

Add global grid definition attributes.  Example values shown for a
latlon grid...
    :MET_version = "V4.0" ;
    :Projection = "LatLon" ;
    :lat_ll = "-90.000000 degrees_north" ;  // Latitude for the lower-
left point
    :lon_ll = "0.000000 degrees_east" ;     // Longitude for the
lower-left point
    :delta_lat = "0.500000 degrees" ;       // Latitude increment
    :delta_lon = "0.500000 degrees" ;       // Longitude increment
    :Nlat = "361 grid_points" ;             // Number of latitude
points
    :Nlon = "720 grid_points" ;             // Number of longitude
points

Variable attributes for the "pr6h" variable.  I've shown example
values below...
    name = "APCP_12" ;                  // Name of the variable
    long_name = "Total precipitation" ; // Description of the variable
    level = "A12" ;                     // Description of the level -
perhaps "SFC" for surface
    units = "kg/m^2" ;                  // Units of the variable
    init_time_ut = 1123459200 ;         // Model initialization time
in unixtime (number of seconds since 1970).  If this is an
observation, you could just set it to the same as the valid time.
    valid_time_ut = 1123459200 ;        // Valid time for the data in
unixtime.
    accum_time_sec = 43200 ;            // Accumulation interval in
seconds, if applicable.  Otherwise, just set to 0.

Hope this helps.

John

On 10/22/2012 01:50 AM, pljmtgh57245 at sina.com via RT wrote:
>
> Mon Oct 22 01:50:11 2012: Request 58818 was acted upon.
> Transaction: Ticket created by pljmtgh57245 at sina.com
>         Queue: met_help
>       Subject: nf_format
>         Owner: Nobody
>    Requestors: pljmtgh57245 at sina.com
>        Status: new
>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=58818 >
>
>
>
> Dear John,
>
>         I have some NC file that can't read by MET,I want convert
these file for MET verification ,can you give me any idea?
>         thanks,
>       PLJ
>
>
>
>

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


More information about the Met_help mailing list