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

RE: New decoders release



On Tue, 1 Apr 2003, HOETH, BRIAN R. (JSC-ZS) (LM) wrote:

> Robb,
>
> Thanks!  It worked!  If I may trouble you some more, I have a few more
> questions:
>
> (1) Is there a User's Guide for the decoders package?

Brian,

There no user's guide per se but there's README.perlDecoders and I'll send
examples of the ldm pqact.conf entries as a attachment. Look for the
gribtonc entries.

>
> (2) I'm wanting to mess around with gribtonc, but I can't find any
> documentation on it.  I tried "man gribtonc", but I'm told there is No
> manual entry for gribtonc?  I'm not sure why because I see gribtonc.1 in
> /home/ldm/man/man1 and I have added /home/ldm/man, /home/ldm/man/man1, and
> /home/ldm/man/man3 to MANPATH?
>

The man files are in the man directory of the decoders package, same level
as the src directory.  Either copy them to the ldm man directory or add
that directory to the MANPATH environment variable.  Also you can go to
the man directory and do command line nroff, ie

% nroff -man gribtonc.1 | more


> (3) Where should I put the *.cdl files?

The cdls are usually placed in the ~ldm/etc directory.  The decoders
binaries are usually located in a ~ldm/decoders directory also.

Robb...
>
> Thanks!
>
> Brian
>
> -----Original Message-----
> From: Robb Kambic [mailto:address@hidden]
> Sent: Tuesday, April 01, 2003 10:31 AM
> To: HOETH, BRIAN R. (JSC-ZS) (LM)
> Cc: decoders
> Subject: RE: New decoders release
>
>
> On Mon, 31 Mar 2003, HOETH, BRIAN R. (JSC-ZS) (LM) wrote:
>
> > Robb,
> >
> > OK, I grabbed the binary distributions of udunits and netcdf and was able
> to
> > get the source distribution of netcdf-perl to seemingly install without
> > problems.  I've grabbed the
> > decoders-2.4.4.tar.Z file and the decoders_patches.tar file.  I unzipped
> and
> > untarred decoders-2.4.4.tar.Z and tried to run:
> >
> > (./configure & make install install clean) >&! log
> >
> > No joy!  No what?  I've attached my log file, my CUSTOMIZE file, the
> results
> > of "uname -a" (uname.out).  For kicks, I attached the results of "perl -V"
> > too (perl.out).  Are there any "known" settings for the CUSTOMIZE file for
> > my linux OS?
>
> Brian,
>
> I think the problem is your compiler flag -traditional. Here's what to do:
>
> % make distclean   in src dir of decoders-2.4.4
> % setenv CC gcc
> % (./configure & make all test install clean) >&! log &    Note changes
> % tail -f log
>
> Let me know how this works out.
>
> Robb...
>
> ps log info stuff really helps out in debugging problems
> >
> > Thanks!
> >
> > Brian
> >
> > P.S. - I've obviously never tried to install decoders.tar.Z before in case
> > you hadn't guessed.
> >
> >
> > -----Original Message-----
> > From: Robb Kambic [mailto:address@hidden]
> > Sent: Thursday, March 27, 2003 10:35 AM
> > To: HOETH, BRIAN R. (JSC-ZS) (LM)
> > Cc: decoders
> > Subject: RE: New decoders release
> >
> >
> > On Thu, 27 Mar 2003, HOETH, BRIAN R. (JSC-ZS) (LM) wrote:
> >
> > > Robb,
> > >
> > > Question:  Are the binary distributions of udunits, netcdf, and
> > netcdf-perl
> > > sufficient in order to install decoders-2.4.4.tar.Z or should I attempt
> to
> > > install the source distributions of each of the auxilliary packages?
> >
> > Brian,
> >
> > If the binaries are available, you could use them.  the decoders package
> > needs the libraries and include files for netcdf and udunits. I don't
> > think netcdf-perl is available as a binary though
> >
> > Let me know of problems.
> >
> > Robb...
> >
> >
> > >
> > > Thanks,
> > > ---------------
> > > Brian Hoeth
> > > Spaceflight Meteorology Group
> > > Johnson Space Center
> > > Ph: 281-483-3246
> > > Ops:  281-483-1051
> > >
> > >
> > > -----Original Message-----
> > > From: Robb Kambic [mailto:address@hidden]
> > > Sent: Friday, February 28, 2003 3:53 PM
> > > To: address@hidden
> > > Cc: decoders
> > > Subject: New decoders release
> > >
> > >
> > >
> > > Hiya,
> > >
> > > I'm pleased to announce the tested release of Decoders 2.4.4.  Remember
> > > the last release was a beta release, since then there have been many
> > changes
> > > to make decoders more robust. If any of the following release notes
> apply
> > or
> > > there are gribtonc messages in the ldmd.log file, I suggest that one
> > > installs the latest release.
> > >
> > > Release Notes since last release:
> > >
> > > 2.4.4 2003-02-25        added vars gust_sfc to ruc2.cdl and vars
> Tmin_fhg
> > > and
> > >                         Tmax_fhg to avn-x.cdl
> > >                         mods to gdes.c gribtocdl.[1c] inetutil.c ulog.h
> so
> > >                         code compiles on AIX boxes.
> > >
> > > 2.4.3 2003-02-21        modifications so user parms functionality works
> > >                         correctly in the code, added this functionality
> to
> > >                         gribdump. Also updated the man pages. mods to:
> > >                         gribtocdl.c, params.c, gribdump.c, gribtonc.1
> and
> > >                         gribdump.1
> > >
> > > 2.4.2 2003-02-19        Added the PNO indicator for Metar decoder
> > >                         In gdes.c, changed i_dim from lat to lon
> > >                         fixed avn-1.0x1.0.cdl also
> > >
> > > 2.4.1 2003-01-31        Fixed some error for the avn-1.0x1.0 Grid.  Also
> > > fixed
> > >                         errors for the Gaussian lat/lon grid, plus other
> > > fixes
> > >                         mods to gribtocdl.c gdes.c nc.c
> > >
> > > Other fixes forgotten to be entered in Notes.
> > >
> > > To reiterate a couple of gribtocdl notes:
> > >
> > > - Use a representative dataset when creating a CDL file with gribtocdl.
> If
> > > the
> > >   dataset is missing a variable, it will also be missing in the CDL.
> > >
> > > - Consider the created CDL as a starting point, minor tweaks are usually
> > >   needed.
> > >
> > > - The external table file feature for variable name override has not
> > >   been tested much, but needs to be used with gribtocdl as well as
> > >   gribtonc to override variable names. It can also be used with
> gribdump.
> > >
> > > - Default variable names follow NUWG conventions.
> > >
> > >
> > > To get the decoders code via ftp:
> > >
> > > % ftp www.unidata.ucar.edu
> > > login as anonymous
> > >
> > > % cd pub/decoders
> > > % get decoders-2.4.4.tar.Z
> > >
> > >
> > > If problems are found, please send email to address@hidden
> with
> > > information necessary to reproduce the problem, error messages, and log
> > > messages.
> > >
> > > Thanks,
> > > Robb...
> > >
> > >
> >
> ============================================================================
> > > ===
> > > Robb Kambic                                  Unidata Program Center
> > > Software Engineer III                        Univ. Corp for
> Atmospheric
> > > Research
> > > address@hidden               WWW: http://www.unidata.ucar.edu/
> > >
> >
> ============================================================================
> > > ===
> > >
> >
> >
> ============================================================================
> > ===
> > Robb Kambic                            Unidata Program Center
> > Software Engineer III                          Univ. Corp for Atmospheric
> > Research
> > address@hidden                 WWW: http://www.unidata.ucar.edu/
> >
> ============================================================================
> > ===
> >
> >
>
> ============================================================================
> ===
> Robb Kambic                              Unidata Program Center
> Software Engineer III                    Univ. Corp for Atmospheric
> Research
> address@hidden                   WWW: http://www.unidata.ucar.edu/
> ============================================================================
> ===
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================
##
# NOAAport ETA grids
# Grid #211 80km CONUS:    ^[YZ].Q.*/mETA
# Grid #212 40km CONUS:    ^[YZ].R.*/mETA
# Grid #215 20km CONUS:    ^[YZ].U.*/mETA
# Grid #214 47.5km Alaska: ^[YZ].T.*/mETA
# Select any/all grids desired from [QRUT]
#
# RUC/MAPS model output
# Grid #211 CONUS   80km: ^[YZ].Q.*/mRUC
# Currently, only grid #211
#
# NGM model output
# Grid #211 CONUS   80km: ^[YZ].Q.*/mNGM
# Grid #207 Alaska  95km: ^[YZ].N.*/mNGM
# Grid #202 CONUS  190km: ^[YZ].I.*/mNGM
# Grid #213 CONUS 47.5km: ^[YZ].H.*/mNGM
# Select any/all grids desired from [QNIH]

HRS     ^[YZ].(.)... KWB. ([0-3][0-9])([0-2][0-9]).*/m(ETA|NGM|RUC)
        FILE
        data/pub/raw/hrs/model/\1/(\2:yyyy)(\2:mm)\2\3_\4.wmo

# NOAAport MRF grids
# Grid #201 N. Hemisphere 381km: ^Y.A... KWBH
# Grid #202 CONUS         190km: ^Y.I... KWBH
# Grid #203 Alaska        190km: ^Y.J... KWBH
# Grid #204 Hawaii        160km: ^Y.K... KWBH
# Grid #205 Puerto Rico   190km: ^Y.L... KWBH
# Select any/all grids desired from [AIJKL]

HRS     ^[YZ].(.)... KWBH ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/\1/(\2:yyyy)(\2:mm)\2\3_MRF.wmo

# AVN model output
# Grid #201 N. Hemisphere 381km: ^Y.A... KWBC.*(/mAVN|/mSSIAVN)
# Grid #202 CONUS         190km: ^Y.I... KWBC.*(/mAVN|/mSSIAVN)
# Grid #203 Alaska        190km: ^Y.J... KWBC.*(/mAVN|/mSSIAVN)
# Grid #211 CONUS          80km: ^Y.Q... KWBC.*(/mAVN|/mSSIAVN)
# Grid #213 CONUS          95km: ^Y.H... KWBC.*(/mAVN|/mSSIAVN)
# Select any/all grids desired from [QAIJH]

HRS     ^[YZ].([QAIJH])... KWB. ([0-3][0-9])([0-2][0-9]).*(/mAVN|/mSSIAVN)
        FILE
        data/pub/raw/hrs/model/\1/(\2:yyyy)(\2:mm)\2\3_AVN.wmo

# Global AVN (Spectral) Thinned grids
# Grid octets I-P will be stitched togethir as a single global grid
#
#
HRS     ^H.[I-P]... KWB[^K] ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/thin/(\1:yyyy)(\1:mm)\1\2_AVN.wmo
#
#Ensemble members
HRS     ^H.[I-P]... KWBK ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/ensemble/(\1:yyyy)(\1:mm)\1\2_ENS.wmo
#
# Global UKMet thinned grids
HRS     ^H.[I-P]... EGRR ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/ukmet_wafs/(\1:yyyy)(\1:mm)\1\2_UKM.wmo

#  MRF grids - Extended range grids E and F
#
HRS     ^H.[EF][A-Z][0-9][0-9] KWB. ([0-3][0-9])([0-2][0-9])..
        FILE
        data/pub/raw/hrs/model/extended/(\1:yyyy)(\1:mm)\1\2_MRF.wmo

#  Spectral grids - grids A,B,C,D Global grid  Forecasts (wind & waves, 
temperature)
##
HRS     ^H[A-Z][ABCD][A-Z][0-9][0-9] KWB. ([0-3][0-9])([0-2][0-9])..
        FILE
        data/pub/raw/hrs/model/spectral/(\1:yyyy)(\1:mm)\1\2_WAVE.wmo

# Bitmap ocean
#
HRS     ^H[HKLTUV][T-W][ACEIK]93 KWB. ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/ocean/(\1:yyyy)(\1:mm)\1\2_OCEAN.wmo

# ECMWF GRIB products, decode into yymmdd_ecmf#.gem (e1=global,e2=+/-35lat)
#
HRS     ^H[RHPT][A-L][A-Z][0-9][0-9] ECMF ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/ecmwf/(\1:yyyy)(\1:mm)\1\2_ECMWF1.wmo

HRS     ^H[UV][A-L][A-Z][0-9][0-9] ECMF ([0-3][0-9])([0-2][0-9])
        FILE
        data/pub/raw/hrs/model/ecmwf/(\1:yyyy)(\1:mm)\1\2_ECMWF2.wmo
#
##########################################################################
####################################################################
#
# netCDF Decoders
#
####################################################################
#
# NMC and ECMWF GRIB products (decoded by gribtonc):

# AVN model on global 5.0 x 2.5 degree grids
HRS     ^H.[A-D]... KWB. (..)(..).*/mAVN
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/avn-a.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_avn-a.nc

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

# AVN 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/gribtonc1
        -q "lin,dlat=2.5,dlon=5.0" etc/avn-x.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_avn-x.nc

# ECMWF model on global 2.5 x 2.5 degree grid
# changed because ecmf increases model number for every model modification
# HRS   ^H.[A-L]... ECMF (..)(..).*(/m13[12]|/mECMF)
HRS     ^H.[A-L]... ECMF (..)(..)
        PIPE    /usr/local/ldm/decoders/gribtonc1
        etc/ecmwf.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ecmwf.nc

# ETA model on Lambert conformal CONUS grid
HRS     ^Y.Q... KWB. (..)(..).*/mETA
        PIPE    /usr/local/ldm/decoders/gribtonc1
        etc/eta.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_eta.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/mrf-a.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_mrf-a.nc

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

# NGM model on US staggered grid
HRS     ^H.G... KWB. (..)(..).*(/mNGM|/mROI)
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ngm-g.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ngm-g.nc

# NGM model on Lambert conformal CONUS grid
HRS     ^Y.Q... KWB. (..)(..).*/mNGM
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ngm-q.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ngm-q.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.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ocean.nc

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

# RUC2 model on Lambert conformal CONUS grid
#NMC2   (nggrib|pggrib|sgrib)/ruc2a.(......)/ruc2.T(..)Z
#       PIPE    /usr/local/ldm/decoders/gribtonc
#       etc/ruc2.cdl
#       data/pub/decoded/netcdf/GRIB/\2\3_ruc2.nc
#
# RUC2 model on Lambert conformal CONUS grid -- from shemp's pqact.conf
HRS     ^Y.W... KWBG (..)(..).*/mRUC2
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/ruc2.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_ruc2.nc

# SNO model on northern hemisphere 2.0 x 2.0 degree grid
HRS     ^H.[TU]... .... (..)(..).*/mSNO
        PIPE    /usr/local/ldm/decoders/gribtonc
        etc/sno.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_sno.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-a.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_sst-a.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-t.cdl
        data/pub/decoded/netcdf/GRIB/(\1:yyyy)(\1:mm)\1\2_sst-t.nc

#
# All aviation reports including metar tests, broken/written to stn files
DDS|IDS ^S(A....|P....|XUS8.) .... ([0-3][0-9])
        PIPE    /local/ldm/decoders/metarWriter
        data/pub/raw/metar
        (\2:yyyy)(\2:mm)
#
####
# sao perl decoder
# All aviation reports files yymmddhh_perl_sao.nc
#DDS|IDS        ^S(A....|P....|XUS91) .... ([0-3][0-9])([0-2][0-9])
#       PIPE    /local/ldm/decoders/sao2nc
#               etc/sao.cdl
#               data/pub/decoded/netcdf/surface/(\2:yy)(\2:mm)\2\3_perl_sao.nc
#
# metar decoder, creates NetCDF files formated data/decoded/yymmddhh_metar.nc
#
# 20030203 - changed output file names to use 4 digit year (TCY)
# 20030203 - changed output file names back to use of 2 digit year (TCY)
# All aviation reports including metar tests
DDS|IDS ^S(A....|P....|XUS8.) .... ([0-3][0-9])
        PIPE    /local/ldm/decoders/metar2nc
        etc/metar.cdl
        data/pub/decoded/netcdf/surface
        (\2:yy)(\2:mm)
#
# upper air perl decoder
DDS|IDS ^U[ABDEFGHIJKLMPQRSTXZ].... .... ([0-3][0-9])
        PIPE    /local/ldm/decoders/ua2nc
                etc/raob.cdl
                data/pub/decoded/netcdf/upperair
                (\1:yy)(\1:mm)

# buoy reports in yymmddhh_buoy.nc decoded into NetCDF format
DDS|IDS ^S[NS].... .... ([0-3][0-9])
        PIPE    /local/ldm/decoders/buoy2nc
                etc/buoy.cdl
                data/pub/decoded/netcdf/surface
                (\1:yy)(\1:mm)

#
# Synoptic reports in yymmddhh_syn.nc decoded into NetCDF format
DDS|IDS ^SM.... .... ([0-3][0-9])
        PIPE    /local/ldm/decoders/syn2nc
                etc/syn.cdl
                data/pub/decoded/netcdf/surface
                (\1:yy)(\1:mm)
#