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 with counts on (time, velocity, diameter), e.g. from radarx.io.read_parsivel().

  • method ({"relative", "raupach2015"}, optional) – "relative" (default) keeps classes whose velocity is within tolerance times the terminal fall speed; "raupach2015" uses the filter of Raupach and Berne (2015, Eqs. 9-11). See radarx.retrieve.disdrometer.

  • tolerance (float, optional) – Relative tolerance of the "relative" filter. Default 0.6.

  • max_diameter (float or None, 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, else wind_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 from air_pressure, air_temperature and relative_humidity when present. Default True.

  • fall_speed ({"drag_balance", "atlas1973"}, optional) – Sea-level fall speed law of terminal_fall_speed().

Returns:

xarray.Dataset – obj with counts_qc (counts of the kept classes, NaN in discarded records), qc_mask (kept classes), valid (kept records) and terminal_fall_speed (m s-1, on diameter, and on time with 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 tolerance of 0.6 and the drop_unmeasured threshold of 0.25 mm are radarx choices, not from these papers; the fall speed is that of terminal_fall_speed().