modelrunner.run.compatibility.triage module
Contains code necessary for deciding which format version was used to write a file
- normalize_zarr_store(store, mode='a')[source]
determine best file format for zarr storage
In particular, we use a
ZipStore
when a path looking like a file is given.- Parameters:
store (Store) – User-provided store
mode (str) – The mode with which the file will be opened
- Return type:
Store | None
Returns: