Skip to content

UFS/dev PR#299#1220

Merged
grantfirl merged 122 commits into
NCAR:mainfrom
grantfirl:ufs-dev-PR299
Jun 8, 2026
Merged

UFS/dev PR#299#1220
grantfirl merged 122 commits into
NCAR:mainfrom
grantfirl:ufs-dev-PR299

Conversation

@grantfirl

Copy link
Copy Markdown
Collaborator

Description of Changes:

This PR brings over the tendency cleanup changes from ufs-community#299. Please see that PR for details.

Tests Conducted:

UFS RTs - see ufs-community/ufs-weather-model#2810

The results change, but they were within "the noise" as evidenced by plots presented in ufs-community#299

Dependencies:

None

Documentation:

None added.

Issue (optional):

None

grantfirl and others added 30 commits December 12, 2024 12:07
…emove *_of_new_state (default name refers to 'current' value)
…medmfvdifq return new tendencies and new tendency application block in GFS_PBL_generic_post
- Added tendency variables (`ten_t`, `ten_u`, `ten_v`) for temperature and wind tendencies in SAMF deep and shallow convection schemes.
- Updated relevant `.meta` files to reflect changes in variable intent (`inout` -> `in` where appropriate) and added tendencies.
- Modified Interstitials (`GFS_DCNV_generic_post`, `GFS_DCNV_generic_pre`, `GFS_SCNV_generic_post`, `GFS_SCNV_generic_pre`) to directly use tendencies instead of saved state variables.
- Removed redundant saved variables (`save_u`, `save_v`, `save_t`).
- Added `delt` to post interstitials.
…endency paradigm; cleanup saving of states no longer needed
@climbfuji

Copy link
Copy Markdown
Collaborator

Because of the size of this PR, I'd like to test the changes in NEPTUNE before I approve, if possible.

@grantfirl

Copy link
Copy Markdown
Collaborator Author

Because of the size of this PR, I'd like to test the changes in NEPTUNE before I approve, if possible.

Of course. I was expecting that.

Comment thread physics/Radiation/radiation_clouds.f Outdated

@hertneky hertneky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Phew, big PR. Looks good. One file had extra white space added that I left a comment on.

I also technically successfully tested this PR on ursa with SCM RTs when I tested my PR367, since it includes this PR.

@climbfuji climbfuji left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Alternatively, declare A, B, and C as scalars. I don't see why they need to be arrays.

Comment thread physics/GWD/rayleigh_damp.f Outdated
Comment thread physics/GWD/rayleigh_damp.f Outdated
Comment thread physics/GWD/rayleigh_damp.f Outdated
@climbfuji

Copy link
Copy Markdown
Collaborator

Alternatively, declare A, B, and C as scalars. I don't see why they need to be arrays.

Well, they need to be arrays because they are arguments for the scheme. My proposed fix is therefore correct.

@climbfuji

Copy link
Copy Markdown
Collaborator

@grantfirl grantfirl#8 fixes the rayleigh_damp bug.

@grantfirl grantfirl merged commit 01edf9f into NCAR:main Jun 8, 2026
3 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.

9 participants