Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to open the dat file? #8

Open
SunNorean opened this issue Apr 12, 2024 · 1 comment
Open

How to open the dat file? #8

SunNorean opened this issue Apr 12, 2024 · 1 comment

Comments

@SunNorean
Copy link

Hello Authors,
How to open the dat file under the ref file?
Thank you.

@i207M
Copy link
Owner

i207M commented Jul 28, 2024

Hi SumNorean,
Sorry for the late reply. You can open the dat file with a text editor; it uses numpy's txt format. To load it, use np.loadtxt("burgers1d.dat",comments='%',encoding='utf8'). A similar question was discussed in #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants