-
Notifications
You must be signed in to change notification settings - Fork 13
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 demos to use new ats_xdmf #3
Comments
I may be able to help (perhaps just for a demo or two) on this. Is all of the needed code to reproduce the routines currently called in the notebooks present in the What exactly will it look like to do this conversion? |
I believe so, and yes, matplotlib still required -- ats_xdmf will get you the data in a sane format for most problems. That file is better documented than most of the rest of the python codebase. Effectively you'd create a VisFile instance (one for each domain, so for the problems you're looking at, probably 2, surface + the "default" domain that is the subsurface. Then call loadMesh(), after which getArray() will return the output data in a sane shape/format numpy array. Visualizing that array is up to you (and likely done in the .ipynb files anyway). |
Most of these are done! Need to do a quick check and will close. |
A bunch of the jupyter notebooks refer to ats/tool/utils scripts that need to go away (see amanzi/ats#41 ) and need to be replaced with ats_xdmf, which should simplify a lot of the code for plotting output in these notebooks.
The text was updated successfully, but these errors were encountered: