[NeXus-committee] DECTRIS example file
Pete Jemian
jemian at anl.gov
Fri Jan 11 16:25:10 GMT 2013
Isn't that an example of why not to use parent addressing when dealing
with HDF5 data paths?
On 1/11/2013 10:05 AM, "V. Armando Solé" wrote:
>
> Well, at this moment this poses cumbersome to fix issues.
>
> import h5py
> f = h5py.File('th02c_ps02_1_master.h5')
>
> The issues:
>
> f['/entry/data_000001'].name returns data (the name at the destination
> side)
> f['/entry/data_000001'].parent returns "/" (the parent at the
> destination side)
>
> So, HDF5 browsers are having a hard time to deal with the master file.
>
> Armando
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <jemian at anl.gov>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
More information about the NeXus-committee
mailing list