radarx.retrieve.ice_fall.hail_fall_speed#

radarx.retrieve.ice_fall.hail_fall_speed(diameter, law='heymsfield2020', *, air_density=None)[source]#

Terminal fall speed of hail from its maximum dimension.

Parameters:
  • diameter (xarray.DataArray or array-like) – Maximum dimension of the hailstone in mm.

  • law (str, optional) – "heymsfield2020" (default), "graupel_hail_obs" or "heymsfield2020_p10", "_p25", "_p50", "_p75", "_p90" (percentiles) or "milbrandt_yau2005", see radarx.retrieve.ice_fall.

  • air_density (float or xarray.DataArray, optional) – Air density (kg m-3) for the laws that depend on it (only "milbrandt_yau2005"). Without it the speed is that at the sea-level density of radarx, 1.204 kg m-3.

Returns:

xarray.DataArray – Terminal fall speed in m s-1, broadcast like diameter. It is a power law of the diameter and increases with it; the default law is continuous at the crossing of its two branches.

Warns:

UserWarning – If a diameter is below 5 mm, where the laws are not fitted.

Raises:

ValueError – For a diameter that is not positive, an unknown law, or an air_density that is not positive or is given for a law without a density dependence.

Notes

See the module documentation for the validity range, the choice of the break of the default law at 1.576 cm and the air-density dependence. The inputs are not changed.

References

Examples

>>> round(float(hail_fall_speed(20.0)), 1)
13.4
>>> round(float(hail_fall_speed(20.0, "milbrandt_yau2005", air_density=0.6)), 1)
24.1