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

Renormalize topography after remapping in global_ocean #640

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Jun 5, 2023

A bug in #566 left the remapped topography multiplied by the remapped ocean mask. This means that the topography falls back to zero at coastlines and grounding lines under ice shelves. This merge fixes that issue by renormalizing topography as long as the remapped ocean mask is over a given threshold (0.01 by default).

This merge also turns off smoothing of topography in global_ocean init mode because it should no longer be needed with the conservative remapping approach.

Checklist

  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

@xylar xylar added bug Something isn't working ocean labels Jun 5, 2023
@xylar
Copy link
Collaborator Author

xylar commented Jun 5, 2023

Testing

I ran the ECwISC mesh through mesh, init and performance_test test cases. The topography is now renormalized as expected (values remain deep near grounding lines):
draft
bathymetry

@xylar xylar merged commit f081987 into MPAS-Dev:main Jun 5, 2023
@xylar xylar deleted the renormalize-remapped-topo branch June 5, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ocean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant