openPMD / openPMD-standard

:notebook: Open Standard for Particle-Mesh Data
http://www.openPMD.org
Creative Commons Attribution 4.0 International
79 stars 29 forks source link

Clarification regarding the spatial grid stagger in base standard #284

Open skuschel opened 11 months ago

skuschel commented 11 months ago

I was looking into the grid staggering and relalized that the temporal stagger is expressed in terms of a non-zero timeOffset as clearly stated here: https://github.com/openPMD/openPMD-standard/blob/latest/STANDARD.md#required-attributes-for-the-basepath

For the spatial stagger this is not as clearly written. Assuming we have a field B/x which is offset by half a grid cell in a 1D simulation.

Let me know if you concur and I will create a PR.

Related to https://github.com/SmileiPIC/Smilei/issues/682