I used sfmap_gf to plot the visual flight rules(wx depictions) in GEMPAK
I cannot remember If I ever finished this, but at least it will be a step in
the right direction.
source /usr/nawips/GEMPAK/Gemenviron
set workdir="$HOME"
set YMD=`date -u '+%Y%m%d'`
set SFFILE=`ls -t $GEMDATA/surface/*sao.gem | head -1`
set sfcdate=`ls -lt $GEMDATA/surface/*sao.gem | head -1 | awk '{print $7}' |
awk -F ":" '{print $1$2}'`
set DATTIM=`ls -lt $GEMDATA/surface/*sao.gem | head -1 | awk '{print $7}' | awk
-F ":" '{print $1"00"}'`
set DEV="gf|${workdir}/wxdpct_${YMD}${sfcdate}.gif"
set STNDEV="gf|${workdir}/wxdpct_us${YMD}${sfcdate}.gif"
#gpcolor << EOF
#COLORS = 35=139;115;85=BRLYWOOD
#DEVICE = XW
#l
#r
#COLORS = 36=15;103;150=OCEANBLUE
#l
#r
#e
#EOF
#gpmap << EOF1
#BND = bg/115+world_bnds/103+lakes/139
#CLEAR = Y
#MAP = 1
#DEVICE = XW
#TITLE = 1/-1
#\$MAPFIL = hipowo.cia
#l
#r
#e
#EOF1
sfmap_gf << EOF2
restore ${workdir}/wxdpct.nts
SFFILE = $SFFILE
AREA = dset
GAREA = us
DATTIM = ${DATTIM}
SFPARM = xvfr;mark:15:10
COLORS = 0;(0-3-1/2;17;5;3;0/xvfr)
DEVICE = ${DEV}
CLEAR = N
CLRBAR = 0
l
r
e
EOF2
gpmap_gf << EOFUSlg8
garea = #38;-96.5;17.6;30.9
proj = mcd//nm
map = 0
latlon = 0
STNPLT = 1/0.857|0/15/1.25/2|sfstns_us.tbl
TEXT = 1.28/22/hw
WATCH = last|5;2;0|no|no
DEVICE = ${DEV}
CLEAR = Y
r
e
EOFUSlg8
echo " "
gpend
exit(0)
Here is my wxdpct.nts
AREA dset
GAREA us
SATFIL
RADFIL
IMCBAR
SFPARM xvfr;mark:15:10
DATTIM list
SFFILE metar
COLORS 0;(0-3-1/2;17;5;3;0/xvfr)
MAP 1
MSCALE 0
LATLON
TITLE 1/-1/Ceiling/Visibility Status Valid ~
CLEAR YES
PANEL 0
DEVICE XW
PROJ STR/90;-100;0
FILTER 1.0
TEXT 1.15//hw
LUTFIL
STNPLT
CLRBAR 1/v/ll//.3;.01//|1////s/r/hw
LSTPRM
Thanks.
Andrew Little
Weather Systems Analyst
Universal Weather & Aviation
8787 Tallyho Road
Houston, Texas 77061
(713) 947-5633
(713) 504-2719
alittle@xxxxxxxxxxxx
Success from the word GO.
-----Original Message-----
From: gembud-bounces@xxxxxxxxxxxxxxxx [mailto:gembud-bounces@xxxxxxxxxxxxxxxx]
On Behalf Of Jeff Lake
Sent: Wednesday, February 15, 2012 11:07 PM
To: GEMBUD
Subject: [gembud] Flight rules
Greetings ...
I know I saw it somewhere, but for the life of me I cannot refind it..
plotting the flight rules from the surface data someone please point me in the
right area
--
-Jeff Lake
MichiganWxSystem.com
WeatherMichigan.net
TheWeatherCenter.net
GRLevelXStuff.com
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/