psu-efd / pyHMT2D

Python Hydraulic Modeling Tools - 2D
MIT License
73 stars 16 forks source link

Reading XMDF files #5

Open ali-mahdavi-mazdeh opened 2 years ago

ali-mahdavi-mazdeh commented 2 years ago

In XMDFC, the variables are in the main file but in the XMDF file, they are under another variable called Datasets. Therefore in pyHMT2D in SRH_2D_Data.py in the function called readSRHXMDFFile I added one "if". also "Guid" variable is an extra variable that we don't need it. So I added to the "if" for exclusion while reading variables. However, still we need more changes to read XMDF files.