[gradsusr] Plotting mixed precipitation from rain and snow

Thomas Robinson ter at hawaii.edu
Fri Oct 20 13:37:47 EDT 2017


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.

On Fri, Oct 20, 2017 at 12:19 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:

> 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
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Tom Robinson
PhD Candidate - Department of Atmospheric Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171020/4f3b816f/attachment-0001.html 


More information about the gradsusr mailing list