radarx.retrieve.disdrometer.disdrometer_qc#
- radarx.retrieve.disdrometer.disdrometer_qc(obj, *, method='relative', tolerance=0.6, max_diameter=8.0, drop_unmeasured=True, max_wind=None, density_correction=True, fall_speed='drag_balance')[source]#
Remove particles that are not plausible raindrops.
- Parameters:
obj (
xarray.Dataset) – Disdrometer data withcountson(time, velocity, diameter), e.g. fromradarx.io.read_parsivel().method (
{"relative", "raupach2015"}, optional) –"relative"(default) keeps classes whose velocity is withintolerancetimes the terminal fall speed;"raupach2015"uses the filter of Raupach and Berne (2015, Eqs. 9-11). Seeradarx.retrieve.disdrometer.tolerance (
float, optional) – Relative tolerance of the"relative"filter. Default 0.6.max_diameter (
floatorNone, optional) – Remove classes larger than this (mm; class centre). Default 8 (Friedrich et al. 2013);"raupach2015"always removes \(D > 7.5\) mm.drop_unmeasured (
bool, optional) – Remove the two smallest size classes (below 0.25 mm), which the Parsivel does not measure. Default True.max_wind (
float, optional) – Discard records whose wind speed (wind_speed_max, elsewind_speed, m s-1) exceeds this. Default None (keep all). Friedrich et al. (2013) found the strong-wind artifact mostly above 20 m s-1, sometimes from 10 m s-1.density_correction (
bool, optional) – Scale fall speeds to the air density fromair_pressure,air_temperatureandrelative_humiditywhen present. Default True.fall_speed (
{"drag_balance", "atlas1973"}, optional) – Sea-level fall speed law ofterminal_fall_speed().
- Returns:
xarray.Dataset–objwithcounts_qc(counts of the kept classes, NaN in discarded records),qc_mask(kept classes),valid(kept records) andterminal_fall_speed(m s-1, ondiameter, and ontimewith the air density).
References
Friedrich, K., S. Higgins, F. J. Masters, and C. R. Lopez, 2013: Articulating and stationary PARSIVEL disdrometer measurements in conditions with strong winds and heavy rainfall. J. Atmos. Oceanic Technol., 30 (9), 2063-2080, https://doi.org/10.1175/JTECH-D-12-00254.1
Raupach, T. H., and A. Berne, 2015: Correction of raindrop size distributions measured by Parsivel disdrometers, using a two-dimensional video disdrometer as a reference. Atmos. Meas. Tech., 8 (1), 343-365, https://doi.org/10.5194/amt-8-343-2015
The default
toleranceof 0.6 and thedrop_unmeasuredthreshold of 0.25 mm are radarx choices, not from these papers; the fall speed is that ofterminal_fall_speed().