-
Notifications
You must be signed in to change notification settings - Fork 142
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
Fix sfc_flux argument order in icepack_therm_vertical.F90 #513
Fix sfc_flux argument order in icepack_therm_vertical.F90 #513
Conversation
We should definitely run the Icepack / CICE tests here to make sure it does not affect configurations with calc_Tsfc = .true. Also, if it is answer changing for calc_Tsfc = .false. then we should do a QC test in CICE. |
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.
Good catch, thanks.
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.
I still think it would be useful to see the QC tests here.
I fired off some test suites this morning, waiting to see what they report. We have no tests for Icepack with calc_tsfc=.false. so just checking whether all tests are bit-for-bit. We do have a test in CICE with calc_tsfc=.false. so checking results for CICE too. My understanding is that this is a bug. calc_tsfc=.true. should be bit-for-bit. calc_tsfc=.false. should change some results, but in stand-alone mode, is it just a diagnostic bug? If true, what would QC tell us? Happy to do QC if it makes sense. Are you suggesting QC if answers are not bit-for-bit with calc_tsfc=.true.? |
I just think it would be good to evaluate the change with calc_tsfc = .false. If it is answer changing with calc_Tsfc = .true. then that would be an issue. |
I'm not sure that our tests are able to evaluate whether calc_Tsfc=.false. would be climate-changing, because I don't think our forcing has the fields necessary to produce results equivalent to calc_Tsfc=.true. |
@kieranricardo did you evaluate this bug fix in your coupled system? |
The bug fixed version is the one we've been using, kieran might have records of what impact this had, but as its a bug we might not have paid too much attention to the old results |
All the standalone Icepack and CICE tests are bit-for-bit based on log and restart files. It could be that some diagnostic fields on history files are not bit-for-bit, we don't check that. Are there some history fields that I should turn on and compare with/without this change? Or should we just do the merge? |
I am surprised about set_nml.alt03 ? either way, i think it's good to just merge |
Yes, the alt03 results were bit-for-bit. Again, I don't think calc_tsfc affects the stand-alone model, although it might impact some diagnostic fields in the stand-alone model that might be on history files. But the prognostic state is not affected. At least that's my interpretation. |
For the record, test results are here, https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash_forks#666468075b346e2da536c40dc19d964ef2c1c107 gbox128 is not bit-for-bit with past weekend results due to merge this week. |
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
Fixes
set_sfcflux
argument order in icepack_therm_vertical.F90, this caused errors for models usingcalc_tsfc=false
. Addresses set_sfcflux arguments are switched in icepack_therm_vertical.F90 #512Kieran Ricardo
Passed GitHub actions tests: https://github.com/ACCESS-NRI/Icepack/actions/runs/13231902867/job/36930302099?pr=6
calc_tsfc=false
)The call to
set_sfcflux
inicepack_therm_vertical.F90
has thefsurfn_f
andfcondtopn_f
arguments switched, causing issues for models usingcalc_Tsfc = .false.
. This PR fixes these.