<div dir="ltr">Hi Andy,<div><br></div><div>Adding to what Jeff and Sam submitted, you can use the maskout function to hide the "calm" wind amounts. For example,</div><div><br></div><div><div>'define wspd=1.944*mag(ugrdprs,vgrdprs)'</div>
<div>'set gxout barb'</div><div>'d maskout(1.944*ugrdprs,wspd-3);1.944*vgrdprs'</div></div><div><br></div><div>In above example, wind speed is first defined over the time interval, then used to maskout one of the wind components (u in this example). Here I defined speeds < 3 as calm, but use whatever suits your case. Variable names a bit different in my example.</div>
<div><br></div><div><br>Stephen McMillan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 12:25 PM, Sam Wilson <span dir="ltr"><<a href="mailto:sam@surfline.com" target="_blank">sam@surfline.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>
<div>Andy,</div>
<div><br>
</div>
<div>For your second question – it looks like you're only applying the m/s to knot conversion to the v component. Try the following:</div>
<div><br>
</div>
<div> 'd (u500;v500)*1.94384'</div>
<div><br>
</div>
</div>
</div>
<div>Either that way or this way:</div>
<div><br>
</div>
<div>'define uwind = u500*1.94384'</div>
<div>'define vwind = v500*1.94384'</div>
<div>'d uwind;vwind'</div>
<div><br>
</div>
<div><br>
</div>
<div>Sam</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>Andrew Revering <<a href="mailto:andy@f5data.com" target="_blank">andy@f5data.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<span style="font-weight:bold">Date: </span>Wed, 21 Aug 2013 10:07:28 -0500<br>
<span style="font-weight:bold">To: </span>GrADS User List <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<span style="font-weight:bold">Subject: </span>[gradsusr] Wind Barbs<br>
</div><div class="im">
<div><br>
</div>
<div dir="ltr">
<div>Couple questions about wind barbs:</div>
<div><br>
</div>
<div>- Is it possible to plot 'nothing' where a calm wind barb would go? Right now it shows a circle or a zero where calm wind is. I'd rather it plot nothing in those locations.</div>
<div><br>
</div>
<div>- Also, the speed is incorrect in my wind barbs. I'm trying to plot it in knots and I'm using: 'display u500;v500*1.94384'</div>
<div>The mag() function returns different values than what is being plotted for my barbs, so apparently I'm not converting my wind barb from m/s to knots properly. Thoughts?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Andy</div>
</div>
_______________________________________________ gradsusr mailing list <a href="mailto:gradsusr@gradsusr.org" target="_blank">
gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">
http://gradsusr.org/mailman/listinfo/gradsusr</a> </div></span>
</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></div>
<pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************