[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20040205: netCDF Decoders - Sun OS - pgb.cdl file?
- Subject: Re: 20040205: netCDF Decoders - Sun OS - pgb.cdl file?
- Date: Thu, 5 Feb 2004 13:12:35 -0700 (MST)
On Thu, 5 Feb 2004, Unidata Support wrote:
>
> ------- Forwarded Message
>
> >To: address@hidden
> >From: "Mark Emanuel" <address@hidden>
> >Subject: netCDF Decoders - Sun OS - pgb.cdl file?
> >Organization: St. Louis University
> >Keywords: 200402050247.i152l1Qu025968 decoders gribtonc
>
> Institution: St. Louis University Dept. of Earth & Atmospheric Science
> Package Version: 2.4x
> Operating System: Sun OS
> Hardware Information: unknown
> Inquiry: Hi;
> I'm trying to use the gribtonc conversion program to take pgb.xxx files and
> convert them to netCDF files for use in IDV. Unfortunately, I am lacking a
> pgb.cdl file in my gribtonc directory. I do have many others (eta, ngm, ruc,
> etc.), but pgb is not present. Where can I get a copy of a pgb.cdl file, or
> could you send it to me?
Mark,
Unidata usually supplies cdl files for most of the real-time models, to
create a cdl for other data, ie pgb use the gribtocdl utility that is
included with the decoders package. The gribtocdl reads the raw grib files
and extracts the needed information about the model and variables. To run
gribtocdl, first concatenate some grib files that have all the variables
one wants in the netCDF file. Then run gribtocdl on the concatenated
file, ie
% gribtocdl -v <raw grib file>
This outputs a cdl file, one can redirect it to a file, ie pgb.cdl
The pgb.cdl needs to be fine tuned, edit the file to fill in the
placeholders, etc. Then run gribtonc on the file to find any other
errors, ie
% gribtonc -v -l - pgb.cdl pgb.nc < pgb.input
The decoders package has a man page on gribtocdl for extra help.
Robb...
> Thanks for your time,
> Mark Emanuel
> Undergraduate Research Assistant
> St. Louis University Dept. of Earth & Atmospheric Science
>
>
>
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web. If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
> --
>
> ------- End of Forwarded Message
>
>
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================