When trying to append multiple non-equidistant DFS0 following error message pops up
Closed this issue · 2 comments
Describe the bug
When trying to append multiple non-equidistant DFS0 following error message pops up 'DfsNonEqCalendarAxis' object has no attribute 'TimeStep'
See below image attached .
I try to append multiple non-equidistant DFS0 :
from mikeio import generic
mikeio.generic.concat([File_name_2015, File_name_2016,File_name_2017,File_name_2018,File_name_2019,File_name_2020,File_name_2021], "Stream_flow.dfs0")
also when I try to append two non equidistant DFS0 files that have a time gap in between them the following error message.
'Gap in time axis detected - not supported'
See attached image.
To Reproduce
Steps to reproduce the behavior: just to run the attached code including the DFS0 files. Also Error messages in attached images.
Include code snippet
Expected behavior
Just to append the DFS0 files including gaps or not and independent of equidistant or non-equidistant
Screenshots
If applicable, add screenshots to help explain your problem.
Images attached
2015 Streamflow Summary.zip
System information:
- Python version 3.12.1
- mikecore 0.2.1
mikeio 1.6.3
mikeio1d 0.6.0
Hi @elche6 , could you help me verify that the changes work as expected?
If you install the dev version from the main branch, it should work now.
pip install https://github.com/DHI/mikeio/archive/main.zip
Hi @ecomodeller
Verified.
Changes work as expected.
Thank you very much.