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

Re: 20040212: LDM - Linux 8 - pqact.conf file



On Thu, 12 Feb 2004, Unidata Support wrote:

>
> ------- Forwarded Message
>
> >To: address@hidden
> >From: "Rodney Jacques" <address@hidden>
> >Subject: LDM - Linux 8 - pqact.conf file
> >Organization: Naval Postgraduate School
> >Keywords: 200402130012.i1D0C9aC016212 netCDF decoders
>
> Institution: Naval Postgraduate School / Department of Meteorology
> Package Version: 6.0.14
> Operating System: Linux 8
> Hardware Information: Dell poweredge 2550
> Inquiry: Hello,
>
> We are currently running LDM 6.0.14 sucessfully to access data from NWS and 
> FSL.
> I have installed udunits, netcdfperl, netcdf, and the decoders package 
> sucessfully on our system.
> I seek to convert grib files to netcdf via the LDM.
>
> Can you send me a slice of a pqact.conf file that shows:
>
> 1.  A grib file being downloaded
> 2.  A grib  file being upzipped
> 3. A grib file being converted from grib to netcdf and placed in a directory.

Rodney,

The pqact entries are attached to this email. Here's a sample entry:

# ETA model on Lambert conformal CONUS grid
HRS     ^Y.Q... KWB. (..)(..).*/mETA
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/eta_211.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_eta_211.nc

These entries are for the decoders-3.0.2 version of the decoders package.
If you are using a older version, I suggest that you download and install
the new version.

>
> Our goal is to obtain ETA12, GFS, NOGAPS, and WWIII files in a grib format 
> and convert them to netcdf that can be read by GFE.
>
If the cdl is not included in the package, you can create the cdl using
the gribtocdl program that's included in the decoders package. There's a
man  page for the details. Here's a few hints on using gribtocdl:
- concatinate products into one file to represent all the variables you
  want in the output netCDF file
- gribtocdl only produces a starting point for the cdl file, you have to
  edit the cdl to get the desired results, ie adding vars, times, etc

To test decoding with error messages output to screen:

% gribtonc -l - file.cdl file.nc < rawGribFile

Robb...

> Thanks in advance,
>
> Rodney Jacques
> NAVPACMETOCCEN
> San Diego
>
>
>
> --
>
> ------- 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/
===============================================================================
#
####################################################################
#
# netCDF Decoders
#
####################################################################
#
# NMC and ECMWF GRIB products (decoded by gribtonc):

# GFS model on Lambert conformal CONUS grid replacing avn-q
HRS     ^Y.Q... KWB. (..)(..).*(/mAVN|/mSSIAVN)
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/gfs_211.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_gfs_211.nc

# GFS model on thinned grids, interpolated to global 5.0 x 2.5 regular grid
HRS     ^H.[I-P]... KWB. (..)(..).*(/mAVN|/mSSIAVN)
        PIPE    /usr/local/ldm/decoders/gribtonc
        -q "lin,dlat=2.5,dlon=5.0" etc/gfs_37-44.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_gfs_37-44.nc

# ECMWF model on global 2.5 x 2.5 degree grid
HRS     ^H.[A-L]... ECMF (..)(..)
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ecmwf_1-12.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ecmwf_1-12.nc

# ETA model on Lambert conformal CONUS grid
HRS     ^Y.Q... KWB. (..)(..).*/mETA
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/eta_211.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_eta_211.nc

# MRF model on global 5.0 x 2.5 degree grids
HRS     ^H.[A-D]... .... (..)(..).*/m(SPEC62MRF|MRF)
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/gfs_21-24.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_gfs_21-24.nc

# MRF model on global 5.0 x 5.0 degree grid
HRS     ^H.[EF]... KWBC (..)(..)
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/gfs_25-26.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_gfs_25-26.nc

# NGM model on Lambert conformal CONUS grid
HRS     ^Y.Q... KWB. (..)(..).*/mNGM
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ngm_211.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ngm_211.nc

# NOW and PWAV models on global 5.0 x 2.5 degree grids
HRS     ^H.[A-D]... .... (..)(..).*(/mNOW|/mPWAV)
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ocean_21-24.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ocean_21-24.nc

# RUC model on Lambert conformal CONUS grid
HRS     ^[YZ].Q... KWB. (..)(..).*/mRUC
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ruc_211.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ruc_211.nc

# RUC2 model on Lambert conformal CONUS grid -- from shemp's pqact.conf
HRS     ^Y.W... KWB. (..)(..).*/mRUC2
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ruc2_236.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ruc2_236.nc

# SST model on global 5.0 x 2.5 degree grids
HRS     ^H.[A-D]... .... (..)(..).*/mSST
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/sst_21-24.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_sst_21-24.nc

# SST model on global 2.0 x 2.0 degree grid
HRS     ^H.[T-W]... .... (..)(..).*/mSST
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/sst_61-64.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_sst_61-64.nc
#