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

More examples #648

Open
3 of 7 tasks
tomwhite opened this issue Dec 17, 2024 · 2 comments
Open
3 of 7 tasks

More examples #648

tomwhite opened this issue Dec 17, 2024 · 2 comments
Labels
examples xarray-integration Uses or required for cubed-xarray integration zarr

Comments

@tomwhite
Copy link
Member

tomwhite commented Dec 17, 2024

One of the things that became apparent from AGU was that we need more examples!

Here are a few that I'd like to add:

  • Zarr. Read a regular Zarr array (using from_zarr), apply some array operations, then write the result out as Zarr (using to_zarr).
  • Xarray. Open a Zarr store as an Xarray Dataset, apply some array operations, then write the result out as Zarr.
  • Rechunk. Rechunk an Xarray Dataset. See Basic rechunking example #539
  • Icechunk. Same as the above, but using Icechunk.
  • VirtualiZarr + Rechunk. Combine some NetCDF files using VirtualiZarr, rechunk (using Cubed), then save. See VirtualiZarr example #646
  • Single cloud machine. How to run Cubed on a single (large) cloud instance where we read/write from cloud storage, but intermediate data is stored on SSD.
  • Example of map_blocks/apply_gufunc #519
@TomNicholas
Copy link
Member

Yes to all of these! Also an example showing that xarray groupby with flox works.

@tomwhite
Copy link
Member Author

Yes to all of these! Also an example showing that xarray groupby with flox works.

We already have https://flox.readthedocs.io/en/latest/user-stories/climatology-hourly-cubed.html, but we could add something to the Cubed docs too - even if it's just a link to that page.

@tomwhite tomwhite pinned this issue Dec 18, 2024
@tomwhite tomwhite added zarr xarray-integration Uses or required for cubed-xarray integration labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples xarray-integration Uses or required for cubed-xarray integration zarr
Projects
None yet
Development

No branches or pull requests

2 participants