I've created two LTS extreme_statistics.res1d files. They belong to adjacent intervals: the first file to the years 2002 and 2003, the second file to the years 2004 and 2005.
Now I merge the two files using mikeio1d.Res1D.merge(). As expected, the resulting file contains all events ordered by the extreme values in descending order. So that's fine.
However, the recurrence interval is still computed based on the length of the first file. so the most extreme value has still a recurrence of 2 instead of 4. In my opinion the recurrence interval should be recomputed based on the sum of lengths of the files which are being merged. In case they overlap, the overlapping time shouldn't be counted twice.
The problem is also visible when I check the merged file with res.info(): Start time and End time still reflect the first file.
Then the Date and time column shows completely weird values for the events originating in the second res1d, all having dates in the years 2002 and 2003. I'd expect the those time stamps are the same as in the original file.
I've created two LTS extreme_statistics.res1d files. They belong to adjacent intervals: the first file to the years 2002 and 2003, the second file to the years 2004 and 2005.
Now I merge the two files using
mikeio1d.Res1D.merge(). As expected, the resulting file contains all events ordered by the extreme values in descending order. So that's fine.However, the recurrence interval is still computed based on the length of the first file. so the most extreme value has still a recurrence of 2 instead of 4. In my opinion the recurrence interval should be recomputed based on the sum of lengths of the files which are being merged. In case they overlap, the overlapping time shouldn't be counted twice.
The problem is also visible when I check the merged file with
res.info(): Start time and End time still reflect the first file.Then the Date and time column shows completely weird values for the events originating in the second res1d, all having dates in the years 2002 and 2003. I'd expect the those time stamps are the same as in the original file.