Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement warning for particles initialised outside time domain #1810

Merged

Conversation

erikvansebille
Copy link
Member

This PR adds a warning when some particles are set to be released outside the FieldSet's time bounds

It also adds a new ParticleSet warning to the list of Parcels custom warnings

This fixes #1694

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.

LGTM! Just a small refactor request, but otherwise I think its good to go

parcels/particleset.py Outdated Show resolved Hide resolved
@erikvansebille erikvansebille merged commit f46b2be into master Jan 7, 2025
16 checks passed
@erikvansebille erikvansebille deleted the warn_particle_times_outside_fieldset_time_bounds branch January 7, 2025 12:59
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.

Warning when particles are initialised outside time domain
2 participants