Skip to content

Conversation

@erikvansebille
Copy link
Member

This PR changes the ParticleSet._data to be a dictionary of numpy arrays, instead of the xarray Dataset implemented in #2079. This gives a major performance boost (see Parcels-code/parcels-benchmarks#1)

  • Chose the correct base branch (main for v3 changes, v4-dev for v4 changes)
  • Fixes #
  • Added tests
  • Added documentation

@erikvansebille erikvansebille marked this pull request as ready for review July 22, 2025 12:55
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. This will be further fleshed out once we look at particlefile outputs

@erikvansebille erikvansebille merged commit 6baf346 into v4-dev Jul 22, 2025
9 checks passed
@erikvansebille erikvansebille deleted the particledata_as_dict branch July 22, 2025 14:41
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Jul 22, 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.

3 participants