<div dir="ltr">I believe the version is 2.1.a2.oga.1. At least that's what it says at the top of the grads display window. I'm stuck with the version on the computer I'm using.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 20, 2017 at 12:19 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@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>Thomas,</div><div>If you are using version 2.1.1.b0 or later, use the if() function. Otherwise you will need to creatively use the const() and maskout() fields. But let's start with the first part...which version are you using?<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Oct 20, 2017 at 9:52 AM, Thomas Robinson <span dir="ltr"><<a href="mailto:ter@hawaii.edu" target="_blank">ter@hawaii.edu</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 class="h5"><div dir="ltr">We have model output fields rain and snow. I want to plot the mixed precipitation if the rain > 0.005 and snow > 0.005. Something like this<div><br></div><div>if (rain > 0.005 && snow > 0.005); d rain+snow</div><div><div><br></div><div>Is there a way to do this without looping through each point? Can I create a variable 'mix' and put individual values in a loop if looping is necessary?</div><div><br></div><div>-Tom</div><span class="m_-5229228407828500795HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-5229228407828500795m_622974130826214784gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Tom Robinson<br>PhD Candidate - Department of Atmospheric Science <br></div></div></div></div></div></div>
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-5229228407828500795gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Tom Robinson<br>PhD Candidate - Department of Atmospheric Science <br></div></div></div></div></div></div>
</div>