-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider better packaging of h5 files from exported ROIs #209
Comments
We could supply a "merge ROI files" option to the PyOPIA command line interface. Since the ROIs have different shapes, xarray/netcdf is not ideal, but we could simply drop them into one big hdf5 file. |
Something like this could be a solution, producing one merged hdf5 file with one group for each processed image, containing all the ROIs as datasets under those groups:
|
Another option is to look into a more cloud-friendly storage solution, such as zarr: https://zarr.dev/ |
If we switched to zarr, we could put the ROIs as a subgroup within the main STATS output - then we could have all output files in the same place. See zarr groups here |
Is your feature request related to a problem? Please describe.
exported ROIs are put into a folder that becomes eventually a very long list of h5 files
Describe the solution you'd like
package this into a single file that is easier to transport between discs
Describe alternatives you've considered
maybe some tools like xarray.open_mfdataset could be helpful here?
The text was updated successfully, but these errors were encountered: