<div dir="ltr">Hi Tabish,<div><br></div><div>Although it does not seem to be well-known, it is possible to use wind speed and direction as inputs to gsn_vector. Just set the resource vfPolarData  to True. Once you do that the &#39;u&#39; argument will be interpreted as magnitude and the &#39;v&#39; argument as direction.  </div><div>   -dave</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 24, 2017 at 2:46 PM, Tabish Ansari <span dir="ltr">&lt;<a href="mailto:tabishumaransari@gmail.com" target="_blank">tabishumaransari@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi Adam, Guido<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks for pointing me to the relevant example.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I&#39;m still not sure how to supply my wind speed and wind direction to gsn_vector() function here - as it expects 2d U and V variables which are probably over a map. However, I only want to plot the time-series of wind vectors at a given lat-lon point. I have u and v arrays extracted something like this- U(:,0,J,I) and V(:,0,J,I) and have calculated the wind speed and wind direction arrays based on these two arrays. So I only have 1-d arrays with me.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish<br></div></font></span></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-7793931253914978834gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font size="1"><span style="font-family:tahoma,sans-serif">Tabish U Ansari<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">PhD student, Lancaster Environment Center<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">Lancaster Univeristy<br> <span>Bailrigg</span>, <span>Lancaster</span>, <br><span>LA1 4YW</span>, <span>United Kingdom</span></span></font><br></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On 24 May 2017 at 18:33, Adam Phillips <span dir="ltr">&lt;<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tabish,<div>See example #2 here:</div><div><a href="http://www.ncl.ucar.edu/Applications/unique.shtml#ex2" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/unique.shtml#ex2</a><br></div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-7793931253914978834h5">On Tue, May 23, 2017 at 8:05 PM, Tabish Ansari <span dir="ltr">&lt;<a href="mailto:tabishumaransari@gmail.com" target="_blank">tabishumaransari@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-7793931253914978834h5"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I wish to plot the time series of wind vectors at a given location - I have 2 arrays for wind speed (in m/s) and direction (in degrees) and want to achieve something like this:<br><br><img src="cid:ii_j32chol00_15c383161344f91f" width="532" height="138"><br>​<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Is it possible to do this in NCL?<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Many thanks<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish<br><br clear="all"></div><div><div class="m_-7793931253914978834m_7844761507214629516m_1683402588492503484gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font size="1"><span style="font-family:tahoma,sans-serif">Tabish U Ansari<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">PhD student, Lancaster Environment Center<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">Lancaster Univeristy<br> <span>Bailrigg</span>, <span>Lancaster</span>, <br><span>LA1 4YW</span>, <span>United Kingdom</span></span></font><br></div></div></div>
</div>
<br></div></div><span>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><span class="m_-7793931253914978834HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-7793931253914978834m_7844761507214629516gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphill<wbr>i/</a>   </font></span><span><font color="#888888"><a href="tel:(303)%20497-1726" value="+13034971726" target="_blank">303-497-1726</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>