Re: Southern hemisphere wind barbs on Skew T plot [SEC=UNCLASSIFIED]

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 28 2012 - 20:33:43 MST

The skewT was based on the U.S Air Force plot and is definitely
Northern Hemisphere oriented.

Currently, the skewT script only checks for a subset of options.
Hence, you must modify the skewT code.

[1] Make a copy of the code

%> cp $NCARG_ROOT/lib/ncarg/nclscripts/csm/skewt_func.ncl skewt_func.sh.ncl

[2]
Use an editor to open the "skewt_func.sh.ncl" file
and look for the line:

     wmsetp ("wdf", 1)

After that line add:

     wmsetp("wba",-62)

[3]
Save the file; load it and give it a try.

Good luck

On 11/28/12 8:05 PM, Justin Peter wrote:
> Dear ncl-talk members,
> I am having trouble producing the pennants on the wind barbs with the
> correct orientation for the southern hemisphere.
> Here is the relevant part of my code:
> ; --- Create background skew-T and plot sounding----------------
> vcres = True ; plot mods desired
> vcres@vcGlyphStyle <mailto:vcres@vcGlyphStyle> = "WindBarb"
> vcres@vcWindBarbTickAngleF <mailto:vcres@vcWindBarbTickAngleF> = -62.
> ;Southern Hemisphere wind barbs
> skewtOpts = True
> ;skewtOpts@DrawColAreaFill = True ; default is False
> skewtOpts@DrawColAreaFill <mailto:skewtOpts@DrawColAreaFill> = False
> ; default is False
> ;skewtOpts@tiMainString = "Cluster Average Soundings"
> skewtOpts@tiMainString <mailto:skewtOpts@tiMainString> = ""
> skewtOpts@DrawFahrenheit <mailto:skewtOpts@DrawFahrenheit> = False
> skewtOpts@PrintZ <mailto:skewtOpts@PrintZ> = True
> skewtOpts@vcGlyphStyle <mailto:skewtOpts@vcGlyphStyle> = "WindBarb"
> skewtOpts@vcWindBarbTickAngleF <mailto:skewtOpts@vcWindBarbTickAngleF> =
> -62.
> skewt_bkgd = skewT_BackGround (wks, skewtOpts)
> draw (skewt_bkgd)
> dataOpts = True ; options describing data and ploting
> dataOpts@DrawFahrenheit <mailto:dataOpts@DrawFahrenheit> = False ;
> default is True
> dataOpts@PrintZ <mailto:dataOpts@PrintZ> = True ; do not print Z
> dataOpts@ThermoInfo <mailto:dataOpts@ThermoInfo> = False ; print
> thermodynamic info
> dataOpts@vcGlyphStyle <mailto:dataOpts@vcGlyphStyle> = "CurlyVector"
> dataOpts@vcWindBarbTickAngleF <mailto:dataOpts@vcWindBarbTickAngleF> = -62.
> As you can see, I have tried setting the vcWindBarbTickAngleF = -62.0
> which is correct for the southern hemisphere. No matter which variable I
> associate this attribute with, nothing happens. The wind barbs stay in
> the northern hemisphere orientation.
> Can anyone help me? I have only used ncl to produce skew t plots, so I
> may have missed something obvious.
> Cheers,
> Justin
> Dr Justin Peter | Research Scientist
> Radar applications / Remote Sensing
> Bureau of Meteorology
> GPO Box 1289 Melbourne VIC 3001
> Level 6, 700 Collins Street, Docklands VIC 3008
> Tel: +61 3 9669 4838 | j.peter@bom.gov.au <mailto:j.peter@bom.gov.au>
> www.bom.gov.au <http://www.bom.gov.au/>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 28 20:33:59 2012

This archive was generated by hypermail 2.1.8 : Fri Dec 07 2012 - 13:30:06 MST