Skip to content

Add option to read depth file when loading grid from .dat files#35

Merged
mikebedington merged 4 commits into
mainfrom
depth_file_read
Jun 11, 2026
Merged

Add option to read depth file when loading grid from .dat files#35
mikebedington merged 4 commits into
mainfrom
depth_file_read

Conversation

@mikebedington

@mikebedington mikebedington commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

FVCOM doesn't require you to include the depth in the {casename}_grd.dat file, but instead can use a {casename}_dep.dat file with the depth data in and have 0s in the grd file, so updating mesh_reader to be able to optionally be passed this file for the depths (and use this to overwrite any depths supplied in the grd file)

@wathen wathen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just two little style things really

Comment thread pyfvcom2/mesh_reader.py Outdated
Comment thread pyfvcom2/mesh_reader.py
@mikebedington mikebedington requested a review from wathen June 10, 2026 08:38
@mikebedington mikebedington merged commit 0e17d9a into main Jun 11, 2026
3 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