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

Add CCPP host variable to track initialization of GFS_phys_time_vary, fix bug for MP Thompson init flag #902

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Dec 19, 2024

Description

This PR goes together with ufs-community/ccpp-physics#242 and is needed to support multiple instances of CCPP physics within one host model execution.

While adding the is_init flag for the GFS_phys_time_vary scheme, I noticed a bug for the corresponding flag for Thompson microphysics. Instead of initializing the GFS_control DDT member, the existing code initializes a local copy of the flag to false. This doesn't have any effect in the UFS, because any uninitialized logical flag is .false. by default.

Issue(s) addressed

This PR and associated PRs below form the last set of PRs to replace NCAR/ccpp-physics#1000, which was created to support the case of multiple CCPP physics instances in one model run.

Testing

Dependencies

Requirements before merging

  • All new code in this PR is tested by at least one unit test not applicable
  • All new code in this PR includes Doxygen documentation not applicable
  • All new code in this PR does not add new compilation warnings (check CI output)

…0,meta} and fix bug for Thompson MP init flag (used uninitialized, correct by coincidence)
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.

1 participant