Hi Dennis:
Thank you very much for your help!
Actually, I tried Example 4 already. The locations of the two wind profiles are coexistent. Then I set
dataOpts@xpWind = 40 for one sounding
and
dataOpts@xpWind = 30 for the other.
However, both locations are still at 45, which means that dataOpts@xpWind does not work for me. The location of the wind profile is always at 45 no matter what number I set.
Would you please tell me the reason and how to solve this problem? Thanks!
Regards
Ed
----- Original Message ----
From: Dennis Shea <shea@ucar.edu>
To: Yang Yang <yang123yang@yahoo.com>
Cc: Mary Haley <haley@ucar.edu>; ncl-talk@ucar.edu
Sent: Tuesday, June 10, 2008 10:36:42 AM
Subject: Re: Skew_T color
Please see Example 4 at: http://www.ncl.ucar.edu/Applications/skewt.shtml
Note the following line in the example
dataOpts@xpWind = 40. ; new location for winds [default 45
Yang Yang wrote:
> Hi Mary:
> Thanks!
> May I ask you one more question about Skew_T?
> I tried to set xpWind for different numberd from 45 in the script. However, the location of the wind profile is the same.
> In the skewt_func.ncl I used, I found the following:
> ypWind = skewty (pw)
> xpWind = new (dimsizes(pw), float)
> xpWind = skewtx (45. , skewty(1013.) ) ; location of wind barb
> wmbarb(wks, xpWind, ypWind, up, vp )
> wmsetp("col",wbcol) ; reset to initial color value
>
> It seems that skewt_func.ncl uses fixed number (45) for the location. If this is the case, can you tell me how to make necessary changes so that different number setting for xmWind can be accepted by skewt_func.ncl? Thanks!
> Regards
> Ed
>
> ----- Original Message ----
> From: Mary Haley <haley@ucar.edu>
> To: Yang Yang <yang123yang@yahoo.com>
> Cc: ncl-talk@ucar.edu
> Sent: Tuesday, June 10, 2008 2:41:16 AM
> Subject: Re: Skew_T color
>
>
> Hi Ed,
>
> I believe the Skew-T code uses colors from the default color table,
> which is called "default". If you have changed the color map, then
> you may get some unexpected results.
>
> Some of the colors the Skew-T code is looking for are "PaleGreen",
> "White", "Green", "Brown", "Tan", "RoyalBlue", "Red", and "Sienna"
> (I've attached a sample PNG file so you can see them).
>
> I would recommend *not* setting a color table for the Skew-T plots,
> unless you explicitly include the colors that it needs.
>
> --Mary
>
>
> On Sun, 8 Jun 2008, Yang Yang wrote:
>
>
>> Hello:
>>
> I used the example scripts to plot Skew_T, however, the green color was plotted with gray and pink colour was not plotted. I used Version 4.2.0.a033. Is the version not high enough? or my default colour table is different? Would you please help me solve this problem? Thanks!
> Regards
> Ed
>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk@ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
--
======================================================
Dennis J. Shea tel: 303-497-1361 |
P.O. Box 3000 fax: 303-497-1333 |
Climate Analysis Section |
Climate & Global Dynamics Div. |
National Center for Atmospheric Research |
Boulder, CO 80307 |
USA email: shea 'at' ucar.edu |
======================================================
Received on Mon Jun 09 2008 - 17:10:22 MDT
This archive was generated by hypermail 2.2.0 : Wed Jun 11 2008 - 13:31:20 MDT