stnmap [-i fname] [-0]
stnmap is an external GrADS utility that writes out a
hash table and/or link list information for station data that allows
GrADS to access the data more efficiently. After a station data set
has been written and the accompanying data descriptor file has been
created, you must run the stnmap utility before you can
look at the data in GrADS.
The stnmap options are as follows:
fname
stnmap will prompt the user.
-0
The output from stnmap goes into a file that is named in the
STNMAP record of the data descriptor file. (See Usage Note #2).
Usage Notes
stnmap utility.
DTYPE
STNMAP
XDEF, YDEF, ZDEF
TDEF
VARS
Examples
Here's a sample descriptor file stat.ctl for station data set ua.reps:
DSET ^ua.reps
DTYPE station
STNMAP ^ua.map
UNDEF -999.0
TITLE Real Time Upper air obs
TDEF 10 linear 12z18jan1992 12hr
VARS 8
slp 0 99 SLP
ts 0 99 Temps
us 0 99 U Winds
vs 0 99 V Winds
z 1 99 Heightsa
t 1 99 Temps
u 1 99 U Winds
v 1 99 V WInds
ENDVARS
Run the stnmap utility:
stnmap -i stat.ctl
The station map file ua.map is a
binary file, which includes the hash table and/or link list
information.