<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_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>______________________________<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"><br>-- <br><div class="gmail_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>
</div>