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

running parcels in a grid with a coordinate grid with missing values (nans) #1495

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

dicaearchus
Copy link
Contributor

When you want to populate a particle set prior to a parcels run, this can be done with the help of a KDTree search. However, when the input fields have missing values (i.e.: nan's) in their grid, the algorithm does provide an answer, but these are not correct. Hence, the following adjustments are made, to remove nan entries from the creation of a KDTree.

dicaearchus and others added 2 commits January 11, 2024 17:19
When you want to populate a particle set prior to a parcels run, this can be done with the help of a KDTree search. However, when the input fields have missing values (i.e.: nan's) in their grid, the algorithm does provide an answer, but these are not correct. Hence, the following adjustments are made, to remove nan entries from the creation of a KDTree.
@erikvansebille erikvansebille merged commit 2d17966 into OceanParcels:master Jan 12, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants