Skip to content
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

Remove concatenation of zarrs from post processing scripts #1915

Open
nbren12 opened this issue Jul 6, 2022 · 1 comment
Open

Remove concatenation of zarrs from post processing scripts #1915

nbren12 opened this issue Jul 6, 2022 · 1 comment

Comments

@nbren12
Copy link
Contributor

nbren12 commented Jul 6, 2022

We currently concatenate zarrs when running runfv3 append into the <rundir>/name.zarr. This is convenient for analysis but has several downsides:

  • The concatenation code can and does corrupt the zarr files when the post-processing is interrupted.
  • complexity: gsutil-based implementation of appending to a zarr is complex. This constrains the chunk sizes we can use, which then leads to chunk size validation etc.

There are a couple ways to pay down the debt:

  • reimplement appending with ffspec/normal zarr operations now that gcsfs is more reliable
  • simply save zarrs into each artifacts// directly and add some functions for opening data
@oliverwm1
Copy link
Contributor

Not convinced we want to introduce the dependency, but could use https://github.com/fsspec/kerchunk to enable opening multiple zarr's easily.

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

No branches or pull requests

2 participants