CrossSection locations and ObservationCrossSections written by hydrolib-core contains unknown keyword locationtype
#678
Labels
type: compatibility
Changes needed to be compatible with the computational core
Describe the bug
A crossLocFile (crossloc.ini) written by hydrolib-core contains the unknown keyword
locationtype
. This means the file cannot be read by HYDROLIB-core itself. This behaviour has also been found for ObservationCrossSections and should also be fixed there.To Reproduce
Minimal code based on issue found in demo_dsd.ipynb. The file raising an error is crsloc.ini
This raises:
Expected behavior
Not writing the
locationtype
property, so resulting in a valid crossloc.ini file that can be read with HYDROLIB-core again. Or maybe it is an allowed property, but in that case hydrolib-core should recognize it.Version info (please complete the following information):
Additional info
This did not happen yet in the latest release (0.7.0)
The text was updated successfully, but these errors were encountered: