pastas.stats.dutch.glg ====================== .. py:function:: pastas.stats.dutch.glg(series: pandas.Series, tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, fill_method: str = 'nearest', limit: int = 0, output: str = 'mean', min_n_meas: int = 16, min_n_years: int = 8, year_offset: str = year_offset + '-MAR') -> pandas.Series | float Calculate the 'Gemiddelde Laagste Grondwaterstand' (Average Low GW Level). :param series: The pandas Series of which the statistic is determined. :type series: pandas.Series with a DatetimeIndex :param tmin: A Timestamp or str is expected. The lowest index to take into account (E.g. '1980-01-01 00:00:00'). :type tmin: pandas.Timestamp or str, optional :param tmax: A Timestamp or str is expected. The highest index to take into account (E.g. '2020-01-01 00:00:00'). :type tmax: pandas.Timestamp or str, optional :param fill_method: see .. :mod: pastas.stats.dutch._gxg :type fill_method: str, optional :param limit: Maximum number of days to fill using fill method, use None to fill nothing. :type limit: int or None, optional :param output: output type * 'mean' (default) : for mean of yearly values. * 'yearly': for series of yearly values. * 'g3': for series with selected data for calculating statistic. * 'semimonthly': for series with all data points (14th, 28th of each month). :type output: str, optional :param min_n_meas: Minimum number of measurements per year (at maximum 24). :type min_n_meas: int, optional :param min_n_years: Minimum number of years. :type min_n_years: int, optional :param year_offset: (jan 1 to dec 31) and 'YE-MAR' for hydrological years (apr 1 to mar 31). :type year_offset: resampling offset. Use 'YE' for calendar years :returns: Series of yearly values or mean of yearly values. :rtype: pd.Series or scalar .. rubric:: Notes Classic method resampling the series to every 14th and 28th of the month. Taking the mean of the mean of three lowest values per year. .. !! processed by numpydoc !!