<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Andrew,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Setting &quot;trGridType&quot; to TriangularMesh will not work for vectors.  This is currently only available for contours.  We have it on our list to do this for vectors, but it could be awhile before we get to it. However, you shouldn&#39;t need this in your case. You have 2D lat/lon arrays, which you can generate vectors from without needing a triangular mesh.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Are you getting any kind of error message when you execute this NCL script?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To debug this, I suggest first removing this line, since it won&#39;t work anyway:</div><div class="gmail_default" style="font-size:small">







<p class=""><font face="monospace, monospace"><span class="">       vres@</span><span class="">trGridType</span><span class="">=</span><span class="">&quot;TriangularMesh&quot;</span></font></p></div><div class="gmail_default" style="font-size:small">and then temporarily commenting these two lines so that the vector plot will actually get drawn when &quot;gsn_csm_vector&quot; is called, and you can make sure it looks okay:</div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace"><br></font></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="monospace, monospace">;       vres@vfXArray = lon2d</font></div><div class="gmail_default"><font face="monospace, monospace">;       vres@vfYArray = lat2d</font></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you continue to have problems, then it would help if you could provide an updated script *and* the data file. You can use our ftp for the data file:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style=""><a href="http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP">http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP</a><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">--Mary</div><div class="gmail_default" style=""><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 19, 2015 at 10:16 AM, Andrew Kren - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</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><div>I have a script that I run in real-time to generate NAM forecast output at various pressure levels and plot variables. Attached is my script. I also attached a plot of the 500 mb heights/vorticity from the program.<br><br></div>For some reason, I cannot get the u and v winds to plot, meaning the wind barbs will not show up on the plot. I followed the convention for a 2 deg lat/lon grid, since NAM is on a lon2d/lat2d grid. I used gsnAddCyclic = false, declared my vfXArray and vfYArray, and used TriangularMesh for my grid, the same settings I used for plotting the vorticity, which showed up fine. I am thus stumped why the winds won&#39;t show up. Any advice is most appreciated. Sorry for the long ncl code. <br><br></div>Thanks,<span class="HOEnZb"><font color="#888888"><br><br><div><div><div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></font></span></div>
<br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>