Page 1 of 1

Plotting sleet and snow

Posted: Mon Sep 14, 2020 7:22 pm
by weatherc
Hi guys,
Long time no see :)

I'm looking for a snippet for plotting sleet and snow with Grads.
Found the old snippet
'define snowrainratio=(SNMRhy1+0.0000001)/(RWMRhy1+0.0000001)+0.01'
'define precthreshold=((SNMRhy1+RWMRhy1)*1000000)-1'
but can't found those variables in recent emsupp.parm-file.

So do someone have any good snippet for detecting those? ;)

Cheers
Henkka

Re: Plotting sleet and snow

Posted: Wed Sep 16, 2020 7:24 am
by emsiwx
Hi,

add the following lines to your param control file:

# from: data/tables/post/grib2/emsupp_cntrl.HYBRID_ALL
(RWMR_ON_HYBRID_LVL) SCAL=(-4.0) ! Rain Water on Hybrid (Native Model) Surfaces (kg Kg-1) FNUM=(181)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000)
(SNMR_ON_HYBRID_LVL) SCAL=(-4.0) ! Snow Mixing Ratio on Hybrid (Native Model) Surfaces (kg kg-1) FNUM=(182)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000)
(GRLE_ON_HYBRID_LVL) SCAL=(-4.0) ! Graupel Mixing Ratio on Hybrid (Native Model) Surfaces (kg kg-1) FNUM=(415)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000)
(HAILMR_ON_HYBRID_LVL) SCAL=(-4.0) ! Hail Mixing Ratio on Hybrid (Native Model) Surfaces (kg kg-1) FNUM=(1056)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000

Regards,

EmsiWX

Re: Plotting sleet and snow

Posted: Wed Sep 16, 2020 4:47 pm
by weatherc
Great, thanks!

Then just a question:
If use this code are 0 = "pure rain" and >=10 snow?

define snowrainratio=(SNMRhy1+0.0000001)/(RWMRhy1+0.0000001)+0.01'
'define precthreshold=((SNMRhy1+RWMRhy1)*1000000)-1'
'set clevs 0 0.1 10'
'd maskout(snowrainratio,precthreshold)'