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

Refactor Python Concatenation Scripts + Add Dask Templates #347

Merged
merged 16 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions python_scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,8 @@ You will likely develop more customized, robust, and flexible scripts for your o
These simple scripts here are intended to help you understand the basics of the generated data from Cholla.

## Merging HDF5 files
Multi-processor runs generate HDF5 files per-timestep per-processor.
To treat each timestep together we want to merge those per-processor HDF5 files.

| Script | Concatenate |
| ------ | ----------- |
`cat_dset_3d.py` | 3D HDF5 datasets
`cat_projection.py` | The on-axis projection data created when the -DPROJECTION flag is turned on
`cat_rotated_projection.py` | The rotated projection data created when the -DROTATED_PROJECTION flag is turned on
`cat_slice.py` | The on-axis slice data created when the -DSLICES flag is turned on
Multi-processor runs generate HDF5 files per-timestep per-processor. Merging these per process output into a single file can be done with the concatenation scripts detailed in the "Outputs" section of the wiki.

## Plotting data
We here present simple Python matplotlib-based scripts to plot density, velocity, energy, and pressure.
Expand Down
Loading