radarx.retrieve.precip_frequency.areal_reduction_factor#

radarx.retrieve.precip_frequency.areal_reduction_factor(area, areas, factors)[source]#

Areal reduction factor of an area, from a table supplied by the user.

The mean depth over an area is smaller than the point depth of the same return period; the factor (between 0 and 1) is the ratio. It is interpolated linearly in ln(area) between the table values and held at the first and last value outside the table (not extrapolated). A single value is used for every area. radarx contains no table: published curves depend on the region, the duration and the return period, so the user supplies, and cites, the one that fits.

To find the return period of an area mean depth, divide it by the factor first, which gives the point depth that has the same areal mean, and look that up with return_period(). Without a factor the return period of an area mean found directly from a point table is too short (a lower bound).

Parameters:
  • area (float or array_like) – Area (any unit, the one of areas).

  • areas (float or array_like) – Areas of the table, positive, increasing.

  • factors (float or array_like) – Factors of the table, each in (0, 1], same length as areas.

Returns:

numpy.ndarray or float – The factor at area.

Raises:

ValueError – If the table is not positive and increasing, or a factor is outside (0, 1].

See also

return_period

Examples

>>> radarx.retrieve.areal_reduction_factor(
...     100.0, [10, 1000], [1.0, 0.8]
... )