Fix wrong time in time series file
Bugfix for issue 1044: wrong time series output
Reference issue
Fix issue#1044
Description
The issue was in the routine histperiod, in which it is checked whether output is needed for a history file. however this is called with input argument 'T2DHI1' and 'T2DHI2' when a specific history file is needed, but with 'T2D ' from preres_telemac2d, when the variable need to be true for either history file. This was not correctly implemented before.
Checklist
All Merge Requests:
-
Update NEWS.txt
to describe your changes. -
Run compile_telemac.py --check
to check FORTRAN coding conventions. -
Run pylint
to check Python coding conventions. -
If you added new files, run compile_telemac.py --clean --rescan
and commit the updatedcmdf
file(s) accordingly. -
Run compile_telemac.py --clean
for both normal and debug configurations. -
Run validate_telemac.py
for both normal and debug configurations. -
Run validate_telemac.py --notebook
for both normal and debug configurations. -
Run doc_telemac.py
if there are any modifications in the documentation. -
Run damocles.py --eficas
if there are any modifications in the dictionaries.
In addition, for a new feature:
-
Check that your feature works in both serial and parallel modes. -
Add at least one test case to check the functionality (with documentation, graphics and VnV script) -
Update the documentation for the module in which your feature will be available.