Skip to content

Conversation

@VeckoTheGecko
Copy link
Contributor

Towards #2003 (adding from_convention - future PR)

Changes:

  • Grid2DMetadata and Grid3DMetadata
    • Added simple reprs
    • Added a rename_dims method allowing you to quickly swap dimension names out in the metadata dictionary
  • added a sgrid.rename_dims() function
    • behaves similarly to xarray's rename_dims but it also modifies the metadata
  • Add datasets_sgrid to _datasets/structured/generic.py by modifying the COMODO datasets

@VeckoTheGecko VeckoTheGecko enabled auto-merge (squash) December 12, 2025 08:39
@VeckoTheGecko VeckoTheGecko merged commit 910310f into Parcels-code:v4-dev Dec 12, 2025
9 of 10 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants