rcatool.stats.climateindex.SDII
- rcatool.stats.climateindex.SDII(data, thr=1.0, axis=0, keepdims=False)[source]
SDII, Simple pricipitation intensity index: Let RRwj be the daily precipitation amount on wet days, w (RR ≥ 1mm) in period j.
- Parameters:
data (list/array) – 2D array.
thr (float/int) – threshold for wet events (wet days/hours etc)
axis (int) – The axis along which the calculation is applied (default 0).
keepdims (boolean) – If data is 2d (time in third dimesion) and keepdims is set to True, calculation is applied to the zeroth axis (time) and returns a 2d array of freq-int dists. If set to False (default) all values are collectively assembled before calculation.