Re: [gembud] Watch colors when plotting satellite

I took another look and I had an error in my WATCH line. Evidently I was inheriting the watch box color from the last number of the watch. Setting this to NO resulted in the colors I was expecting.

Dan

Michael James wrote:
Dan,

Try to reproduce this I see watch/warn boxes colored correctly - T-storm: blue, Tornado: red, FF: green.

WATCH and WARN can define colors for boundaries, in the form

WATCH = End time|T-storm color;Tornado color;Flash flood color|Time flag|Label flag|Outline flag|Poly flag

for example: WATCH = last|1;2;3|NO|YES|NO|NO

More info: http://www.unidata.ucar.edu/cgi-bin/gempak/manual/variables_index?warn



Michael
Unidata



On 04/28/2011 01:14 PM, Dan Leins wrote:
All,

I am routinely producing gif images of satellite/surface obs/marine obs/watches/warnings. I also do the same thing using radar data. I noticed that the colors of my watch boxes on my satellite images aren't the usual red=tor, blue=svr, but they are correct on my radar images.
The relevant portion of my satellite generation script is:

gpmap << EOF

MAP      = 17//1+32//3
TITLE    = 31/-2/
DEVICE   = gif|$IMGDIR/GOES${GOES}${FILE}.gif|1024;768
SATFIL   = $SAT/GOES-$GOES/$RESOLUTION/$CHANNEL/$FILE
PROJ     = sat
GAREA    = $GAREA
CLEAR    = y
PANEL    = 0
WARN     = ${dat}/${tim}||NO|NO|NO|YES
WATCH    = ${dat}/${tim}||NO|YES|YES|NO
TEXT     = 1.3/23/1/hw
LUTFIL   = $LUTFIL
IMCBAR = 0
LATLON   = 0

\$mapfil = hicnus.nws+hipowo.gsf
r

e

gpend
EOF

and my radar generation script...
gpmap << EOF

map      = 17//1+31//3
TITLE    = 31/-2/
DEVICE   = gif|$IMGDIR/$FILE.gif|800;768
RADFIL   = /data/ldm/NEXRCOMP/1km/n0q/$FILE
PROJ     = rad
GAREA    = 36.75;-90.60;46.25;-69.00
LUTFIL = leins_radimg.tbl
IMCBAR = 0
CLEAR    = y
PANEL    = 0
WARN     = ${dat}/${tim}||NO|NO|NO|YES
WATCH    = ${dat}/${tim}||NO|YES|NO|NO
TEXT     = 1.3/23/1/hw
LATLON   = 0


\$mapfil = hicnus.nws+hipowo.gsf
r

e
gpend
EOF


The WATCH portion of both scripts leaves the color portion blank since it should assume the defaults. As you can see from the attached images, both scripts produce very different looking watch boxes. Did I miss something along the way? I clean out any leftover gempak files before I start generating my images so I'm not sure where it would be getting these alternate colors from.

Any help would be tremendously appreciated!

Thanks,
Dan



_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

------------------------------------------------------------------------

_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/