Yan,
Thanks for pointing out the bug and including the grib file. I believed
that the bugs are now fixed for the Gausian lat/lon grid. I created a new
cdl file by:
% gribtocdl -v test.grib > rtest.cdl
I'm also including the cdl as a reference. I made a decoders release in
the ftp dir pub/decoders/decoders-2.4.1.tar.Z that has all the changes.
Get via ftp:
% ftp www.unidata.ucar.edu
Let me know if any problems occur.
Robb...
On Wed, 29 Jan 2003, Yan Gu wrote:
Hello Mr. Kambic,
I have some questions about "gribtonc". I have downloaded it from ucar. It
has been sucefully installed. However, when I used it to transfer a grib
file to netCDF file, I got a "Bus error". I checked the log file. It gave
me such message:
Jan 29 16:29:36 gribtonc[724504]: Starting Up
Jan 29 16:29:36 gribtonc[724504]: test.nc: no variable for N
Jan 29 16:29:36 gribtonc[724504]: test.nc: can't get navigation
information
Jan 29 16:29:36 gribtonc[724504]: make_ncfile failed
I checked my cdl file. The line related to this is:
float n(nav) ;
n:long_name = "XXX" ;
n:units = "" ;
When I used gribdump -h to get the header of my grib file, it said:
Parameter : 71 (N)
Units : percent
After I changed the units of n to "persent", I still got error message in
the log file.
Jan 29 16:41:36 gribtonc[711032]: Starting Up
Jan 29 16:41:36 gribtonc[711032]: Error parsing units: persent
Jan 29 16:41:36 gribtonc[711032]: test.nc: can't get units attribute for
variable n
Jan 29 16:41:36 gribtonc[711032]: test.nc: no variable for N
Jan 29 16:41:36 gribtonc[711032]: test.nc: can't get navigation
information
Jan 29 16:41:36 gribtonc[711032]: make_ncfile failed
Attached is the cdl file I am using and the grib file I used to test. Do
you have some clue about this and would you please help me out?
Yan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yan Gu
Sr. Computer Program Analyst
Center For Ocean-Atmospheric Prediction Studies
Florida State University
Express Mail: 2035 E. Paul Dirac Drive
R. M. Johnson Bldg. -Suite 233
Tallahassee, FL32310
Tel: (850)644-6935 (OFFICE) (850)574-9877 (HOME)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/
==============================================================================