[ET Trac] #2546: CarpetIOHDF5: Don't set "delta" attribute to zero for zero-width components

Erik Schnetter trac-noreply at einsteintoolkit.org
Wed Aug 4 18:04:16 CDT 2021


#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](https://bitbucket.org/eschnett/carpet/pull-requests/46) .

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2546/carpetiohdf5-dont-set-delta-attribute-to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210804/a28ddcd6/attachment.html 


More information about the Trac mailing list