-
Notifications
You must be signed in to change notification settings - Fork 0
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 solve nonhydro divdamp fac o2 #313
Conversation
move divdamp_fac_o2 to corrector
This reverts commit c152b29.
cscs-ci run |
1 similar comment
cscs-ci run |
launch jenkins spack |
cscs-ci run |
cscs-ci run |
launch jenkins spack |
model/atmosphere/dycore/tests/dycore_tests/test_solve_nonhydro.py
Outdated
Show resolved
Hide resolved
launch jenkins spack |
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.
Looks good! It's possible that some assertions fail with dallclose, but we may just need to adjust tolerances
cscs-ci run |
launch jenkins spack |
Mandatory Tests Please make sure you run these tests via comment before you merge!
Optional Tests In case your change might affect downstream icon-exclaim, please consider running
For more detailed information please look at CI in the EXCLAIM universe. |
cscs-ci run |
launch jenkins spack |
(Fix) - pass `divdamp_fac_o2` as argument to `SolveNonHydro.predictor_step` as it changes dynamically in the timeloop - use `mean_cell_area` from `CellParams` - cleanup tests.
divdamp_fac_o2
changes externallySolveNonHydro
. (In ICON: seemo_nh_stepping.f90
SUBROUTINE update_spinup_damping
. )divdamp_fac_o2
fromNhConstants
class and pass it as parameter toSolveNonHydro.run_corrector_step
mean_cell_area
added toCellParams
and removed the calculation fromSolveNonHydro
.Cleanups:
test_solve_nonhydro.py
: remove random numbers that were passed instead of the propervct_a
common
and used indiffusion
anddycore
from there.dycore/state_utils/utils.py