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

20051129: Gempak - File templates and gdthgt



>From: "Diane Portis" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200511291619.jATGJohd024246

>Institution: University of Illinois at Urbana-Champaign
>Package Version: GEMPAK5.7.2p2
>Operating System: linux
>Hardware Information: not sure
>Inquiry: I wanted to plot a time-height crossection of potential vorticity at 
> San Antonio using the North American Regional Reanalysis (NARR) data at F000.
>  I have converted this grib data into gempak files and there is one file/anal
> ysis time. Since you can only specify 3 files in the GDFILE parameter, I was 
> trying to use a file template in GDFILE so that I could construct the time-he
> ight plot for more than 3 times. I have added the following line in the datat
> ype.tbl file:
>NARR         $NARRgem                 narr-a_221_YYYYMMDD_HHHH_FFF.gem   CAT_G
> RD        SCAT_ANL
>
>
>I have tried many permutations of templates, but have been unsuccessful. Will 
> templates not work? Will I have to construct one file with potential vorticit
> y values for all times in order to use gdthgt?
>
>Thanks,
>Diane
>
>
>

Diane,

The datatype.tbl file format for templates is specific about the columns that
each field contains. 

!FILE TYPE  |PATH                     |FILE TEMPLATE            |CATEGORY.....
!(12)       |(25)                     |(25)                     |(8)     .....

In particular, your file template exceeds 25 characters, so you won't be able to
use that naming convention.

It is possible to have more than 3 files, for example, I have RUC data in 
hourly files,
and can plot the F000 from 12Z to 22Z with:

GDFILE   = ruc|051205/2200
GDATTIM  = 1200f000-2200f000

The use of the reference time in the GDFILE entry is important!

Steve Chiswell
Unidata User Support
 
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.