UnicodeDecodeError using mikeio.Mesh() command #727
-
Hi, I recently got windows 11, before that I had W10. I have now run into problems with encoding when trying to read a mesh file by the command mikeio.Mesh("filename"). I don't get the same problems when just reading the dfsu file by the command mikeio.read("filename").
Then I would get the error
Do you have any ideas on what can be done, so that I can read the mesh of the dfsu files? Br Andreas |
Beta Was this translation helpful? Give feedback.
Answered by
ecomodeller
Sep 19, 2024
Replies: 1 comment
-
If you open a dfsu file, you can get the mesh from the geometry property. Which can be converted to a mesh file, using to_mesh. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ecomodeller
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you open a dfsu file, you can get the mesh from the geometry property. Which can be converted to a mesh file, using to_mesh.