Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[GEMPAK #WME-299665]: FW: LDM Data Feed for COSMIC Data



Hi Samuel,

re:
> How do I decode COSMIC data for GEMPAK?  I can see there is a dccosmic program,

Yes, dccosmic is the COSMIC decoder that Chiz wrote for GEMPAK before he left
Unidata.

> but what directory should I put the resultant file,

I am not sure, but I would guess that it would be in the same directory/directory
structure for other files that can be used for the Nsharp application.

> and should I use and command line options?

Run the decoder from the command line to see the command line options.
For example:

<as 'ldm'>
cd ~ldm
decoders/dccosmic
Usage: decoders/dccosmic [options] output_file
Options:
        -h           Print the help file, then exit the program
        -f filename  Input NetCDF file (default is stdin)
        -n filename  Output NetCDF file name (default not saved)
                     [-n is ignored if -f is used]
        -l filename  Log output (default uses local0, '-' to stdout
        -v           Verbose logging
        -x           Debug logging
        -e VAR=value    Set an environmental variable in program
        -b filebin   When NN template is used, filebin is minutes to put in single file

The setup that Chiz was using for the COSMIC data had not matured enough
for him to be decoding the COSMIC data routinely.  What he did was FILE
the COSMIC netCDF files and then apparently run 'dccosmic' by hand.  Here
is the pqact.conf entry he used to FILE the COSMIC netCDF files:

#######################################################################################
#
# COSMIC NetCDF files
# eg: (wetPrf_C006.2007.240.16.05.G09_0001.0002_nc)
EXP     cosmicrt/.*/(wetPrf_.*_nc)
        FILE    -overwrite      -close  data/cosmic/\1

> Should a pqact.conf entry look like this:

> EXP     (cosmic.*).nc$
>         PIPE    -close decoders/dccosmic
>         -d data/gempak/logs/dccosmic.log
>         -e GEMTBL=/home/gempak/GEMPAK5.11.1/gempak/tables
>         Data/gempak/gps/YYYYMMDD_cosmic.gem

This looks reasonable.  Give it a try.

> I can find NO corresponding documentation to this effect.
 
I don't believe that there is any.

Cheers,

Tom
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
support@xxxxxxxxxxxxxxxx                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: WME-299665
Department: Support GEMPAK
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690