Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add two new tools and extend another #6

Merged
merged 1 commit into from
Sep 8, 2022
Merged

Add two new tools and extend another #6

merged 1 commit into from
Sep 8, 2022

Conversation

micaeljtoliveira
Copy link
Contributor

@micaeljtoliveira micaeljtoliveira commented Sep 7, 2022

Add two new tools: one automatically fixes non-advective cells found in a mask file; the other combines two masks. Also modified the topog2mask.py utility to take treat cells with a fraction of ocean lower than a user-provided value as land.

@micaeljtoliveira
Copy link
Contributor Author

This will be needed to fix COSIMA/access-om2#265

@micaeljtoliveira
Copy link
Contributor Author

@aekiss Would you mind reviewing this when you have some time? Thanks!

combine_masks.py Outdated Show resolved Hide resolved
combine_masks.py Outdated Show resolved Hide resolved
combine_masks.py Outdated Show resolved Hide resolved
Copy link
Contributor

@aekiss aekiss left a comment

Choose a reason for hiding this comment

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

thanks @micaeljtoliveira this looks great - just a few small comments

…in a mask file; the other combines two masks. Also modified the topog2mask.py utility to take treat cells with a fraction of ocean lower than a user-provided value as land.
@micaeljtoliveira
Copy link
Contributor Author

@aekiss Thanks for the careful review! I've addressed all your comments.

@aekiss
Copy link
Contributor

aekiss commented Sep 8, 2022

thanks @micaeljtoliveira

@aekiss aekiss merged commit d2f40eb into master Sep 8, 2022
@micaeljtoliveira micaeljtoliveira deleted the add_more_tools branch September 13, 2022 01:02
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.

3 participants