[gradsusr] Plotting mixed precipitation from rain and snow

Jeff Duda jeffduda319 at gmail.com
Fri Oct 20 12:19:27 EDT 2017


Thomas,
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?

Jeff Duda

On Fri, Oct 20, 2017 at 9:52 AM, Thomas Robinson <ter at hawaii.edu> wrote:

> 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
>
> if (rain > 0.005 && snow > 0.005); d rain+snow
>
> 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?
>
> -Tom
>
> --
> Tom Robinson
> PhD Candidate - Department of Atmospheric Science
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171020/e21148b8/attachment.html 


More information about the gradsusr mailing list