[gradsusr] Have a Snow Squall Parameter and Need To Maskout Areas Where 2-Meter Temps Greater Than 1
Jeff Duda
jeffduda319 at gmail.com
Fri Nov 20 14:03:22 EST 2015
Brian,
You're effectively double-masking in the sense that you define a new field
(t2c) that is the difference between the temperature (in C) and the 1 deg.
C mark; then you plot your snsq field using that masked temperature field,
but then you apply another mask. Remove your second line. You also should
flip the sign of the mask, since the maskout() function masks the field
where mask values are negative. Display maskout(snsq,1-t2c) and you'll get
what you're looking for.
Jeff Duda
On Fri, Nov 20, 2015 at 12:47 PM, Brian Bernard <
brian.brianbernard at gmail.com> wrote:
> Hello,
>
> I have a script for my website where I plot the snow squall paramater
> (based on the work of Perter Banacos of NWS Burlington, VT). I want to mask
> out areas of the snow squall parameter where the surface temperatures are
> above 1C. (Actually it should be the wet-bulb temperature, but there seems
> to be several formulas, which is rather confusing to me).
>
> This is my maskout function:
>
> 'define t2=(tmp2m(t='dis_t')-273)' # converting WRF temps from
> Kelvin to Celsius
> 'define t2c=(t2*-1)' # here I'm making positive temps, negative
> for the maskout function
> 'd maskout ((snsq),(t2c)-1.0)'
>
> Thank you,
>
> Brian Bernard
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151120/6aa07ef0/attachment.html
More information about the gradsusr
mailing list