wradlib.trafo.r_to_depth

Contents

wradlib.trafo.r_to_depth#

wradlib.trafo.r_to_depth(x, interval)[source]#

Computes rainfall depth (mm) from rainfall intensity (mm/h)

Parameters:
  • x (float or numpy.ndarray) – rainfall intensity in mm/h

  • interval (float) – time interval (s) the values of x represent

Returns:

output (float or numpy.ndarray) – rainfall depth (mm)