Skip to content

Add convert_delft3d_to_sgrid - #2774

Open
erikvansebille wants to merge 11 commits into
Parcels-code:mainfrom
erikvansebille:delft3d-support
Open

Add convert_delft3d_to_sgrid#2774
erikvansebille wants to merge 11 commits into
Parcels-code:mainfrom
erikvansebille:delft3d-support

Conversation

@erikvansebille

@erikvansebille erikvansebille commented Jul 27, 2026

Copy link
Copy Markdown
Member

Description

This PR adds a convert_delft3d_to_sgrid() function, to convert structured-grid netcdf output from Delft3D to SGrid, and use it in Parcels.

Note that the interpolation method is currently set to XFreeslip, which may not be the best choice for this data on a Grid. However, we can't use the CGrid_Velocity() interpolator as currently implemented in Parcels on the example data that I got from Port of Rotterdam), because the VELU and VELV velocities are rotated to the east and north directions - where the CGrid_Velocity() interpolator expects unrotated velocities in the M and N directions. I'm planning to talk to Deltares to see how we can fix this

Note that, at least for performance, this PR is blocked by #2780

Checklist

AI Disclosure

None

@erikvansebille erikvansebille added the 🚧BLOCKED🚧 An issue that is blocked by another issue. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚧BLOCKED🚧 An issue that is blocked by another issue.

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Reading Delft3D Flow NetCDF output into parcels

1 participant