BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich |
You are not logged in.
Pages: 1
For information, the xdmf format assigned to a 2dm doesn't work with Qgis 3.12
https://github.com/lutraconsulting/MDAL/issues/226
Cheers,
Quentin
Offline
Hi Quentin
This appears to be a user-specific problem. I was able to load data via .xdmf onto a 2dm mesh in QGIS 3.12.0 on both Ubuntu 18.04 and Windows 10.
Can you reproduce the error posted under the link?
Best regards
Matthias
Offline
Hi,
Thanks for your answer. Here are all the files (Flaz stationnary) ans also the error message.
https://www.webtransfer.ch/fr/download/ … 952394cb8b
Cheers,
Quentin
Offline
Hi Quentin
Which BASEMENT version are you using? I noticed that your .xdmf File contains the absolute file path to the *results.h5 file. Therefore it does not work anymore as soon as you move it or the .h5 file to a new directory. To get it to work replace the abolute path by only "results.h5".
Best regards
Matthias
Offline
Hi,
I have check with the last version relase (3.0.2) on Windows. All the output files are here:
https://www.webtransfer.ch/fr/download/ … 1eaa50151c
When I'm trying to assign Extra Dataset, I have the error "Could not read mesh dataset". Do you have any idea from where it comes?
Cheers,
Quentin
Offline
Hi Quentin
It seems that the current version of BASEMENT writes the absolute path for the auxiliary results file "results_aux.h5" into the XDMF file. This can cause problems if the files are moved to a different location or if the name of the path changes. You can solve this by opening the XDMF file with a text editor and search a replace the absolute path with by the file name.
E.g replace all occurrences of "C:/Users/USERNAME/project1/simulationXY/results_aux.h5" with only "results_aux.h5".
This should solve the problem for now and we will try to fix this in the official version as soon as possible.
Best regards
Matthias
Offline
Thanks it works.
Cheers,
Quentin
Offline
Pages: 1