#2546: CarpetIOHDF5: Don't set "delta" attribute to zero for zero-width components
| Reporter: | Erik Schnetter |
| Status: | new |
| Milestone: | |
| Version: | development version |
| Type: | enhancement |
| Priority: | minor |
| Component: |
Carpet’s HDF5 format outputs a delta attribute that describes the grid spacing for each written chunk. Currently delta is always set to zero for zero-width components, i.e. e.g. for 2d arrays. This confuses post-processing tools.
This pull request passes the actual grid spacing to the writer routine, and writes the correct grid spacing into the attribute.
The pull request is at https://bitbucket.org/eschnett/carpet/pull-requests/46 .
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2546/carpetiohdf5-dont-set-delta-attribute-to