Skip to content

Always set minimum depth when using topog for masks#138

Merged
anton-seaice merged 5 commits into
mainfrom
129
Jul 3, 2026
Merged

Always set minimum depth when using topog for masks#138
anton-seaice merged 5 commits into
mainfrom
129

Conversation

@anton-seaice

@anton-seaice anton-seaice commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Fixes #129

This always sets the minimum depth to the MOM default value when making land/sea masks

@anton-seaice anton-seaice self-assigned this Jun 26, 2026
@anton-seaice

Copy link
Copy Markdown
Contributor Author

You might be interested @claireyung

dougiesquire
dougiesquire previously approved these changes Jun 29, 2026

@dougiesquire dougiesquire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @anton-seaice. I always find the MINIMUM_DEPTH and MASKING_DEPTH params very confusing.

@anton-seaice

Copy link
Copy Markdown
Contributor Author

I missed the tidal generation files, will revisit after #140

@anton-seaice anton-seaice marked this pull request as draft June 30, 2026 00:09
@anton-seaice

Copy link
Copy Markdown
Contributor Author

For whatever reasion, minimum_depth and masking_depth aren't set in tidal generation scrips, so ill leave them alone

@anton-seaice anton-seaice marked this pull request as ready for review July 3, 2026 05:34
@anton-seaice anton-seaice requested a review from dougiesquire July 3, 2026 05:34
@anton-seaice

Copy link
Copy Markdown
Contributor Author

It appears bottom roughness files don't have a mask in them:

image

so if there are a few extra cells which have roughness calculated which aren't used, I guess it's fine

@anton-seaice

Copy link
Copy Markdown
Contributor Author

Example output in /g/data/tm70/as2285/making_inputs/om3-scripts/rof_pattern_generation/rofi_test.nc

@dougiesquire dougiesquire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @anton-seaice

@anton-seaice anton-seaice merged commit b4d2ced into main Jul 3, 2026
4 checks passed
@anton-seaice anton-seaice deleted the 129 branch July 3, 2026 06:13
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.

Apply minimum_depth always when creating masks from bathymetry

2 participants