Hi Robb,
I found your contact information online, I was wondering if you could help me
with an error message I am getting when using the "gribtonc" decoder. The
idea is to convert grib1 files into netcdf ones to use as input for a
transport model designed to track volcanic emissions.
I am using 1deg GFS grib2 data from NCEP (ftpprd.ncep.noaa.gov server,
directory: /pub/data/nccf/com/gfs/prod), which I convert to grib1 using
NCEP's "cnvgrib" tool and then I run UCAR's "gribtonc" to create the input
netcdf file for the model. The conversion of grib2 to grib1 appears to be ok,
and the installation of "gribtonc" passed the installation test suggesting it
is also ok. However, when I run "gribtonc" I get the following :
$ gribtocdl gfs.t06z.pgrbf00.grib1 > template.cdl
$ gribtonc template.cdl 2009070906_gfs.nc < gfs.t06z.pgrbf00.grib1 -l log
Segmentation fault
$ more log
Aug 04 09:59:05 gribtonc[29991]: Error parsing units: ln(kPa)
Aug 04 09:59:05 gribtonc[29991]: 2009070906_gfs.nc: can't get units attribute
for variable ln_pres
For testing purposes I replaced the file "template.cdl" with a customized one
that selects only the variables of interest (T, u, v, z) but the problem
persisted.
Any thoughts on the error message above?
Thanks,
Wilfrid