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
Describe the bug
We recently introduced more graceful error handling when we encounter incomplete data.
I found another data set, which we use in openPMD-updater, that only contains structure but no real data in it.
In this data set, particlePatches cause read errors in openPMD-ls.
$ openpmd-ls structure.h5 openPMD series: structureopenPMD standard: 1.1.0openPMD extensions: 1data author: Axel Huebl <[email protected]>data created: 2018-02-20 12:42:57 +0100data backend: HDF5generating machine: ax3lgenerating software: openPMD Example Script (version: 1.1.0.1)generating software dependencies: [email protected];[email protected];[email protected];[email protected]number of iterations: 1 (groupBased)HDF5-DIAG: Error detected in HDF5 (1.12.2) thread 0: #000: H5A.c line 454 in H5Aopen(): unable to open attribute: 'unitDimension' major: Attribute minor: Can't open object #001: H5VLcallback.c line 1091 in H5VL_attr_open(): attribute open failed major: Virtual Object Layer minor: Can't open object #002: H5VLcallback.c line 1058 in H5VL__attr_open(): attribute open failed major: Virtual Object Layer minor: Can't open object #003: H5VLnative_attr.c line 124 in H5VL__native_attr_open(): unable to open attribute: 'unitDimension' major: Attribute minor: Can't open object #004: H5Aint.c line 422 in H5A__open(): unable to load attribute info from object header for attribute: 'unitDimension' major: Attribute minor: Can't open object #005: H5Oattribute.c line 494 in H5O__attr_open_by_name(): can't locate attribute: 'unitDimension' major: Attribute minor: Object not found all iterations: [AbstractIOHandlerImpl] IO Task READ_ATT failed with exception. Clearing IO queue and passing on the exception.Cannot read patch record 'extent' due to read error and will skip it:Read Error in backend HDF5Object type: AttributeError type: NotFoundFurther description: [HDF5] Internal error: Failed to open HDF5 attribute 'unitDimension' (/data/0/particles/electrons/particlePatches/extent/) during attribute readHDF5-DIAG: Error detected in HDF5 (1.12.2) thread 0: #000: H5A.c line 454 in H5Aopen(): unable to open attribute: 'unitDimension' major: Attribute minor: Can't open object #001: H5VLcallback.c line 1091 in H5VL_attr_open(): attribute open failed major: Virtual Object Layer minor: Can't open object #002: H5VLcallback.c line 1058 in H5VL__attr_open(): attribute open failed major: Virtual Object Layer minor: Can't open object #003: H5VLnative_attr.c line 124 in H5VL__native_attr_open(): unable to open attribute: 'unitDimension' major: Attribute minor: Can't open object #004: H5Aint.c line 422 in H5A__open(): unable to load attribute info from object header for attribute: 'unitDimension' major: Attribute minor: Can't open object #005: H5Oattribute.c line 494 in H5O__attr_open_by_name(): can't locate attribute: 'unitDimension' major: Attribute minor: Object not found[AbstractIOHandlerImpl] IO Task READ_ATT failed with exception. Clearing IO queue and passing on the exception.Cannot read patch record 'offset' due to read error and will skip it:Read Error in backend HDF5Object type: AttributeError type: NotFoundFurther description: [HDF5] Internal error: Failed to open HDF5 attribute 'unitDimension' (/data/0/particles/electrons/particlePatches/offset/) during attribute read0 number of meshes: 3 all meshes: B E rhonumber of particle species: 1 all particle species: electrons
Expected behavior
Should as it does for the other missing data gracefully skip
Describe the bug
We recently introduced more graceful error handling when we encounter incomplete data.
I found another data set, which we use in openPMD-updater, that only contains structure but no real data in it.
In this data set,
particlePatches
cause read errors inopenPMD-ls
.To Reproduce
Download the file
structure.h5
from openPMD/openPMD-example-datasets#22 / https://github.com/openPMD/openPMD-example-datasets/blob/draft/structure.h5Expected behavior
Should as it does for the other missing data gracefully skip
Software Environment
Additional context
@s-sajid-ali and me are working on 2.0 updates for https://github.com/openPMD/openPMD-updater and moved the little example file in it to https://github.com/openPMD/openPMD-example-datasets via openPMD/openPMD-example-datasets#22
The text was updated successfully, but these errors were encountered: