Skip to content

Commit

Permalink
Merge pull request #347 from bcaddy/dev-catSliceRefactor
Browse files Browse the repository at this point in the history
Refactor Python Concatenation Scripts + Add Dask Templates
  • Loading branch information
evaneschneider authored Nov 27, 2023
2 parents 2011738 + c1f6d9e commit c14589d
Show file tree
Hide file tree
Showing 13 changed files with 1,031 additions and 928 deletions.
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

0 comments on commit c14589d

Please sign in to comment.