Skip to content

Check writing of initial values of sampled Variables - #2622

Merged
erikvansebille merged 9 commits into
Parcels-code:mainfrom
erikvansebille:write_init_sampling_values
Aug 3, 2026
Merged

Check writing of initial values of sampled Variables#2622
erikvansebille merged 9 commits into
Parcels-code:mainfrom
erikvansebille:write_init_sampling_values

Conversation

@erikvansebille

@erikvansebille erikvansebille commented May 1, 2026

Copy link
Copy Markdown
Member

Description

As discussed in #2619, there is a bug in that the initial values of sampled Variables are not in the particle file. This PR provides a (failing) unit test to show that

Checklist

AI Disclosure

None

@erikvansebille
erikvansebille requested a review from j-atkins July 28, 2026 15:00
@erikvansebille
erikvansebille marked this pull request as ready for review July 28, 2026 15:01

@j-atkins j-atkins left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good, a nice explanation! Just some tiny comments below

Comment thread docs/user_guide/examples/tutorial_sampling.ipynb Outdated
Comment thread docs/user_guide/examples/tutorial_sampling.ipynb Outdated
Comment thread docs/user_guide/examples/tutorial_sampling.ipynb Outdated
Comment thread docs/user_guide/examples/tutorial_sampling.ipynb Outdated
@erikvansebille

Copy link
Copy Markdown
Member Author

Looks good, a nice explanation! Just some tiny comments below

Thanks! All addressed in 2c2dd98

@erikvansebille
erikvansebille enabled auto-merge (squash) August 3, 2026 08:15
@erikvansebille
erikvansebille merged commit 00b70b4 into Parcels-code:main Aug 3, 2026
15 of 16 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Aug 3, 2026
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.

Initial values of sampled fields are not in output file

3 participants