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

Re: questions about gribtonc.



Yan,

There were a couple of errors in the code, I fixed some of them. Tomorrow
I'll be in meeting all day so no work.  There are more errors to fix then
I'll make a  distribution for you to test.

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
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================