-
Notifications
You must be signed in to change notification settings - Fork 146
Template for sealevelponds CICE changes #1020
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
Conversation
…vlponds, fails baseline comparison test
…son test with main
Fix baseline comparison issue and merge latest CICE main changes into ESCOMP sealevelponds
added icepack_init_sealvlpnd to nuopc cmeps init subroutine
Please add a restart test in the base suite for the new ponds option. |
apnd_sl has not been added to the source code as a valid namelist option. The CICE testing is aborting on derecho (using the Icepack sealevelponds code). |
Apologies. I have added it now. |
Testing looks OK, but the pondsealevel test fails on all compilers on derecho. One test is FAIL derecho_intel_restart_gx3_8x2_pondsealvl run The model aborts at the start, probably while writing the initial history file. The error message is
|
Interesting. I will investigate this further on Monday. |
Apologies. I forgot the call to write_restart_pond_sealvl in CICE_RunMod.F90 for the standalone driver. |
vicd ..
I have submitted a fix for this. |
Thanks @dabail10. When you're ready, push the update and I'll test again too. |
It should be there already. |
The change is not in the github repo on your CICE sealevelponds2 branch. This should be a change in CICE_RunMod.F90 in the standalone driver in CICE, right. |
Sorry, I forgot I had created the sealevelponds2 branch |
@apcraig @eclare108213 I think I have updated everything here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please test and post results. Otherwise this looks good. I assume github actions is failing because it doesn't have the updated version of icepack. Thanks!
I ran a full test suite on derecho with intel, gnu, and cray and everything looks good. |
Awesome. Thanks Tony. |
I just noticed that the documentation has not been updated at all. There are several new namelists, at the very least. Maybe there should be some other updates in the documentation as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there might be some older code slipping in with this PR.
Also, the new namelist parameters apnd_sl
and tscale_pnd_drain
need to be added to the documentation, along with some mention of the sealvl pond scheme
I'll work on the documentation. |
call accum_hist_field(n_rfpndn-n2D, iblk, ncat_hist, rfpndn(:,:,:,iblk), a3Dc) | ||
if (f_ilpndn (1:1) /= 'x') & | ||
call accum_hist_field(n_ilpndn-n2D, iblk, ncat_hist, ilpndn(:,:,:,iblk), a3Dc) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fields in lines 538-546 should have the form
field(:,:,1:ncat_hist,iblk)
I don't think this will change the output for standard 5-category runs.
I am merging this now. This will break CICE, but there will be a followup PR immediately following that finishes this work and updates Icepack and CICE again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved based on testing with another PR to follow. I acknowledge merging this now will break CICE.
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
Draft PR for CICE changes needed to call sealevelponds in icepack.
D. Bailey (dabail10)
These test results include a second PR that will come shortly after this one.
https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash_forks#bf2aa3f4abce18d657724bb72dae86cf715fe963
https://github.com/CICE-Consortium/Test-Results/wiki/icepack_by_hash_forks#f000063a5b35adcdaed4c569179a200456576d94
This is needed for the new sea level ponds scheme in Icepack.