Open vedina opened 2 months ago
@georgievgeorgi this is a proposal for .cha v2 (in addition to NeXus file generated using https://github.com/ideaconsult/pyambit )
The main change is there is a top level group (entry, name could be anything) and then there could be multiple NXdata groups, then the actual data as h5 datasets.
This shall enable visualisation in h5web. Also will be possible to have multiple spectra in the same file (different top level entries)
Question - can we fit the cache within this new structure ?
The cache is based on nested datasets. The name of the dataset represents the applied processings over the parent data. This way we support branching. If the NeXus format supports nested datasets, the rest is doable, i believe.
NeXus is just hdf5 file with some conventions for the structure. there is no convention for nested datasets , but we could propose one .