You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I get validation errors (type_error's) when loading some of my *.mdu files.
I think some changes are needed in: hydrolib.core.io.mdu.models.py
[physics]
umodLin ; type should be float instead of int to avoid the validation error # Note that based on the D-Flow FM manual, you might expect an integer. However, in D-Flow FM this is read as a float. Change needed in HYDROLIB-core or in D-Flow FM?
betaSpiral ; type should be float instead of int
[trachytopes]
TrtL ; type should be [str] instead of [int]
TrtDef ; type should be [str] instead of [int]
[wind]
relativewind ; type should be float instead of bool # this recently changed in D-Flow FM from boolean to float
The text was updated successfully, but these errors were encountered:
Describe the bug
I get validation errors (type_error's) when loading some of my *.mdu files.
I think some changes are needed in: hydrolib.core.io.mdu.models.py
[physics]
umodLin ; type should be float instead of int to avoid the validation error # Note that based on the D-Flow FM manual, you might expect an integer. However, in D-Flow FM this is read as a float. Change needed in HYDROLIB-core or in D-Flow FM?
betaSpiral ; type should be float instead of int
[trachytopes]
TrtL ; type should be [str] instead of [int]
TrtDef ; type should be [str] instead of [int]
[wind]
relativewind ; type should be float instead of bool # this recently changed in D-Flow FM from boolean to float
The text was updated successfully, but these errors were encountered: