NCAR / ccpp-framework

Common Community Physics Package (CCPP)
http://www.dtcenter.org/community-code/common-community-physics-package-ccpp/
Other
26 stars 62 forks source link

Cleanup, adding unit tests for `ccpp_track_variables.py`, activate "chunked data" CI test, add missing MPI target in src/CMakeLists.txt #555

Closed mkavulich closed 2 months ago

mkavulich commented 3 months ago

This PR makes several related changes:

User interface changes?: No

Fixes: #511

Testing: test removed: None unit tests: Adds test_track_variables.py to CI. Also, activates system tests: I am not sure what this means 🤷 manual testing: Ran new tests manually with pytest

mkavulich commented 2 months ago

@climbfuji @gold2718 I agree we should have some docstrings here before merge, I'll work on that today.

mkavulich commented 2 months ago

@climbfuji @gold2718 I have added the requested docstrings, as well as updating the existing file-level docstring and adding a call to sys.exit() for the case where the test is not run with pytest. Let me know if you'd like any further changes/updates.

mkavulich commented 2 months ago

@climbfuji @mwaxmonsky Thanks for the reviews, I have adopted your suggested changes.

grantfirl commented 2 months ago

@mkavulich Can you pull #556 into this so that I can add the latest hash of this branch to https://github.com/NOAA-EMC/fv3atm/pull/816.

mkavulich commented 2 months ago

@grantfirl Done