openPMD-standard icon indicating copy to clipboard operation
openPMD-standard copied to clipboard

Downsampling: General Attributes

Open ax3l opened this issue 10 years ago • 3 comments

For (field) data sets that were down-sampled, we could add that information so one can calculate the original grid spacing and size again that was used in the simulation.

Things that we have to make sure:

  • down-sampling via striding or some kind of averaging (as an other attribute "...parameter")
  • striding is also interesting for particle data (but a bit more dangerous due to internal data structures that might now represent a perfect statistical sample if strided)

ax3l avatar Mar 25 '15 18:03 ax3l

One should consider adding the down-sampling method as well.

bussmann avatar Mar 25 '15 19:03 bussmann

yes, that is the first point: methods could be simple striding or more sophisticated methods with various kinds of averaging.

ax3l avatar Mar 25 '15 20:03 ax3l

After discussing with @ax3l, it seems that we will defer this to the next version. The reason is that:

  • down-sampled mesh can already be written in openPMD (one just has to take care of writing the gridSpacing correctly)
  • for the moment there is no specific attribute that tags a mesh as downsampled, but one could indicate this in the comment attribute.

Adding a specific attribute will probably be done in the future, but I think we can skip it for the first release.

RemiLehe avatar Aug 19 '15 23:08 RemiLehe