negative values of maximum dBZ given by wrf.getvar

50 views
Skip to first unread message

Haolin Liu

unread,
Sep 5, 2022, 5:22:52 AM9/5/22
to wrfpython-talk
Dear all, 
I am using getvar 'mdbz' to obtain the maximum reflectivity variable of wrf. I am always getting values down to -30, is it normal to have a negative value of maximum reflectivity? Thanks for all the suggestions.

Marco Miani

unread,
Sep 14, 2022, 4:22:03 AM9/14/22
to wrfpython-talk, haoli...@gmail.com
Hi

Isn't radar reflective a log-based scale? If really so (not sure), a negative value would simply mean that reflective is 10 to the power of that negative value, i.e. something extremely small.

Will H

unread,
Oct 1, 2023, 9:45:38 PM10/1/23
to wrfpython-talk, haoli...@gmail.com
# Get DBZ for all times
    num_times = len(ncfile.dimensions["Time"])
    for time_idx in range(num_times):
        dbz_max = wrf.getvar(ncfile, "mdbz", timeidx=time_idx)
        if dbz_max.ndim == 3:
            dbz_max = dbz_max[0, :, :]

Reply all
Reply to author
Forward
0 new messages