pastas.stats.dutch.q_glg#
- pastas.stats.dutch.q_glg(series: pandas.Series, tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, q: float = 0.06, by_year: bool = True) pandas.Series#
Quantiles for the Gemiddeld Laagste Grondwaterstand (GLG).
GLG is also called MLGL (Mean Low Groundwater Level).
- Parameters:
series (pandas.Series) – Series to calculate the GLG for.
tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start and end dates for the period (E.g. ‘1980-01-01 00:00:00’ and ‘2020-01-01 00:00:00’). If None, the entire series is used.
tmax (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start and end dates for the period (E.g. ‘1980-01-01 00:00:00’ and ‘2020-01-01 00:00:00’). If None, the entire series is used.
q (float, optional) – quantile, fraction of exceedance (default 0.06)
by_year (bool, optional) – Take average over quantiles per year (default True)
Notes
Approximated by taking quantiles of the time series values per year and calculating the mean of the quantiles. The series is first resampled to daily values.