-
Notifications
You must be signed in to change notification settings - Fork 5
New diagnostic capabilities in phoebuspy.py and Phoebus #240
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
Conversation
Yurlungur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a welcome addition! A few nitpicks and suggestions below. But it's all optional, we can merge when you're happy with it.
|
@Yurlungur , I've addressed all of the suggestions. I'm fairly certain that I have adopted all suggestions. Please check to make sure that you like the direction of the changes. If so, I'm ready for you to approve merge if all looks good to you as well. |
Yurlungur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks @curiousmiah !
| #On Polaris, you need to create a conda environment via... | ||
| #If phoebuspy conda environment is already active | ||
| #conda deactivate | ||
| #If you want to delete the old environment and start from scratch. | ||
| #module unload xalt | ||
| #conda env remove -n phoebuspy | ||
| #If you want to create the phosbuspy conda environment | ||
| #conda create -n phoebuspy numpy numexpr matplotlib h5py scipy pyyaml -y | ||
| #The above needs to be once to define the environment... | ||
| #Do this every time you need to use python on Polaris | ||
| #conda activate phoebuspy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good to document! 👍
PR Summary
This PR provides new diagnostic tools in phoebuspy.py. In particular it includes capabilities to plot and make movies of slices of 3D simulations. It includes 2D slices and 1D slices. In addition, there was a bug in Phoebus when including flux_divergence and src_terms in the output. This has been fixed.
PR Checklist
scripts/bash/format.sh.