Fields, spatial quantities are records.
Position.x - a component of a record.
Each record has attributes:
- unitSI (conversion factor)
- unitDimension (dimensionality)
- Powers of SI - https://www.openpmd.org/#/step-12
- easy to transform that into units!
- Powers of SI - https://www.openpmd.org/#/step-12
- time/timeUnitSI
Provide a common interface (.value, .unitSI, .shape) for arrays and constants via treating the latter like hdf5 groups.
- particles (group)
- electrons (group):
- charge (array)
- unitSI (attribut)
- charge (array)
- electrons (group):
- particles (group)
- electrons (group):
- charge (group)
- value (attribute, float)
- unitSI (attribute)
- shape (attribute)
- charge (group)
- electrons (group):
For Cartesian 2D (z=const) you can have z-as-a-group.
- openPMD Viewer
- has Python API apparently
- Has a API at https://github.com/openPMD/openPMD-api
Also: