<div dir="ltr"><div>Daniel,<br>There's another way to do it. Use the maskout function.<br><br></div>'set gxout barb'<br><div>'set lev 850'<br>'define u = maskout(ugrdprs,1.94*mag(ugrdprs,vgrdprs)-20)'<br>'define v = maskout(vgrdprs,1.94*mag(ugrdprs,vgrdprs)-20)'<br>'d skip(u*1.94,14,14);v*1.94'<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"><<a href="mailto:dannairn@gmail.com" target="_blank">dannairn@gmail.com</a>></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"><<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.com</a>></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>'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"><<a href="mailto:dannairn@gmail.com" target="_blank">dannairn@gmail.com</a>></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'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>'define u10 = const(ugrdprs(lev=850),0,-u)'<br>'define v10 = const(vgrdprs(lev=850),0,-u)'<br>'set gxout barb'<br>'set cmin 20'<br>'d skip(u10*1.94,14,14);v10*1.94'<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 'set cmin 20' to display only winds above 20 kts. However, setting this in the script file doesn'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>