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

#4 - subroutines coupler_full_chksum and coupler_stocks #114

Merged
merged 98 commits into from
May 31, 2024

Conversation

mlee03
Copy link
Contributor

@mlee03 mlee03 commented May 16, 2024

In this PR,

The back-to-back calls to atmos_ice_land_chksum and ocean_chksum are combined and replaced with a new subroutine called coupler_atmos_ice_land_ocean_chksum. This conservative PR did not attempt to incorporate subroutines coupler_chksum to coupler_atmos_ice_land_ocean_chksum. Doing so would have led to CHECKSUM-related changes in stdout.

In addition, the subroutines coupler_flux_init_finish_stocks and coupler_flux_check_stocks have been created and are used to replace stock-related sections of coupler_main. In coupler_flux_init_finish_stocks, either flux_init_stocks or the final _flux_check_stocks will be called depending on the values init_stocks and finish_stocks optional arguments.

AM4, AM5, SPEAR, OM4_extra, and OMIP4_CORE2 regression tests pass. The CHECKSUMS in stdout were not checked for ensemble regression tests.

@mlee03 mlee03 marked this pull request as ready for review May 22, 2024 13:07
@mlee03 mlee03 requested a review from uramirez8707 May 23, 2024 12:17
logical, optional, intent(in) :: init_stocks, finish_stocks !< control flags to either call flux_init_stocks or
!! the final flux_check_stocks

logical :: init, finish
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add documentation for these variables

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rem1776 rem1776 merged commit 80def09 into NOAA-GFDL:main May 31, 2024
2 checks passed
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