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

Some changes needed for the inversion_ismip6 branch for ice shelves #30

Open
wants to merge 5 commits into
base: lipscomb/inversion_ismip6
Choose a base branch
from

Conversation

ekluzek
Copy link
Contributor

@ekluzek ekluzek commented Feb 7, 2020

These are the set of changes I needed to put in place, to get ice shelves working for a present day T compset.

Note, that I currently had to turn off an abort for the check

"Ocean data extrapolation error: did not fill level"

And I also added a check if kbot == ktop, that currently turns off the extrapolation for that point if triggered (and it's triggered very often).

I'm putting this in as a PR so it's easy to look at, and suggest changes to. I'm happy to make any changes suggested, or to have these changes dropped if different changes seem the right way to go.

pass unphys_val down to interpolate_thermal_forcing_to_lsrf so can
check if thermal_forcing is set, if it isn't set it to zero.

change loops that start at nhalo to nhalo+1, so subscripts
remain within arrays.

Set indices for nearest neighbors so can ensure within array bounds.
Add more checks that both kbot and ktop are set to signify a valid
ocean point. If ktop == kbot set both to zero. If checks on kbot or
ktop, make sure it's not zero before doing the check.

Comment out the bug check that all points are filled. It writes
the error for several points. But, doing this allows the simulation
to complete.
… that is now passing, add in a verification that nhalo is large enough when basal melt is using thermal forcing
@ekluzek ekluzek added the bug Something isn't working label Feb 7, 2020
@ekluzek ekluzek self-assigned this Feb 7, 2020
@whlipscomb
Copy link
Contributor

Thanks, @ekluzek. I'll look at these changes after the LIWG meeting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants