-
Notifications
You must be signed in to change notification settings - Fork 380
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
Corrects the calculation of solar zenith angle, which was off by a timestep #4589
Corrects the calculation of solar zenith angle, which was off by a timestep #4589
Conversation
I am running tests on this, and will approve once I've checked the impact on albedo. |
@proteanplanet what did your tests say? |
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 ran two 10 year Cryo JRA G-cases, one with this bug fix and one without, and ran MPAS-Analysis comparison on the two runs. Impacts are minimal. Here's annual SST climatology difference:, with the global max difference being 0.077 degrees.
Impacts on sea ice are indiscernible at the default MPAS-Analysis scales.
Link to full comparison analysis:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.dcomeau/20211011.GMPAS-JRA1p4-DIB-ISMF.TL319_ECwISC30to60E2r1.fix.anvil_vs_control/yrs1-10/
While I'm not familiar with the section of code being altered, approving based on testing revealing no negative impacts to Cryosphere G-cases.
I am swamped at the moment, but am getting to it. I thorough test is needed on a step-by-step basis of several coincident shortwave fields to ensure synchronization, which I am preforming. |
@proteanplanet asking again about your test results. |
@rljacob Sorry Rob, I have been snowed under, and hope I can get to this in the coming week. It requires quite a lot of work and needs surgical fastidiousness before I'm willing to approve this. There have been multiple mistakes made, some claiming to fix previous mistakes, with the radiation coupling with sea ice in G-cases in CESM and E3SM in recent years, and I don't want another bug to enter into the system, because they significantly affect model results. |
@proteanplanet is out on extended medical leave and told me to go ahead and merge this PR. I'll remove him and @maltrud as reviewers and get it merged |
@jonbob is this ready then? |
Results from running e3sm_developer on chrysalis with a test merge:
So it's pretty much just making DIFFs for I-cases, which is expected. OK to merge, @rljacob? Or should we get someone from ELM to review? |
@bishtgautam - I requested your review just because this changes I-case results, whenever you have time |
@jonbob This is an important fix and thanks for bringing this into e3sm master. |
…next (PR #4589) Corrects the calculation of solar zenith angle, which was off by a timestep The solar zenith angle calculation used by the data models was off by one timestep. This issue was first reported by CESM in ESMCI Issue #3380 and subsequently fixed in ESCOMP PR #123. This PR implements that solution in E3SM. Fixes #4575 [non-BFB] for some configurations with data models
previously tested with e3sm_developer, new merge passes sanity testing. Merged to next |
merged to master and expected DIFFs blessed |
@susburrows @jenniferholm @bpbond Do you want this fix in 2.1 simulations? If not, we'll create the maint-2.1 branch before this for you. |
Actually this doesn't affect the F-cases you're going to for v2.1 so nevermind. |
(Not sure if this matters) This PR will result in a non-BFB offline spinup of land BGC. |
The solar zenith angle calculation used by the data models was off by one timestep. This issue was first reported by CESM in ESMCI Issue #3380 and subsequently fixed in ESCOMP PR #123. This PR implements that solution in E3SM.
Fixes #4575
[non-BFB] for configurations with data models