Re: [gembud] gembud Digest, Vol 37, Issue 4

Jeff,

Here's what I use to plot the flight rules in different colors using sfmap 
(e.g. 
http://twister.sbs.ohio-state.edu/imagel.php?dispimg=surface/plots/mw&imgname=Midwest)

Notice that I use the XVFR to recolor the sky marker depending upon the flight 
rule which I think is 0-3 (0 is VFR and 3 is LIFR)

 SFPARM   = 
skyk:0.75:1:131:0.35;tmpf:.65:1;wsym:0.65:1;smsl:.35:1;vsbf:.25:1;dwpf:.65:1;stid:0.35:0.35;XVFR>-1
 COLORS   = (0;1;2;3/31;7;2;24;31/xvfr);2;31;30;(0;3/24;3;0/vsbf/U);24;18;0

Hope this helps… 

-phil



On Feb 16, 2012, at 8:45 AM, gembud-request@xxxxxxxxxxxxxxxx wrote:

> Send gembud mailing list submissions to
>       gembud@xxxxxxxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://mailman.unidata.ucar.edu/mailman/listinfo/gembud
> or, via email, send a message with subject or body 'help' to
>       gembud-request@xxxxxxxxxxxxxxxx
> 
> You can reach the person managing the list at
>       gembud-owner@xxxxxxxxxxxxxxxx
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gembud digest..."
> 
> 
> Today's Topics:
> 
>   1. Flight rules (Jeff Lake)
>   2. Re: Flight rules (Andrew Little)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 16 Feb 2012 00:06:35 -0500
> From: Jeff Lake <admin@xxxxxxxxxxxxxxxxxxxx>
> To: GEMBUD <gembud@xxxxxxxxxxxxxxxx>
> Subject: [gembud] Flight rules
> Message-ID: <4F3C8EDB.2040100@xxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 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
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 16 Feb 2012 13:44:40 +0000
> From: Andrew Little <alittle@xxxxxxxxxxxx>
> To: "'Jeff Lake'" <admin@xxxxxxxxxxxxxxxxxxxx>,       GEMBUD
>       <gembud@xxxxxxxxxxxxxxxx>
> Subject: Re: [gembud] Flight rules
> Message-ID:
>       <83FC9F4A9150714D909A82FE75D869910A9C85@xxxxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="us-ascii"
> 
> 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/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/20120216/12245c3e/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> gembud mailing list
> gembud@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 
> 
> End of gembud Digest, Vol 37, Issue 4
> *************************************