Skip to content

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

Open
erikvansebille wants to merge 1 commit into
Parcels-code:mainfrom
erikvansebille:support_nan_coords_in_hastable
Open

Support for NaN coordinates in hashtable (for Delft3D)#2780
erikvansebille wants to merge 1 commit 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

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.

1 participant