modern-fortran / tsunami

A parallel shallow water equations solver
https://modern-fortran.github.io/tsunami
MIT License
149 stars 47 forks source link

Update plot_height_multipanel.py #12

Closed AAGAN closed 3 years ago

AAGAN commented 3 years ago

This solved the BOM issue for reading the file in Python. On windows OS, ./tsunami > tsumani_output.txt is writing the file in utf-16 which causes an error if file is opened with utf-8 BOM signature.

milancurcic commented 3 years ago

Thanks, @AAGAN, do you know if this is true on Linux and macOS? I can test Linux in a day or so.

AAGAN commented 3 years ago

On Linux, the code works as is or with encoding = "utf-8"

AAGAN commented 3 years ago

I created another pull request for this issue.