Skip to content

Add python scripts to alter coastlines - #220

Merged
mark-petersen merged 2 commits into
MPAS-Dev:masterfrom
mark-petersen:ocean/remove_landlocked_cells
Jun 10, 2018
Merged

mark-petersen merged 2 commits into
MPAS-Dev:masterfrom
mark-petersen:ocean/remove_landlocked_cells

Conversation

@mark-petersen

Copy link
Copy Markdown
Collaborator

Add two python scripts that are needed for V3 meshes, to remove single-wide and land-locked ocean cells. See matching PR into MPAS-Model.

Added:
widen_transect_edge_masks.py
and add_land_locked_cells_to_mask.py
@mark-petersen

Copy link
Copy Markdown
Collaborator Author

See MPAS-Dev/MPAS-Model#49 for matching PR.

@xylar

xylar commented May 29, 2018

Copy link
Copy Markdown
Collaborator

@mark-petersen, I will try my best to review this and the accompanying PR tomorrow morning. Sorry for the delay.

@xylar xylar 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.

These scripts look fine to me. There are probably changes that could be made in the future to make them more efficient if need be but that is certainly not needed in this round. Nice work!

For long init runs like RRS18to6, it's important to have input and
output files, rather than overwriting, because the process will
often get killed halfway through.
@mark-petersen
mark-petersen merged commit 2616ac2 into MPAS-Dev:master Jun 10, 2018
mark-petersen added a commit that referenced this pull request Jun 10, 2018
Add two python scripts that are needed for V3 meshes, to remove single-wide and
land-locked ocean cells. See matching PR into MPAS-Model.
@mark-petersen
mark-petersen deleted the ocean/remove_landlocked_cells branch June 10, 2018 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants