diff --git a/docs/whats-new.md b/docs/whats-new.md index 8c88e97..422ab8e 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -4,6 +4,7 @@ ### Feat - expanded physical_break_dict in [#151](https://github.com/Deltares-research/kenmerkendewaarden/pull/151) +- linear fit for slotgemiddelden (no nodal) in [#157](https://github.com/Deltares-research/kenmerkendewaarden/pull/157) ## 0.3.0 (2024-10-01) diff --git a/kenmerkendewaarden/slotgemiddelden.py b/kenmerkendewaarden/slotgemiddelden.py index 7777cac..b15de8c 100644 --- a/kenmerkendewaarden/slotgemiddelden.py +++ b/kenmerkendewaarden/slotgemiddelden.py @@ -30,6 +30,10 @@ def calc_slotgemiddelden( ): """ Compute slotgemiddelden from measurement timeseries and optionally also from extremes timeseries. + A simple linear trend is used to avoid all pretend-accuracy. However, when fitting a + linear trend on a limited amount of data, the nodal cycle and wind effects will cause + the model fit to be inaccurate. It is wise to use at least 30 years of data for + a valid fit, this is >1.5 times the nodal cycle. Parameters ----------