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

Modify TFocean vertical interpolation for depths outside of data range #134

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

matthewhoffman
Copy link

The ISMIP6 code for interpolating TF vertically does not give correct values for depths below the deepest data z-level. This commit handles that case by using the deepest TF value corrected by the freezing temperature depth-dependence. It also handles the less critical situation of depths above the shallowest data level by using the shallowest value unmodified.

The ISMIP6 code for interpolating TF vertically does not give correct
values for depths below the deepest data z-level.  This commit handles
that case by using the deepest TF value corrected by the freezing
temperature depth-dependence.  It also handles the less critical
situation of depths above the shallowest data level by using the
shallowest value unmodified.
@matthewhoffman matthewhoffman added bug Something isn't working clean up labels Nov 26, 2024
@matthewhoffman matthewhoffman force-pushed the matthewhoffman/mali/tf-vert-interp-fix branch from 84d7a06 to e2055b7 Compare November 28, 2024 04:55
@matthewhoffman matthewhoffman requested review from xylar and removed request for cshafer January 4, 2025 03:05
@matthewhoffman
Copy link
Author

@xylar , given your familiarity with the ISMIP6 melt parameterization, can you look this over and do a review by inspection? (I don't expect you to run or test anything.) @cshafer and I have tested this and used it for her updated simulations for her AGU poster.

Copy link

@xylar xylar left a comment

Choose a reason for hiding this comment

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

Looks good to me. One small suggestion for an error message.

Co-authored-by: Xylar Asay-Davis <[email protected]>
@matthewhoffman matthewhoffman merged commit 37848c5 into develop Jan 7, 2025
@matthewhoffman matthewhoffman deleted the matthewhoffman/mali/tf-vert-interp-fix branch January 7, 2025 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working clean up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants