Skip to content

Add open_raw_zarr helper#2668

Open
VeckoTheGecko wants to merge 24 commits into
Parcels-code:mainfrom
VeckoTheGecko:open_raw_zarr
Open

Add open_raw_zarr helper#2668
VeckoTheGecko wants to merge 24 commits into
Parcels-code:mainfrom
VeckoTheGecko:open_raw_zarr

Conversation

@VeckoTheGecko

Copy link
Copy Markdown
Contributor

Description

This helper ingests a Zarr dataset into an Xarray dataset by bypassing Dask.

xref pydata/xarray#11236 (reply in thread)

PR is (somewhat) blocked by #2646 - at least #2646 greatly simplifies the number of Xarray objects we have flying around.

Checklist

  • Closes None
  • Tests added
  • This PR targets the correct branch (main for normal development, v3-support for v3 support)

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
    • Describe how you used it (e.g., by pasting your prompt): Just got it to right the test, and fix the code based on that

VeckoTheGecko and others added 20 commits May 29, 2026 16:02
Split out data manipulation and grid creation from the construction of fields
Move all data validation code to the model itself
Ultimately we want to make the grid just dependent on the SGRID compliant model data since it contains all the information needed regarding staggering (we dont need xgcm anymore). I want to update the constructor to remove the xgcm grid object - so adding an adapter at the moment to help with refactoring (will be removed at a later date)
Also update calling code in model and field.py
@VeckoTheGecko VeckoTheGecko changed the title Add open_raw_zarr helper Add open_raw_zarr helper Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant