Re: gridtonc for GEM

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

On Thu, 2 Oct 2003, Stuart Wier wrote:

>To: <support@xxxxxxxxxxxxxxxx>
>cc: "Peter Lewis \(COMET\)" <plewis@xxxxxxxxxxxxxx>,
>cc: "Tim Alberta" <alberta@xxxxxxxxxxxxxx>
>From: "Garry Toth" <gtoth@xxxxxxxxxxxxxx>
>Subject: IDV question
>Organization: UCAR/COMET
>Keywords: 200310011755.h91HtIk1025833 IDV GEM

Hi,

    Unidata currently receives forecast files from the Canadian GEM
regional
model from the Canadian Meteorological Centre.  Could those data be
converted into the correct format (netCDF??) to allow them to be
available
to the new IDV application?  What would be involved in doing this?
Thanks.

Garry Toth
COMET


Hiya,

Yes Unidata receives the the GEM products and yes they can be converted to
netCDF files correctly.  I can't make the statement that they are viewable
with the IDV but Stu will check on it for you. Stu?

To create the GEM netCDF files one needs to use the gribtocdl program to
create the cdl then the gribtonc program create  the netCDF file. I
created a GEM.cdl that I'll attach, it should be syntacally correct but
the verbage inside the cdl probably should be corrected. If GEM.cdl works
then forget about using the gribtocdl and just configure pqact.conf for
the gribtonc.

The pqact.conf entry would be something like:

# Canadian GEM data
CMC|EXP
CMC_GEM_reg_.*_.*_([12][0-9][0-9][0-9])([0-1][0-9])([0-3][0-9])([0-2][0-9])_
(.*).grib
        PIPE    decoders/gribtonc
        etc/GEM.cdl
        data/GRIB/\1\2\3\4_\5_GEM.nc

The entry wrapped, needs corrected and checked for correct tab insertions.



One can check gribtonc on command line by a similar entry to:

gribtonc -l - GEM.cdl gem.nc < 2003100112_P18.cmcgem


Robb...

==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================
  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: