Since its early development, BASEMENT has become a robust an reliable tool for the numerically modelling of rivers. Yet there are a few little challenges and this page provides some answers (under development).
Import of XDMF Model Output Fails#
XDMF error of wrong versions#
Depending on the system environment, the header of
results.xmdf may not be readable for QGIS. The two below tabs show the wrong and correct header lines. To fix the issue, open
results.xmdf in a text editor (e.g., Notepad++ on Windows), replace the wrong with the correct header, and save the corrected
<?xml version="1.0"?> <Xdmf Version="3.0">
<?xml version="1.0" ?> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" > <Xdmf Version="2.0">
XDMF error of wrong simulation directories#
results.xdmf contains geospatially explicit data (e.g., of flow velocity and water depth), which can be theoretically directly imported in QGIS with the Crayfish plugin (read more in the BASEMENT post-processing section). However, there is a little issue: QGIS may crash because of an invalid directory. To fix it:
results.xdmfin a text editor (e.g., Notepad++ on Windows).
Use the find-and-replace tool (
Hkeys in Notepad++) to remove file paths before
results_aux.h5string and identify the path written in front of it (e.g.,
Find and replace that user path, for example:
After having removed all path occurrences in the document, save and close
This issue is also discussed in the BASEMENT User Forum).