-
Notifications
You must be signed in to change notification settings - Fork 368
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 a bug in VBS SOA gas-aerosol partition calculation #6502
Conversation
|
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.
Sounds good. As expected, the bug has minimal impact. I agree it should use 298 K instead of temp on line 3533
@wlin7 is this ready to go? Could go on next today. |
Fix a bug in VBS SOA gas-aerosol partition calculation In subroutine mam_soaexch_vbs_1subarea in components/eam/src/chemistry/modal_aero/modal_aero_amicphys.F90 The calculation of p0_soa_298 is not correct. Temperature of 298 K should be used instead of ambient temperature This fix has very small impact on global mean climate. Fixes #6474. [non-BFB] All tests with active E3SMv3 atm configurations that enable vbs soa are affected. * origin/mingxuanwupnnl/atm/VBSfix: fix VBS bug in soa partition subroutine
Merged to next. The fix is straightforward; it will impact all configs that use vbs soa (standard v3atm). |
Noting that 2 of the non-BFB tests flagged this PR. Only variable rejected was soa_a1_SRF Also https://web.lcrc.anl.gov/public/e3sm/e3smtest/evv/TSC_PS.ne4pg2_oQU480.F2010.chrysalis_intel.C.JNextNbfb20241030_010350/index.html |
@mingxuanwupnnl would you expect this to be climate changing? TSC tests indicate it is. |
I don't think this bug fix will change the climate significantly. Not sure if I understand the test correctly. Does it mean that only soa_a1_SRF and num_a1 are climate changing? |
This may not be an indication of climate changing. The test is for time step convergence, with a very small time step size (2 seconds) for an ne4pg2 grid. Is it possible that the value of |
The MVK test passed last night so it must be on the borderline. But TSC is still indicating a fail. |
TSC is consistently diffing from this PR. @wlin7 please make a bless request. |
In subroutine mam_soaexch_vbs_1subarea in components/eam/src/chemistry/modal_aero/modal_aero_amicphys.F90
The calculation of p0_soa_298 is not correct. Temperature of 298 K should be used instead of ambient temperature
This fix has very small impact on global mean climate.
Fixes #6474
[non-BFB] All tests with active E3SMv3 atm configurations that enable vbs soa are affected.
See e3sm_diags:
Default tag v3.0.0: https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.mwu/E3SMv3/20240520.v3.LR.F2010.chrysalis/e3sm_diags/atm_monthly_180x360_aave/model_vs_obs_0002-0011/viewer/
VBSfix:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.mwu/E3SMv3/20240520.v3.LR.F2010.VBSfix.chrysalis/e3sm_diags/atm_monthly_180x360_aave/model_vs_obs_0002-0011/viewer/
and IICE comparison:
https://portal.nersc.gov/project/m2136/bin/iice/iice.cgi?url1=https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.mwu/E3SMv3/20240520.v3.LR.F2010.chrysalis/e3sm_diags/atm_monthly_180x360_aave/model_vs_obs_0002-0011/viewer&label1=default%20v3&url2=https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.mwu/E3SMv3/20240520.v3.LR.F2010.VBSfix.chrysalis/e3sm_diags/atm_monthly_180x360_aave/model_vs_obs_0002-0011/viewer&label2=VBSfix&category=&plot=&diff=0&dconfig=vsObs&