Skip to content
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

Merged
merged 29 commits into from
Nov 28, 2023
Merged

Conversation

halungge
Copy link
Contributor

@halungge halungge commented Nov 15, 2023

divdamp_fac_o2 changes externally SolveNonHydro. (In ICON: see mo_nh_stepping.f90 SUBROUTINE update_spinup_damping. )

  • (fix) remove divdamp_fac_o2 from NhConstants class and pass it as parameter to SolveNonHydro.run_corrector_step
  • (fix) mean_cell_area added to CellParams and removed the calculation from SolveNonHydro.

Cleanups:

  • Cleanup test_solve_nonhydro.py: remove random numbers that were passed instead of the proper vct_a
  • calculation of the Smagorinsky factors is extracted to common and used in diffusion and dycore from there.
  • removed some unsed function in dycore/state_utils/utils.py

@halungge halungge marked this pull request as ready for review November 15, 2023 09:14
@halungge
Copy link
Contributor Author

cscs-ci run

1 similar comment
@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack

@abishekg7
Copy link
Contributor

launch jenkins spack

Copy link
Contributor

@abishekg7 abishekg7 left a 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

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack

Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • cscs-ci run
  • launch jenkins spack

Optional Tests

In case your change might affect downstream icon-exclaim, please consider running

  • launch jenkins icon

For more detailed information please look at CI in the EXCLAIM universe.

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack

@halungge halungge merged commit b1bfb8a into main Nov 28, 2023
4 of 5 checks passed
@halungge halungge deleted the fix_solve_nonhydro_divdamp_fac_o2 branch January 10, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants