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

Update for the FSD changes in icepack. #975

Merged
merged 7 commits into from
Oct 31, 2024
Merged

Conversation

dabail10
Copy link
Contributor

@dabail10 dabail10 commented Sep 25, 2024

…ew FSD rearrangement.

For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium,
please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers

PR checklist

  • Short (1 sentence) summary of your PR:
    This changes the calls to icepack_step_therm1 and icepack_step_therm2 for the FSD icepack updates.
  • Developer(s):
    dabail10 (D. Bailey)
  • Suggest PR reviewers from list in the column to the right.
  • Please copy the PR test results link or provide a summary of testing completed below.
    Working on a QC test.
  • How much do the PR code changes differ from the unmodified code?
    • bit for bit
    • different at roundoff level
    • more substantial
  • Does this PR create or have dependencies on Icepack or any other models?
    • Yes
    • No
  • Does this PR update the Icepack submodule? If so, the Icepack submodule must point to a hash on Icepack's main branch.
    • [ ] Yes
    • No
  • Does this PR add any new test cases?
    • Yes
    • No
  • Is the documentation being updated? ("Documentation" includes information on the wiki or in the .rst files from doc/source/, which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/. A test build of the technical docs will be performed as part of the PR testing.)
    • Yes
    • No, does the documentation need to be updated at a later time?
      • Yes
      • No
  • Please document the changes in detail, including why the changes are made. This will become part of the PR commit log.

Update fsd implementation and interfaces.

This changes answers for all results due to changes in Icepack. Initial ice and snow volume values at the beginning of the lateral melt routine are now used for updating the snow and ice enthalpy as well other tracers for lateral melting.
Update fsd arguments floe_rad_l, floe_rad_c, floe_binwidth, c_fsd_range to Icepack

Update rside/fside arguments to Icepack

Update unittest and coupler layers as needed

Update Icepack to #286630f

@dabail10
Copy link
Contributor Author

These look bfb, but when I compare the run logs they are different. So, this passes the QC test.

ice_thickness_derecho_intel_smoke_gx1_44x1_medium_qc qc_base
ice_thickness_derecho_intel_smoke_gx1_44x1_medium_qc qc_te_minus_derecho_intel_smoke_gx1_44x1_medium_qc qc_base
ice_thickness_derecho_intel_smoke_gx1_44x1_medium_qc qc_te

Copy link
Contributor

@eclare108213 eclare108213 left a comment

Choose a reason for hiding this comment

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

The changes to the interface will cause backward compatibility problems. However there will be similar changes from elsewhere in the next release, and it's better to do them all at once.

Do you intend to update Icepack in this PR? Based on the title, I think that's correct. Please reference the corresponding Icepack PR here and describe the changes being brought in. Thanks!

dabail10 and others added 4 commits October 9, 2024 15:40
arguments to icepack_init_fsd_bounds calls.

Update calls to step_dyn_wave, step_therm2, step_therm1 to be
consistent with new Icepack interfaces

Clean up some blank lines

Update unit test code.

Update driver code including remove zsal from mct/cesm.
This needs to have the icepack hash updated.
@apcraig apcraig assigned apcraig and unassigned eclare108213 Oct 28, 2024
@apcraig apcraig merged commit 3ebdef7 into CICE-Consortium:main Oct 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants