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

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

Checklist

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.

Reading Delft3D Flow NetCDF output into parcels

1 participant