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.
Robert, I don't see where you are making color #1 as white (as opposed to vanilla). Are you running gpcolor first? Anyhow, Color 31 is white if you need to test. Chiz >From: 10 <address@hidden> >Organization: UCAR/Unidata >Keywords: 200102072355.f17Nt0L11328 >I have a script that produces a forecast meteogram from the AVN 1x1 >grib data (ftp'ed and decoded from NCEP). The script works fine >under Solaris 7/Gempak-5.4, but when I run the same script >on a Solaris 8 (both of these are SPARCS/SC5.0 compilers) >machine it will not produce a title. Titles are produced with >other scripts. I can't see what the problem might be. The only >non-standard thing I have done is make white as color #1. >I make the appropriate changes in the environment when going from" >one machine/version to the other > >Below is the script: >#!/bin/csh >rm mrftest.gif >setenv DISPLAY uldbldm:1.0 >#set hour=`date +%d%H%S` >source /export/home/gempak/GEMPAK_5.6/Gemenviron >set path=(/bin /usr/bin /usr/local/bin >/export/home/gempak/GEMPAK_5.6/bin/sol) >set CURRENT_MRFTEST=`ls -t /var/gempak/hds/*_mrftest.gem | head -1` >gdthgt << EOF >GPOINT = YBAS >GDATTIM = f000-f096 >GVCORD = pres >GFUNC = >GVECT = WND >GDFILE = $CURRENT_MRFTEST >PTYPE = lin >TAXIS = >YAXIS = 975/850/25 >BORDER = 1 >LINE = 3 >CINT = 0 >WIND = bk5/0.6 >TITLE = 1/-1 >CLEAR = yes >SCALE = 0 >PANEL = h41 >DEVICE = gf|mrftest.gif >TEXT = 0.8/22/2/HW > >r > >e >EOF > >gdtser << EOF > GPOINT = YBAS > GDATTIM = f000-f096 > GLEVEL = 10 > GVCORD = hagl > GFUNC = knts(mag(wnd)) > GDFILE = $CURRENT_MRFTEST > PTYPE = lin > TAXIS = > YAXIS = > BORDER = 1 > LINE = 3 > MARKER = 0 > TITLE = 1/0/^ @ meters Wind(kts) # > CLEAR = no > SCALE = 0 > PANEL = h42 > DEVICE = gf|mrftest.gif > TEXT = 0.8/22/2/HW >r > >e >EOF > >gdtser << EOF > GPOINT = YBAS > GDATTIM = f000-f096 > GLEVEL = 30:0 > GVCORD = pagl > GFUNC = knts(mag(wnd)) > GDFILE = $CURRENT_MRFTEST > PTYPE = lin > TAXIS = > YAXIS = > BORDER = 1 > LINE = 3 > MARKER = 0 > TITLE = 1/0/^ @ Boundary Layer Wind(kts) # > CLEAR = no > SCALE = 0 > PANEL = h43 > DEVICE = gf|mrftest.gif > TEXT = 0.8/22/2/HW >r > >e >EOF > >gdtser << EOF > GPOINT = YBAS > GDATTIM = f001-f096 > GLEVEL = 0 > GVCORD = none > GFUNC = quo(p06m;25.4) > GDFILE = $CURRENT_MRFTEST > PTYPE = lin > TAXIS = > YAXIS = 0 > BORDER = 1 > LINE = 3 > MARKER = 0 > TITLE = 1/0/^ 1-hr Precip(in) # > CLEAR = no > SCALE = 0 > PANEL = h44 > DEVICE = gf|mrftest.gif > TEXT = 0.8/22/2/HW >r > >e >EOF > >gpend >rm *.nts >#lp mrftest.gif > > >Thanks, >Robert Mullenax >