<div dir="ltr"><div>I think you may want to replace two lines, from these:</div><div>aveX_u=where(alpha_u.le.95.and.alpha_v.le.95,u_wet_yr@_FillValue,u_wet_yr)<br>aveX_v=where(alpha_u.le.95.and.alpha_v.le.95,v_wet_yr@_FillValue,v_wet_yr)</div><div><br></div><div>to these:</div><div>
aveX_u=where(alpha_u.le.95.<span style="color:rgb(255,0,0)"><b>or</b></span>.alpha_v.le.95,u_wet_yr@_FillValue,u_wet_yr)<br>aveX_v=where(alpha_u.le.95.<span style="color:rgb(255,0,0)"><b>or</b></span>.alpha_v.le.95,v_wet_yr@_FillValue,v_wet_yr)

</div><div><br></div><div>Note that in this case you may get very few wind vectors.</div><div><br></div><div><br></div><div>Rashed<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 22, 2020 at 10:36 AM dickson mbigi via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Kindly hep/guidance,<div><div>I did composite analysis of wind data and I need to plot only significant wind vectors. So far, I went through a related thread "<a href="https://www.ncl.ucar.edu/Support/talk_archives/2010/1031.html" target="_blank">https://www.ncl.ucar.edu/Support/talk_archives/2010/1031.html</a>" but I couldnt figure out how to make it because it was not clear in this regard especially in carrying out t-test and subsequent plotting.</div><div><br></div><div>Attached is my script which actual contain the whole  idea from the mentioned thread on performing t-test (refer line 127-149). Actually, the script plots zonal wind anomalies and overlaid wind vectors (attached picture). </div></div><div><br></div><div>NB: Wind data is from NCEP-NCAR Reanalysis 1</div><div><br></div><div>I would highly appreciate for any help.</div><div><br></div><div><div id="gmail-m_-2870696329461859710gmail-:s4" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div id="gmail-m_-2870696329461859710gmail-:s5" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div><div><div><em style="color:rgb(153,0,153);font-family:"Times New Roman";font-size:medium">Kindest regards,</em></div></div></div><div><em style="color:rgb(153,0,153);font-family:"Times New Roman";font-size:medium">Dickson Mbigi,</em></div><div><em style="color:rgb(153,0,153);font-family:"Times New Roman";font-size:medium">Institute of Atmospheric Physics,</em></div><div><em style="color:rgb(153,0,153);font-family:"Times New Roman";font-size:medium">Chinese Academy of Sciences, China.</em></div></div><div></div><div></div></div></div><div id="gmail-m_-2870696329461859710gmail-:tt" style="margin:15px 0px;clear:both;font-size:0.875rem;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><br></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>