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

20020302: Trying to use dcgrib2 to convert NCAR grib file



>From: "Robert J. Ballentine" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200203021952.g22Jqjx05318

>Support:
>   One of our met majors is doing research on a Jan 1996 case of CSI.  I
>pulled over an initial analysis of the ETA from the NCAR DSS in GRIB
>format.  The file has the name 96011300.AWIP3D00.tm00.  I want to convert
>the file to gempak format so that the student can look at it using GARP.
>   When I type
>       /apps/NAWIPS/bin/linux/dcgrib2 96011300.AWIP3D00.tm00
>I get the following message after about 10 minutes:
>       [25201] 020302/1436 [DC 3]
>
>[25201] 020302/1447 [DC 5]
>[25201] 020302/1447 [DC 2] Number of bulletins read and processed: 0
>[25201] 020302/1447 [DC 6]
>   Can you tell me how to do this or if it is even doable?
>Thanks,
>Bob Ballentine
>

Bob,

dcgrib accepts input from standard input (eg a pipe). You can do this as 
follows"

cat 96011300.AWIP3D00.tm00 | dcgrib2 -d - YYYYMMDDHH_eta@@@.gem


The decoder will automatically replace the templates in the output file name 
with the appropriate
fields found in the data.

Steve Chiswell