-
Notifications
You must be signed in to change notification settings - Fork 20
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
dimension rescaling fixes and CFC cleanup #195
dimension rescaling fixes and CFC cleanup #195
Conversation
correct scale argument in get_param and chksum calls add dimension scaling terms to some expressions add some chksum calls
remove unused and unneeded local variables correct unit-related comments rework CFC_cap_fluxes to better align with Orr et al., GMD, 2017
Thanks, @klindsay28. Just highlighting that, with the changes proposed in this PR, the workhorse CESM/MOM6 passes the unit scaling tests. We should discuss with @alperaltuntas how to incorporate these tests into one of the CESM Test suites. |
@gustavo-marques , when I set |
@alperaltuntas , we indeed were not passing dimension rescaling tests prior to this PR. The first commit of the PR gets the tests passing for non-CFC runs. I verified this with each The other commits get the test to pass with the CFC tracers turned on, though you do need to set This testing was primarily with a GMOM experiment with the NUOPC driver. I also did non-CFC testing with MCT (CFC_cap is not implemented for MCT). |
Thanks @klindsay28 for the explanation! I just confirmed that the PR fixes the scaling of my test case as well. I'll look into adding dimensional scaling tests to our aux_mom test suite. Not sure if there is a suitable test type tough. Seems like |
I'm definitely in favor of testing this in aux_mom. A test that might serve as a useful example is CTSM's ciso test. It confirms that turning on carbon isotopes doesn't change answers. I think it would be helpful if we could compare multiple runs to a base, preferably in a single batch submission. I wonder how hard it would be to generalize CIME's |
Thanks @klindsay28 . Sounds like the CTSM's ciso example is a great place to start. I'll investigate. |
correct scale argument in get_param and chksum calls
add dimension scaling terms to some expressions
add some chksum calls