<div dir="ltr"><div>Daniel,<br>There&#39;s another way to do it. Use the maskout function.<br><br></div>&#39;set gxout barb&#39;<br><div>&#39;set lev 850&#39;<br>&#39;define u = maskout(ugrdprs,1.94*mag(ugrdprs,vgrdprs)-20)&#39;<br>&#39;define v = maskout(vgrdprs,1.94*mag(ugrdprs,vgrdprs)-20)&#39;<br>&#39;d skip(u*1.94,14,14);v*1.94&#39;<br><br></div><div>Jeff Duda<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 28, 2014 at 8:16 AM, Daniel Nairn <span dir="ltr">&lt;<a href="mailto:dannairn@gmail.com" target="_blank">dannairn@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:arial,helvetica,sans-serif;font-size:small">Perfect, thanks Stephen.<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 28 October 2014 12:48, Stephen McMillan <span dir="ltr">&lt;<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.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">Daniel,<div>You need to include the wind magnitude in your line, for example:</div><div><br></div><div>&#39;d skip(u10*1.94,14,14);v10*1.94;1.94*mag(u10,v10)</div><div><br></div><div>Stephen McMillan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Oct 28, 2014 at 4:32 AM, Daniel Nairn <span dir="ltr">&lt;<a href="mailto:dannairn@gmail.com" target="_blank">dannairn@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><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hello<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I&#39;m successfully running a Grads script to display 850mb winds using wind barbs:-<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">for example<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br>&#39;define u10 = const(ugrdprs(lev=850),0,-u)&#39;<br>&#39;define v10 = const(vgrdprs(lev=850),0,-u)&#39;<br>&#39;set gxout barb&#39;<br>&#39;set cmin 20&#39;<br>&#39;d skip(u10*1.94,14,14);v10*1.94&#39;<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">What I would like to do is use something like &#39;set cmin 20&#39; to display only winds above 20 kts. However, setting this in the script file doesn&#39;t appear to work (I still get barbs with values less than 20kts appearing). Should I be using something else?<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thanks<br></div></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>