The current resave.py was getting fairly complicated. This PR introduces two new classes to help control that complexity:
Config: this encapsulates all the issues regarding reading/writing from local/remote storage for zarr/tensorstore.
ROCrateWriter: this is an extension point that we can add to in order to read metadata from other sources. Currently it only takes the 5 known parameters from the command-line.
This branch is currently based on #17 awaiting @dominikl's review.
The current resave.py was getting fairly complicated. This PR introduces two new classes to help control that complexity:
Config
: this encapsulates all the issues regarding reading/writing from local/remote storage for zarr/tensorstore.ROCrateWriter
: this is an extension point that we can add to in order to read metadata from other sources. Currently it only takes the 5 known parameters from the command-line.This branch is currently based on #17 awaiting @dominikl's review.
cc: @sherwoodf @will-moore