Skip to content

Allow for Zarr stores being passed to ParticleFile#1303

Merged
erikvansebille merged 16 commits intoParcels-code:masterfrom
willirath:towards-arbitrary-zarr-stores
Feb 7, 2023
Merged

Allow for Zarr stores being passed to ParticleFile#1303
erikvansebille merged 16 commits intoParcels-code:masterfrom
willirath:towards-arbitrary-zarr-stores

Conversation

@willirath
Copy link
Contributor

@willirath willirath commented Feb 5, 2023

Let's allow for directly passing a zarr.storage.Store object to ParticleFile. This will allow for a couple of advanced output strategies:

  • diskless capture of the output into a MemoryStore
  • streaming data to a Redis store using RedisStore
  • capturing output in a zip file using a ZipZtore (Possible but inefficient and throwing lots of warnings.)
  • etc.

Todos:

  • make sure ParticleFile works for Zarr stores directly.
  • document changes
  • add tutorial / example notebook with some of the above stores

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants