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.
Greg, You didn't send the question to support while I was on vacation, so it wasn't in the support queue on my return. The only parameters that make sense for a skewt are tmpc and dwpc, but your function sub(tmpc,dpdk) won't have a name DWPC by default (ie, it will have a name subtmpcdpdk), so its not a valid skewt parameter. You need to assign the grid the name DWPC in your GFUNC as: GFUNC = sub(tmpc,dpdk)//dwpc Steve Chiswell Unidata User Support > Steve, > I never got an answer to this question... > > Greg > > -------- Original Message -------- > Subject: GEMPAK problem with gdprof > Date: Fri, 27 Jul 2007 09:46:23 -0600 > From: Greg Stossmeister <address@hidden> > To: steven chiswell <address@hidden> > > Steve, > I'm having trouble plotting model soundings from NOGAPS with the > GEMPAK routine gdprof. I've included the gempak code below that I'm using. > The problem is that when I plot tmpc and then dwpc with this script, > the sounding dewpoints are out to lunch - they are way too low. If I use > the gfunc sub(tmpc,dpdk) the output shows the dewpoint numbers I expect > however, the dewpoint line fails to appear on the plot. What am I doing > wrong? > > The NOGAPS file originates from the ldm feed FNMOC and I'm using dcgrib2 > to convert it to a .gem file. > > I'm running GEMPAK5.9.1 > > Thanks in advance for your help, > Greg > > > #! /bin/csh > source /home/gempak/NAWIPS/Gemenviron > setenv DISPLAY localhost:1 > gdprof <<END_OF_CMDS > \$RESPOND=yes > \$MAPFIL=hipowo.gsf > MAP=1/1/2 > GPOINT=2;-154 > GDFILE=/ingest/ldm/data/gempak/model/2007072512_nogaps.gem > TITLE=5/-1/NOGAPS Model Run ~ SkewT > TEXT=1.0/2//hw > CLEAR=yes > DEVICE=gf|model.NOGAPS.200707251200.012_000_skewt.gif|800;800|||NP > GLEVEL=0 > GVCORD=pres > GFUNC=tmpc > PTYPE=skewt > WIND=bk6//2 > REFVEC=10 > WINPOS=1 > FILTER=no > SCALE=0 > GDATTIM=20070725/1200f012 > XAXIS=-20/60/10 > YAXIS=1000/100/100/;1 > THTALN=11/3/1 > THTELN=17/11/1 > MIXRLN=5/10/2 > LINE=2/1/4/4 > run > > GFUNC=sub(tmpc,dpdk) > TITLE=5/+1/Sounding Location(lat, lon): # > CLEAR=no > LINE=3//4 > run > > END_OF_CMDS > gpend > > -- > > ~~N~A~T~I~O~N~A~L~~C~E~N~T~E~R~~F~O~R~~A~T~M~O~S~.~~R~E~S~E~A~R~C~H > Greg Stossmeister e-mail: address@hidden > NCAR/EOL phone: (303)497-8692 > P.O. Box 3000 web: http://www.eol.ucar.edu > Boulder, CO 80307-3000 > ~~~~~~~~E~A~R~T~H~~~O~B~S~E~R~V~I~N~G~~~L~A~B~O~R~A~T~O~R~Y~~~~~~~~ > > > -- > > ~~N~A~T~I~O~N~A~L~~C~E~N~T~E~R~~F~O~R~~A~T~M~O~S~.~~R~E~S~E~A~R~C~H > Greg Stossmeister e-mail: address@hidden > NCAR/EOL phone: (303)497-8692 > P.O. Box 3000 web: http://www.eol.ucar.edu > Boulder, CO 80307-3000 > ~~~~~~~~E~A~R~T~H~~~O~B~S~E~R~V~I~N~G~~~L~A~B~O~R~A~T~O~R~Y~~~~~~~~ > > Ticket Details =================== Ticket ID: NZW-716390 Department: Support GEMPAK Priority: Normal Status: Closed