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:
- Returns:
numpy.ndarrayorfloat– The factor atarea.- Raises:
ValueError – If the table is not positive and increasing, or a factor is outside (0, 1].
See also
Examples
>>> radarx.retrieve.areal_reduction_factor( ... 100.0, [10, 1000], [1.0, 0.8] ... )