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

Re: FW: Problem finding udunits file (UPDATE)



On Thu, 20 Jan 2005, Tomislav Urban wrote:

> Robb -
>
>
>
> I've changed the files that are out there so let me give you new links:
>
>
>
> Grib:
> http://granger.tacc.utexas.edu/eta/data/2005/01/20/eta218_200501200000.g
> rib
>
> CDL:
> http://granger.tacc.utexas.edu/eta/data/2005/01/20/eta218_200501200000.c
> dl
>
> NetCDF:
> http://granger.tacc.utexas.edu/eta/data/2005/01/20/eta218_200501200000.n
> c
>
>
>
> Also, I realized that I didn't answer one of your questions.  I _was_
> able to create the nc as follows:
>
>
>
> eta218_200501200000.grib
>
>
>
> However, the NC does not appear to be correct as I cannot get any maps
> out of it with IDV. (Though I can open it and see the "plan views")
>


Tomislav,

i not familar with grid 218, is there anything special about it. wondering
the cause of the oversize errors.  i did a gribtocdl and a gribtonc on the
above file.  my cdl looks like the one you created. the .nc file looks
like there was data for some of the vars.  what vars are you using?


robb...
>
>
> Thanks!
>
>
>
> ________________________________
>
> From: Tomislav Urban
> Sent: Wednesday, January 19, 2005 5:35 PM
> To: 'Robb Kambic'
> Cc: decoders
> Subject: FW: Problem finding udunits file
>
>
>
> I don't think the attachment was allowed through...resending with link
> to cdl here:
>
>
>
> http://granger.tacc.utexas.edu/eta/data/2005/01/18/eta218_200501180000.c
> dl
>
>
>
> ________________________________
>
> From: Tomislav Urban
> Sent: Wednesday, January 19, 2005 3:23 PM
> To: 'Robb Kambic'
> Cc: decoders
> Subject: RE: Problem finding udunits file
>
>
>
> Robb -
>
>
>
> Thanks for the reply.  I'm attaching the CDL that was created.  The
> original grib is too large to attach, but you can get it at:
> http://granger.tacc.utexas.edu/eta/data/2005/01/18/eta218_200501180000.g
> rib
>
>
>
> The grib above was obtained via LDM using the following entry in the
> pqact.conf:
>
>
>
> HRS   ^[YZ].B... KWBE ([0-3][0-9])([0-2][0-9][0-6][0-9])    FILE
> /usr/local/ldm/data/eta/(\1:yyyy)/(\1:mm)/\1/eta218_(\1:yyyy)(\1:mm)\1\2
> .grib
>
>
>
> I took off the -close flag on FILE, do you think that might be part of
> the problem?
>
>
>
> Thanks again!
>
>
>
> - Tomislav
>
>
>
> -----Original Message-----
> From: Robb Kambic [mailto:address@hidden]
> Sent: Wednesday, January 19, 2005 3:15 PM
> To: Tomislav Urban
> Cc: decoders
> Subject: RE: Problem finding udunits file
>
>
>
> On Wed, 19 Jan 2005, Tomislav Urban wrote:
>
>
>
> > Great!  Thanks that worked.
>
> >
>
> > Working with a small grib noted below I was able to get all the way to
>
> > the NetCDF and view it, so that's looking good.  However, when I tried
>
> > to run gribtocdl on the real grib obtained from LDM I received several
>
> > errors along these lines:
>
> >
>
> > [root@granger CRWR]# gribtocdl -v eta218_200501180000.grib >
>
> > eta218_200501180000.cdl
>
> > Jan 19 17:01:02 gribtocdl[24090]: Starting Up
>
> > Jan 19 17:01:02 gribtocdl[24090]: oversize GRIB product 2
>
> > Jan 19 17:01:02 gribtocdl[24090]: GRIB product: YZBA89 KWBE 180000
>
> > Jan 19 17:01:02 gribtocdl[24090]: oversize GRIB product 2
>
> > Jan 19 17:01:02 gribtocdl[24090]: GRIB product: ZZBB89 KWBE 180000
>
> > Jan 19 17:01:03 gribtocdl[24090]: oversize GRIB product 2
>
> > Jan 19 17:01:03 gribtocdl[24090]: GRIB product: YPBA98 KWBE 180000
>
> >
>
> > ...
>
> >
>
> > Jan 19 17:01:28 gribtocdl[24090]: oversize GRIB product 2
>
> > Jan 19 17:01:28 gribtocdl[24090]: GRIB product: ZPBT98 KWBE 180000
>
> > Jan 19 17:01:28 gribtocdl[24090]: EOF on input
>
> > Jan 19 17:01:28 gribtocdl[24090]: Exiting
>
> > Jan 19 17:01:28 gribtocdl[24090]: 319 WMO msgs, 319 GRIBs decoded, 319
>
> > written
>
>
>
> appears some of the files are corrupt, probably missing the 7777
>
> terminations or worst a bug.  did a cdl file get created?  if so did
>
> gribtonc run on the data.  we don't save/get the awips data so a sample
> of
>
> the data would help.
>
>
>
> robb...
>
>
>
>
>
>
>
> >
>
> > I have read something in the archives about using dcgrib2, but as an
>
> > alternative to dcgrib rather than as an alternative to gribtocdl.
>
> >
>
> > Thanks so much for your help!
>
> >
>
> > -----Original Message-----
>
> > From: Robb Kambic [mailto:address@hidden]
>
> > Sent: Wednesday, January 19, 2005 10:43 AM
>
> > To: Tomislav Urban
>
> > Cc: decoders
>
> > Subject: Re: Problem finding udunits file
>
> >
>
> >
>
> > On Wed, 19 Jan 2005, Tomislav Urban wrote:
>
> >
>
> > > Hope this is the appropriate forum:
>
> > >
>
> > >
>
> > >
>
> > > I'm trying to run gribtonc to convert the LDM eta grib to NetCDF.  I
>
> > am
>
> > > able to generate the cdl file as follows:
>
> > >
>
> > >
>
> > >
>
> > > [ldm@granger CRWR]$ gribtocdl -v narr.grb > narr.cdl
>
> > >
>
> > > Jan 19 16:09:40 gribtocdl[23916]: Starting Up
>
> > >
>
> > > Jan 19 16:09:40 gribtocdl[23916]: EOF on input
>
> > >
>
> > > Jan 19 16:09:40 gribtocdl[23916]: Exiting
>
> > >
>
> > > Jan 19 16:09:40 gribtocdl[23916]: 9 WMO msgs, 9 GRIBs decoded, 9
>
> > written
>
> > >
>
> > >
>
> > >
>
> > > However, when I try to create the NetCDF it seems to be having
> trouble
>
> > > finding something in udunits:
>
> > >
>
> > >
>
> > >
>
> > > [ldm@granger CRWR]$ gribtonc -v narr.cdl narr.nc < narr.grb
>
> > >
>
> > > fgets(): Is a directory
>
> > >
>
> > > udunits(3): Error occurred at line 1
>
> > >
>
> > > udunits(3): Couldn't read units-file
>
> > "/usr/local/udunits/udunits-1.11.7"
>
> > >
>
> > >
>
> > >
>
> > > My environment settings are as follows:
>
> > >
>
> > >
>
> > >
>
> > > export CPP_UDUNITS=-I/usr/local/udunits/udunits-1.11.7/include
>
> > >
>
> > > export LD_UDUNITS='-L/usr/local/udunits/udunits-1.11.7/lib
> -ludunits'
>
> > >
>
> > > export UDUNITS_PATH='/usr/local/udunits/udunits-1.11.7'
>
> > >
>
> > >
>
> > >
>
> > > There is indeed no file in /usr/local/udunits/udunits-1.11.7, rather
>
> > it
>
> > > contains the udunits directories.
>
> > >
>
> > >
>
> > >
>
> > > Any thoughts?
>
> > >
>
> >
>
> >
>
> > Tomislav,
>
> >
>
> > udunits is looking for udunits.dat file.  if you set UDUNITS_PATH to
> the
>
> > file location it will solve the problem. ie
>
> >
>
> > % setenv UDUNITS_PATH ~ldm/etc/udunits.dat
>
> >
>
> > details in url:
>
> >
>
> >
> http://my.unidata.ucar.edu/cgi-bin/getfile?file=/content/support/help/Ma
>
> > ilArchives/decoders/msg00228.html&line=60#glimpse
>
> >
>
> > robb...
>
> >
>
> >
>
> >
>
> > >
>
> > >
>
> > > -          Tomislav Urban
>
> > >
>
> > > -          Texas Advanced Computing Center
>
> > >
>
> > >
>
> >
>
> >
> ========================================================================
>
> > =======
>
> > Robb Kambic                          Unidata Program Center
>
> > Software Engineer III                Univ. Corp for Atmospheric
>
> > Research
>
> > address@hidden             WWW:
>
> > http://www.unidata.ucar.edu/
>
> >
> ========================================================================
>
> > =======
>
> >
>
>
>
> ========================================================================
> =======
>
> Robb Kambic                            Unidata Program Center
>
> Software Engineer III                  Univ. Corp for Atmospheric
> Research
>
> address@hidden               WWW: http://www.unidata.ucar.edu/
>
> ========================================================================
> =======
>
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================