Skip to content

CCPP updates in fv3atm/ccpp-physics: split physics in two groups, reset GFS_interstitial DDT in CCPP_driver.F90#936

Closed
climbfuji wants to merge 8 commits into
NOAA-EMC:developfrom
climbfuji:feature/split_sdf_physics_reset_ddts
Closed

CCPP updates in fv3atm/ccpp-physics: split physics in two groups, reset GFS_interstitial DDT in CCPP_driver.F90#936
climbfuji wants to merge 8 commits into
NOAA-EMC:developfrom
climbfuji:feature/split_sdf_physics_reset_ddts

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji commented Mar 14, 2025

Description

  1. Split the CCPP "physics" group in the suite definition files into two groups (process-split and time-split). This is in preparation for a more systematic, and in further down the road automatic, handling of updating the output state from the input state and the tendencies (with the next-generation code generator capgen.py).
  2. Reset the GFS_interstitial DDT in CCPP_driver.F90 instead of in the CCPP suites. This follows precedence of resetting the diagnostics (buckets) and removes the need to pass host-model DDTs into the physics (which breaks the paradigm of CCPP physics being host-model independent).

Issue(s) addressed

This PR is part of the larger project of transitioning to the next-generation code generator capgen.py.

Testing

See ufs-community/ufs-weather-model#2651

Dependencies

@climbfuji climbfuji self-assigned this Mar 14, 2025
@climbfuji climbfuji marked this pull request as ready for review March 14, 2025 21:07
@climbfuji climbfuji changed the title WIP: CCPP updates in fv3atm/ccpp-physics: split physics in two groups, reset GFS_interstitial DDT in CCPP_driver.F90 CCPP updates in fv3atm/ccpp-physics: split physics in two groups, reset GFS_interstitial DDT in CCPP_driver.F90 Mar 14, 2025
@jkbk2004
Copy link
Copy Markdown
Collaborator

@climbfuji Do you think it's ok to combine in #932 to this pr? At least, no baseline changes at the weather model level, I mean hera is down on maintenance today. So, we can take an advantage to schedule to let no baseline change PRs move on.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@climbfuji Do you think it's ok to combine in #932 to this pr? At least, no baseline changes at the weather model level, I mean hera is down on maintenance today. So, we can take an advantage to schedule to let no baseline change PRs move on.

Ok with me

@dustinswales
Copy link
Copy Markdown
Collaborator

@climbfuji Can you sync this branch and I will pull it in?

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@climbfuji Can you sync this branch and I will pull it in?

Why do I need to pull in updates that only forward the ccpp-physics submodule pointer? Your PR is changing that one, too.

@dustinswales
Copy link
Copy Markdown
Collaborator

@climbfuji Can you sync this branch and I will pull it in?

Why do I need to pull in updates that only forward the ccpp-physics submodule pointer? Your PR is changing that one, too.

There are other changes in fv3atm develop that you need to bring into this branch, climbfuji/fv3atm@feature/split_sdf_physics_reset_ddts...NOAA-EMC:fv3atm:develop

@dustinswales
Copy link
Copy Markdown
Collaborator

@climbfuji Nm. I pulled in your changes and resolved the conflicts.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@climbfuji Nm. I pulled in your changes and resolved the conflicts.

I saw you figured it out, thanks.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@jkbk2004 Please let me know when I can close this and associated PRs, since @dustinswales absorbed them in his PRs (thanks Dustin).

@jkbk2004
Copy link
Copy Markdown
Collaborator

jkbk2004 commented Apr 1, 2025

@jkbk2004 Please let me know when I can close this and associated PRs, since @dustinswales absorbed them in his PRs (thanks Dustin).

@climbfuji maybe around this afternoon. I will keep you posted when combined PRs get merged.

jkbk2004 pushed a commit that referenced this pull request Apr 2, 2025
…art Deux + CCPP updates in fv3atm/ccpp-physics: split physics in two groups, reset GFS_interstitial DDT in CCPP_driver.F90 #936 (#932)

* Move to referencing contiguous data in GFS external diagnostic type

* Updates to GFS_restart_type for contiguous arrays

* Split group physics into physics_process_split and physics_time_split in all suites, update driver/CCPP_driver.F90 accordingly

* Shorten physics_process_split as phys-ps, physics_time_split as phys-ts

* Remove GFS_suite_interstial_{phys,rad}_reset schemes from all suites

* Remove GFS_suite_interstitial_{phys,rad}_reset.* from ccpp/config/ccpp_prebuild_config.py

---------

Co-authored-by: Dom Heinzeller <dom.heinzeller@noaa.gov>
Co-authored-by: Grant Firl <grant.firl@noaa.gov>
@jkbk2004
Copy link
Copy Markdown
Collaborator

jkbk2004 commented Apr 2, 2025

merged with #932

@jkbk2004 jkbk2004 closed this Apr 2, 2025
@climbfuji climbfuji deleted the feature/split_sdf_physics_reset_ddts branch April 10, 2025 17:32
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.

6 participants