You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make shape an optional attribute for constant components (#1661)
* Make shape an optional attribute for constant components
* Adhere to the standard changes more closely
* Remove is_scalar distinction from flushing again
Both reasons for making the distinction now no longer valid
* Cleanup
* Homogenize extents
* Check for extent consistency, fill in undefined extents
* Make homogenization configurable
* Fix tests with this
* Add note on how to deactivate this verification
* WIP: Testing
* CI fixes
* Extend test
* Use JSON backend for this test
* Fix unfinished_iteration_test
* Bugfix: skip skipped compoments
* Use UNDEFINED_EXTENT for this instead of empty extent
* Document verify_homogeneous_extents option
* Fix typo
* Adapt test to stricter parsing
* Relax JSON schema
* uhmm.. remove merge conflict
Copy file name to clipboardExpand all lines: docs/source/details/backendconfig.rst
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,11 @@ Or in a Series constructor JSON/TOML configuration:
122
122
"hint_lazy_parsing_timeout": 20
123
123
}
124
124
125
+
As of openPMD-api 0.17.0, the parser verifies that all records within a mesh or within a particle species have consistent shapes / extents.
126
+
This is used for filling in the shape for constant components that do not define it.
127
+
In order to skip this check in the error case, the key ``{"verify_homogeneous_extents": false}`` may be set (alternatively ``export OPENPMD_VERIFY_HOMOGENEOUS_EXTENTS=0`` will do the same).
128
+
This will help read datasets with inconsistent metadata definitions.
129
+
125
130
The key ``resizable`` can be passed to ``Dataset`` options.
126
131
It if set to ``{"resizable": true}``, this declares that it shall be allowed to increased the ``Extent`` of a ``Dataset`` via ``resetDataset()`` at a later time, i.e., after it has been first declared (and potentially written).
127
132
For HDF5, resizable Datasets come with a performance penalty.
0 commit comments