Skip to content

Support for NaN coordinates in hashtable (for Delft3D) - #2780

Merged
erikvansebille merged 3 commits into
Parcels-code:mainfrom
erikvansebille:support_nan_coords_in_hastable
Aug 4, 2026
Merged

Support for NaN coordinates in hashtable (for Delft3D)#2780
erikvansebille merged 3 commits into
Parcels-code:mainfrom
erikvansebille:support_nan_coords_in_hastable

Conversation

@erikvansebille

Copy link
Copy Markdown
Member

Description

Working on Delft3D (#2774) and SWAN models, I realised that the hashtable construction does not properly take into account coordinate values that are NaN (as they are in Delft3D and SWAN, for non-existent grid cells). While the search went well, the construction didn't go well because xmin, ymin, xmax anx ymax were not correctly set. This PR fixes that, and thereby increases performance on #2774

Checklist

  • Closes #xxxx
  • Tests added
  • This PR targets the correct branch (main for normal development, v3-support for v3 support)

AI Disclosure

None

@erikvansebille
erikvansebille merged commit 3ce62dd into Parcels-code:main Aug 4, 2026
17 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Aug 4, 2026
@erikvansebille
erikvansebille deleted the support_nan_coords_in_hastable branch August 4, 2026 06:29
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.

1 participant