Re: How to plot wind exceeding 95% in bold arrows...?

From: Sabeerali(sebi) <sabeerl_at_nyahnyahspammersnyahnyah>
Date: Wed Apr 21 2010 - 06:47:38 MDT

Thanks Hahmann. I want to bold the arrows if any of the component (u or v)
is significant.. So I used the following lines

sX=31
sY=1891

alpha_u = 100.*(1. - ttest(aveX_u, varX_u, sX,aveY_u,varY_u,sY,True,False))
alpha_v = 100.*(1. - ttest(aveX_v, varX_v, sX,aveY_v,varY_v,sY,True,False))

aveX_u=where(alpha_u.le.95.and.alpha_v.le.95,aveX_u@_FillValue,aveX_u)
aveX_v=where(alpha_u.le.95.and.alpha_v.le.95,aveX_v@_FillValue,aveX_v)

am I correct...?

And if I am correct how to overlay vector over vector as you told....Thanks
again...

On 21 April 2010 17:55, Andrea Hahmann <ahah@risoe.dtu.dk> wrote:

> Dear Sabeerali
>
> One trick will be to overlay two plots. A default with thin arrows for all
> winds, then delete the wind vector values that are not significant a re-plot
> the vectors with thick arrow lines. Finally, overlay the two plots.
>
> Good luck,
> Andrea
> --
>
> *Andrea N. Hahmann
> *Senior Scientist
> Wind Energy Division
> Risų DTU
>
> *Technical University of Denmark
> *Risų National Laboratory for Sustainable Energy
> Frederikborgvej 399, P.O. Box 49
> 4000 Roskilde, Denmark
>
> Direct +45 4677 5471
> Mobil: +45 2133 0550
> ahah@risoe.dtu.dk
> www.risoe.dtu.dk
>
>
>
> ------------------------------
> *From: *"Sabeerali(sebi)" <sabeerl@gmail.com>
> *Date: *Wed, 21 Apr 2010 17:17:58 +0530
> *To: *<ncl-talk@ucar.edu>
> *Subject: *[ncl-talk] How to plot wind exceeding 95% in bold arrows...?
>
>
> I made the composite of wind vectors (for u and v components)..Also I have
> done the significance test by using ttest.(s1=31 and s2=1891) separately for
> u and v.Now I want to plot the composite in which the wind exceeding 95% are
> to be represent in bold arrows and winds which is not significant are to be
> represent in thin arrows..How I can do this in ncl ?
>
> sX=31
> sY=1891
>
> alpha_u = 100.*(1. - ttest(aveX_u, varX_u, sX,aveY_u,varY_u,sY,True,False))
> alpha_v = 100.*(1. - ttest(aveX_v, varX_v, sX,aveY_v,varY_v,sY,True,False))
>
> Any help would be appreciated...
> Thanks in advance..
>
>
> --
> **********************************
> Sabeerali
> Climate and Global Modeling Division
> Indian Institute of Tropical Meteorology
> Pashan, Pune, 411 008
> ****************************************
>
> ------------------------------
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
**********************************
Sabeerali
Climate and Global Modeling Division
Indian Institute of Tropical Meteorology
Pashan, Pune, 411 008
****************************************

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 21 06:47:46 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT