radarx.retrieve.ice_fall.melting_snow_fall_speed#

radarx.retrieve.ice_fall.melting_snow_fall_speed(diameter, liquid_fraction, *, snow, rain='drag_balance')[source]#

Terminal fall speed of melting snow from its liquid water fraction.

Parameters:
  • diameter (xarray.DataArray or array-like) – Diameter (mm) of the raindrop that has the mass of the particle.

  • liquid_fraction (float or xarray.DataArray) – Liquid water fraction, from 0 (dry snow) to 1 (raindrop).

  • snow (tuple of float) – (a, b) of the speed of the dry snowflake of the same mass, \(V_s = a D^b\) (m s-1, \(D\) in mm). There is no default.

  • rain ({"drag_balance", "atlas1973"}, optional) – Law of the raindrop of the same mass (radarx.retrieve.terminal_fall_speed()).

Returns:

xarray.DataArray – Terminal fall speed in m s-1, broadcast over diameter and liquid_fraction. It equals the dry snow law at 0, the raindrop at 1 and is between them otherwise.

Raises:

ValueError – For a diameter that is not positive, a liquid fraction outside [0, 1], a not positive, b not above -1 or an unknown rain.

Notes

The mixing law is that of Frick et al. (2013); the dry snow speed has to be given (see the module documentation). No density correction is applied. The inputs are not changed.

References

Examples

>>> v = melting_snow_fall_speed([2.0], 0.5, snow=(1.0, 0.3))
>>> bool(v.item() > 1.0 * 2.0**0.3)
True