-
Notifications
You must be signed in to change notification settings - Fork 134
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
Merge E3SM Icepack cice-consortium/E3SM-icepack-initial-integration to Consortium #460
Merge E3SM Icepack cice-consortium/E3SM-icepack-initial-integration to Consortium #460
Conversation
… standard dEdd config
Update to Consortium Main Aug 17, 2022
clean up trailing blanks
Add calls to icepack_init_radiation to icepack driver
Add some SNICAR SSP table checks, aborts, etc
new namelist variables and options. Add new namelist to icepack_in. Add snicar and snicartest options. Minor updates to namelist output
Update snow table implementation and add SNICAR SSP Tables
Update ssp data for dEdd_snicar
…ata for use_snicar
Add additional SNICAR SSP fields for aerosols, BGC
Merge #86cae16d1b7c4 from CICE-Consortium/main Aug 19, 2023
…o cice-consortium/E3SM-icepack-initial-integration Merge Icepack main #23b6c1272b50d42cad, includes thin ice enthalpy fix and zsalinity deprecation
…o e3sm230830 Update to Icepack Consortium #7952807, Sept 13, 2023
Merge Consortium Icepack #23b6c1272b50d4, Aug 30, 2023
Update to Consortium #795280797a Sept 13, 2023
Adjust icepack interface for E3SM
I will review the documentation and propose some changes via a PR to E3SM-Project:cice-consortium/E3SM-icepack-initial-integration. Once that's ready, we can test/review/merge this PR to the Consortium. |
@@ -27,15 +27,15 @@ module icepack_itd | |||
|
|||
use icepack_kinds | |||
use icepack_parameters, only: c0, c1, c2, c3, c15, c25, c100, p1, p01, p001, p5, puny | |||
use icepack_parameters, only: Lfresh, rhos, ice_ref_salinity, hs_min, cp_ice, Tocnfrz, rhoi |
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.
Didn't we fix something like this in Icepack already?
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.
No. The Tf/Tocnfrz was implemented on the E3SM side, and we have not moved any of those changes over to the Consortium. In hindsight, it probably should have been done on the Consortium side and moved to the E3SM side. I think that was early days of the E3SM Icepack version, and we probably hadn't realized that we should do changes, when possible, in the Consortium. That approach was adopted later.
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.
If this is all bfb, then I don't see any issues. I was confused about the Tocnfrz versus Tf thing. I know we removed hard-coded -1.8 when possible, but then we decided not to update to Tf as this would change answers? Can someone remind me what happened 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.
Just one comment here which is more appropriate for the documentation PR. I'll add others there.
@@ -464,6 +464,7 @@ either Celsius or Kelvin units). Deprecated parameters are listed at the end. | |||
"time_forc", "time of last forcing update", "s" | |||
"Timelt", "melting temperature of ice top surface", "0. C" | |||
"TLAT", "latitude of cell center", "radians" | |||
"Tliquidus_max", "maximum liquidus temperature of mush", "0. C" |
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.
for Tocnfrz below, shouldn't we leave the value blank rather than have -1.8 (which has its own option under tfrz_option)?
And I think Tocnfrz should have a \bullet, since it's a namelist parameter now... except that apparently it's not a namelist parameter even though it's in icepack_parameters. Shouldn't it be?
@dabail10, the Tf/Tocnfrz thing is a little confusing. I think what was done was the following. There were a few places where the freezing T was hardwired, those were modified so the code uses Tf (the computed value of freezing temp) and is internally consistent. Then we added a new option for tfrz_option, "constant", which allows the user to set the value of Tocnfrz via icepack_parameters. The default for Tocnfrz is -1.8. The other options for tfrz_option is "minus1p8", "linear_salt", and "mushy". The difference between "constant" and "minus1p8" is that the former allows the user to set a Tocnfrz value that will be used while the latter always uses -1.8. We are also supporting "_old" options for all of these settings. That provides backward compatibility for CICE testing to make sure we're not changing answers overall relative the Consortium main. The "_old" version just sets trcrn(It) in icepack_compute_tracers to Tocnfrz (-1.8 by default) instead of Tf (the freezing temperature associated with the tfrz_option). These "_old" versions will be deprecated after the code is moved to Consortium main, that will change answers but be more correct. The "_old" versions exist just for testing. |
Update documentation
…o upd230930 Merge Consortium main #390fb5518326217c2501dbf5 to branch, Sept 30, 2023
Update Icepack Consortium main #390fb5518326217c2501dbf5, Sept 30, 2023
Testing vs Icepack Consortium and CICE Consortium mains performed as expected.
This is ready for review and merge. |
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.
This code has been thoroughly tested in E3SM and is BFB in most cases for the Consortium.
PR checklist
Short (1 sentence) summary of your PR:
Merge E3SM Icepack cice-consortium/E3SM-icepack-initial-integration to Consortium
Developer(s):
apcraig, eclare108213, dabail19
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.
underway....
How much do the PR code changes differ from the unmodified code?
Does this PR create or have dependencies on CICE or any other models?
Does this PR add any new test cases?
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/.)
Please provide any additional information or relevant details below:
Update dEdd shortwave, snicar, Snicar-ad port to Icepack from MPAS-SI E3SM-Project/Icepack#7
Update modal aerosols, this changes answers in Icepack standalone
Update public interfaces
Modify icepack parameters
Update Tf implementation to make internally consistent in multiple places, First part of adding Tf. E3SM-Project/Icepack#12
Modify iDin computation in subroutine compute_microS_mushy
Fix fhtan computation in compute_albedos subroutine
Modify some internal subroutine interfaces, remove parameters from arguments, leverage module data instead
Rename orb interfaces, change from shr_orb to icepack_orb to better differentiate internal and external versions of the orbital code
Refactor some optional argument handling
Clean up icepack driver namelist logging
Clean up some formatting
Add ability to reuse Icepack binary in Icepack test scripts
Add snicar_suite test suite
Update documentation
NOTE: TO DO AFTER MERGE