Closed veenstrajelmer closed 1 day ago
At this stage it is to tricky to let this function depend on the extreme numbering. In many datasets there are incorrect duplicates and this messes up the HWLWnumbering method, leading it to fail. The hatyan.calc_HWLW12345to12()
is indeed quite slow, but it is robust at least.
The computation of extremes (1/2) from extremes including aggers (1/2/3/4/5) is quite complex and slow. There is an alternative method suggested that is simpler, faster and includes all necessary extremes.
The new method has some issues though:
hatyan.calc_HWLWnumbering()
which is not always robust (e.g. for long 1870-2024 timeseries for HOEKVHLD, and even not when providingstation
argument).Example code:
Gives: