-
Notifications
You must be signed in to change notification settings - Fork 9
Description
It would be nice to allow combining raw data files (not covered by ORSO specs) with reduced data (following the ORSO schema) in a single output file.
I don't know that it makes sense to try to do this in the .ort file, but in an HDF file there is not really any reason not to do this, except if you're worried about size.
For raw data that is coming in as HDF5 already (Mantid? NeXus outputs?) it seems like it would be natural to make the ORSO outputs be just a section in the output file, either near the root (so that the raw data is contained in a subgroup of the ORSO output, maybe in a header entry) or at a parallel level in the file (and then the ORSO header can just link to the existing data).
This would allow a reduction program to e.g. re-open a reduced file and populate all the inputs with the raw data, to allow inspection of the reduction steps.
We could leverage the "external link" capability of HDF5 files, but then you have to make sure the linked files are in the same folder as the HDF5 that is accessing them, and it therefore also requires that you be working with a local filesystem (instead of a cloud system or the like, which is becoming much more common).