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

20031001: IDV question



Gary,

The IDV works normally with GEM data that was converted to netCDF format
using the technique Robb Kambic wrote you about. Robb made two test GEM
netCDF files and I just tried them.

For the record Robb's reply is repeated below.

Stu Wier


> >To: <address@hidden>
> >cc: "Peter Lewis \(COMET\)" <address@hidden>,
> >cc: "Tim Alberta" <address@hidden>
> >From: "Garry Toth" <address@hidden>
> >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
> 

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

-- 
****************************************************************************
Unidata User Support                                    UCAR Unidata
Program
303 497 8643                                                  P.O. Box
3000
address@hidden                                   Boulder, CO
80307
----------------------------------------------------------------------------
Unidata WWW Service             
http://my.unidata.ucar.edu/content/support
****************************************************************************