The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here


q_ghg(series, tmin=None, tmax=None, q=0.94, by_year=True)[source]#

Gemiddeld Hoogste Grondwaterstand (GHG) also called MHGL (Mean High GW Level).

  • series (pandas.Series) – Series to calculate the GHG for.

  • tmin (pandas.Timestamp, optional) –

  • tmax (pandas.Timestamp, optional) –

  • q (float, optional) – quantile fraction of exceedance (default 0.94)

  • by_year (bool, optional) – Take average over quantiles per year (default True)

Return type



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.