Skip to content

MT3DMS examples p8 and p10. #1485

Answered by wpbonelli
AndreLuiz55 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AndreLuiz55, p08shead.dat and p10shead.dat are located in examples/data/mt3d_test/mt3dms relative to the project root, see here. Are you running the MT3DMS example notebook? Depending where you're running it from, you may need to modify the relative path. You can use os.getcwd() to check the working location as seen by the notebook process.

To avoid situations like this we could consider updating the example notebooks to use a utility function to locate example data instead of manually handling paths. The idea being to find examples/data automatically, providing the notebooks are run from somewhere inside the flopy project. (We already do this in the flopy tests, so it should be a min…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AndreLuiz55
Comment options

@wpbonelli
Comment options

@wpbonelli
Comment options

@AndreLuiz55
Comment options

@wpbonelli
Comment options

Answer selected by wpbonelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants