[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grib to netcdf conversion question



Ross-
I think the problem is the somewhat different NetCDF form that IFPS/AWIPS uses.   It's not a pure Unidata flavor I believe.   You've got the right cc: to Unidata so I'd wait for that response. 
GR

Ross,Charles H - PGPW-5 wrote the following on 2/12/2007 5:23 PM:

Hello all,

 

I'm trying to convert model grib files into GFE/IFPS compatible file formats using the Unidata Converter suite.  So far I'm having no luck and am seeking input from anyone who may be able to help.

 

Here's what I've done so far...

 

1.  I'm using a GFS grib file for input.

 

2.  Create a .cdl file:

        $ gribtocdl -v -g awips.tbl  2007021212_gfs.grib > gfs_2007021212.cdl

 

        * I'm using a awips.tbl file that I found while browsing the unidata archives

 

3.  Create the nc file:

        $ gribtonc -l - -g awips.tbl gfs_2007021212.cdl awips.nc < 2007021212_gfs.grib

 

        My output here is interesting and may be problematic.  Here is a sample:

 

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

Feb 12 21:37:59 gribtonc[13996]: YHHD99 KWBC 121200, awips.nc nav. mismatch Nx: 129 != 65

Feb 12 21:37:59 gribtonc[13996]: YHHD99 KWBC 121200, awips.nc nav. mismatch Ny: 85 != 65

Feb 12 21:37:59 gribtonc[13996]: YHHD99 KWBC 121200, awips.nc nav. mismatch La1: 7.838 != -20.826

Feb 12 21:37:59 gribtonc[13996]: YHHD99 KWBC 121200, awips.nc nav. mismatch Lo1: -141.028 != -150

Feb 12 21:37:59 gribtonc[13996]: YHHD99 KWBC 121200, awips.nc nav. mismatch Dx: 95250 != 381000

Feb 12 21:37:59 gribtonc[13996]: YHHD99 KWBC 121200, awips.nc nav. mismatch Dy: 95250 != 381000

Feb 12 21:37:59 gribtonc[13996]: YHHD30 KWBC 121200, awips.nc nav. mismatch Nx: 129 != 65

Feb 12 21:37:59 gribtonc[13996]: YHHD30 KWBC 121200, awips.nc nav. mismatch Ny: 85 != 65

Feb 12 21:37:59 gribtonc[13996]: YHHD30 KWBC 121200, awips.nc nav. mismatch La1: 7.838 != -20.826

Feb 12 21:37:59 gribtonc[13996]: YHHD30 KWBC 121200, awips.nc nav. mismatch Lo1: -141.028 != -150

Feb 12 21:37:59 gribtonc[13996]: YHHD30 KWBC 121200, awips.nc nav. mismatch Dx: 95250 != 381000

Feb 12 21:37:59 gribtonc[13996]: YHHD30 KWBC 121200, awips.nc nav. mismatch Dy: 95250 != 381000

Feb 12 21:37:59 gribtonc[13996]: YUHD85 KWBC 121200, awips.nc nav. mismatch Nx: 129 != 65

 

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

 

4.  Even though I'm getting hundreds (thousands) of mismatch statements I do get a large .nc file.

 

From there I'm tried to put it into my designated input directory in the GFE/IFPS but do not see it available when I run the program.

 

Obviously I'm doing something wrong.

 

Can anyone out there help me?   Thanks in advance for any comments/suggestions, etc, I really appreciate it!

 

-Charles

 

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

 

Charles Ross

Meteorologist

Bonneville Power Administration

905 NE 11th Ave.
Portland, OR 97232

 

503-230-3159

 

address@hidden


-- 
Glenn K. Rutledge
Services Team Leader
Remote Sensing and Applications Division
NOMADS Project Manager
National Oceanic and Atmospheric Administration
National Climatic Data Center
Asheville NC 28801
Phone: (828) 271-4097
Fax: (828) 271-4328

NOMADS: http://nomads.ncdc.noaa.gov/