This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Tom,
When you grid LIFT from your sounding data, you will see
in GDINFO that the gvcord=NONE and glevel=0.
In the script fragment below, I don't see level defined, but
for gdcntr it should be 0 and you need to change the coordinate
from pres to none.
This is because LIFT is a stability index (STNDEX), rather than a
variable for a particular level.
Steve Chiswell
Unidata User Support
>From: Tom Priddy <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200007311531.e6VFVBT04439
>From: Tom Priddy/Erin Maxwell
>
>Steve....we can get the lifted index to plot but we can't seem to
>figure out how to get the data contoured and color-filled. Could
>you please take a look at the below listed gempak script and
>tell us what we are doing wrong? Thanks!
>
>
>
>
>
>set ldmdata = "/ldmdata"
>
># Path and file name convention for GEMPAK upper air data
>set upperpath = ${ldmdata}/gempak/upperair
>set snfile = ${upperpath}/${date1}_upa.gem
>
># Path and file name convention for GEMPAK upper air obj analysis grid
>file
>set gridpath = ${ldmdata}/gempak/grids
>set uprgrid = ${gridpath}/${date1}_${hh}Z_ua.gem
>
>set fname = "${date1}${hh}Z_${level}"
>set output = "${fname}.gif"
>set device_name = "gfw|${output}|792;612"
>
>rm -f *.nts ${output}
>
>snmap << EOF0
> AREA = garea
> GAREA = 15;-118;58;-55
> SNPARM = lift
> DATTIM = ${datetime}
> LEVELS = ${level}
> VCOORD = pres
> SNFILE = ${snfile}
> COLORS = 4
> MAP = 32
> LATLON = 0
> MARKER = 0
> TITLE = 32/-3/U.K Ag. Weather Center
> CLEAR = YES
> PANEL =
> DEVICE = ${device_name}
> PROJ = lcc
> FILTER = YES
> TEXT = 1/21//hw
> RUN
>
> EXIT
>EOF0
>
>gdcntr << EOF1
> GDATTIM = ${datetime}
> GLEVEL = ${level}
> GVCORD = pres
> GFUNC = lift
> GDFILE = ${uprgrid}
> CINT = -6;-4;-2;0;2;4;6
> LINE = 32/1/1/1
> MAP = 32
> TITLE = 32/-2/ Lifted Index Analysis
> DEVICE = ${device_name}
> PROJ = lcc
> GAREA = 15;-118;58;-55
> CLEAR = NO
> PANEL =
> TEXT = 1/21//hw
> SCALE =
> LATLON = 0
> CONTUR =
> SKIP =
> FINT = -6;-4;-2;0;2;4;6
> FLINE = 11;12;13;13;21;22;23;24
> CTYPE = f/c
> HILO =
> HLSYM =
> RUN
>
> EXIT
>EOF1
>
>gpend
>
>echo " "
>echo " "
>
>/export/home/gempak/scripts/add_logo
>/export/home/gempak/scripts/LDM/${fname} latestlifted logo.gif
>
>rm -f *.nts ${output}
>
>
>--
>===========================================================================
>
>Tom Priddy, Extension Ag. Meteorologist.....email: address@hidden
>Ag. Weather Center.............................fax: 606-257-5671
>243 Ag. Engineering Bldg.....................phone: 606-257-8803 ext 245
>
>Dept. of Biosystems and Ag. Engr.
>University of Kentucky
>Lexington, KY 40546-0276
>HOMEPAGE......................................http://wwwagwx.ca.uky.edu/
>
>===========================================================================
>
>
>