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

This is the code update for calling new Icepack. #215

Open
wants to merge 1 commit into
base: dev/gfdl
Choose a base branch
from

Conversation

kshedstrom
Copy link
Contributor

The "main" branch as of Oct 24, 2024 adds the optional arguments
described here.

It uses the public icepack_step_ridge instead of the old interface,
which is now private. The code that was in Icepack's ridge_prep had
to be moved to the SIS2 side. There are two new options in the call to
icepack_step_ridge, telling it how much to do. To reproduce old answers,
both options should be set to False. On the Icepack side, they recommend
both being True, which will not only call the ridging code, but also put
a limiter on some ice fields (no negative thicknesses, etc.) and call
the rebin routine, which resets which ice is in which thickness category.

All three versions run for me (three because rebin depends on calling
the cleanup routine). I have promised some feedback if we later decide
to just pick one forever.

 The "main" branch as of Oct 24, 2024 adds the optional arguments
 described here.

 It uses the public icepack_step_ridge instead of the old interface,
 which is now private. The code that was in Icepack's ridge_prep had
 to be moved to the SIS2 side. There are two new options in the call to
 icepack_step_ridge, telling it how much to do. To reproduce old answers,
 both options should be set to False. On the Icepack side, they recommend
 both being True, which will not only call the ridging code, but also put
 a limiter on some ice fields (no negative thicknesses, etc.) and call
 the rebin routine, which resets which ice is in which thickness category.

 All three versions run for me (three because rebin depends on calling
 the cleanup routine). I have promised some feedback if we later decide
 to just pick one forever.
@kshedstrom
Copy link
Contributor Author

Icepack 1.5.0 has been released with this note:
NOTE: This version is not backwards compatible with earlier versions of Icepack due to changes in public interfaces. In addition, all answers are changed.

@MJHarrison-GFDL
Copy link
Contributor

MJHarrison-GFDL commented Nov 20, 2024 via email

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.

2 participants