Skip to content

Check writing of initial values of sampled Variables - #2622

Open
erikvansebille wants to merge 8 commits into
Parcels-code:mainfrom
erikvansebille:write_init_sampling_values
Open

Check writing of initial values of sampled Variables#2622
erikvansebille wants to merge 8 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

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.

Initial values of sampled fields are not in output file

2 participants