Closed prjemian closed 2 years ago
The files cited are in the NeXus example data repository.
The data file DLS/i03_i04_NXmx/hdf5/Therm_6_2.nxs
is a great test case since it has a dataset /entry/data/data_000001
that is an external file link to file Therm_6_2_000001.h5
and path /data
. The external file is not available.
And, it is much smaller than SwissFEL/hdf5/lyso009a_0087.JF07T32V01_master.h5
. But the SwissFEL is a better example since it has both a missing external file link and a soft link to the missing data set:
NeXus/exampledata/SwissFEL/hdf5/lyso009a_0087.JF07T32V01_master.h5 : NeXus data file
entry:NXentry
@NX_class = NXentry
definition:NX_CHAR = NXmx
data:NXdata
@NX_class = NXdata
data: external file missing
@file = lyso009a_0087.JF07T32V01.h5
@path = data/data
instrument:NXinstrument
@NX_class = NXinstrument
ELE_D0:NXdetector
@NX_class = NXdetector
data: --> /entry/data/data
pixel_mask:NX_INT32[16448,1030] = __array
...
While looking for examples of the
depends_on
attribute, encounteredTypeError: Can't iterate over a scalar dataset
exception when reading two of the files withpunx tree
.DLS/i03_i04_NXmx/hdf5/Therm_6_2.nxs
DLS/i16/hdf5/538039.nxs
DLS/reflections/hdf5/thaumatin_integrated.nxs
DLS/reflections/hdf5/thaumatin_integrated_multisample.nxs
SwissFEL/hdf5/lyso009a_0087.JF07T32V01_master.h5
autogenerated_examples/nxdl/applications/NXmx.hdf5
Example exception:
Another example exception: