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

update tutorial to use the recommended flopy result reader #7

Open
jkall opened this issue Aug 11, 2014 · 1 comment
Open

update tutorial to use the recommended flopy result reader #7

jkall opened this issue Aug 11, 2014 · 1 comment

Comments

@jkall
Copy link

jkall commented Aug 11, 2014

The steady state tutorial script shows how to read simulation results by using ModflowHdsRead, line 213-215:

-- Read results

mread_heads = ModflowHdsRead(ml,compiler='l')
t, h, m = mread_heads.read_all(name+'.hds')

But flopy reports this method is deprecated and recommends using "HeadFile".

BTW, I do not really understand why swapaxes (line 218-219) is used in the tutorial. I do not think it is needed (at least not when using HeadFile) but I am not sure about that.

(the script:
https://raw.githubusercontent.com/wiki/apryet/Qgridder/tutorial/script_tutorial_steady.py
)

@apryet
Copy link
Owner

apryet commented Aug 22, 2015

Right, thank you ! I will update this tutorial asap.

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