Skip to content

Minor bug fixes to unified_ugwp.F90 and drag_suite.F90#532

Merged
climbfuji merged 3 commits into
NCAR:masterfrom
mdtoy:unified_ugwp_bugfix
Dec 18, 2020
Merged

Minor bug fixes to unified_ugwp.F90 and drag_suite.F90#532
climbfuji merged 3 commits into
NCAR:masterfrom
mdtoy:unified_ugwp_bugfix

Conversation

@mdtoy
Copy link
Copy Markdown

@mdtoy mdtoy commented Dec 15, 2020

Fixed two bugs:

  1. unified_ugwp.F90 -- the variables oa4ss and ol4ss are now correctly declared with dimensions (im,4). Since these variables were just "passing through" unified_ugwp.F90 to get to the drag_suite_run subroutine, this bug had not effected the actual run-time results. The results before and after the bug fix are bit-to-bit identical.

  2. drag_suite.F90 -- removed division by the dimensionless Exner function, which was appropriate for the WRF model theta-tendency, but not for the FV3GFS model TEMPERATURE tendency.

Fixes #533 (add one-liner regarding licenses in specific files overriding the overall Apache license).

Associated PRs:

#532
NOAA-EMC/ufsatm#216

These PRs will be tested together with ufs-community/ufs-weather-model#319, for regression testing information see there.

@mdtoy
Copy link
Copy Markdown
Author

mdtoy commented Dec 15, 2020

I forgot to mention: Thanks to Valery Yudin for finding these two bugs.

Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

Approved. Will merge once the regression testing is completed.

@climbfuji climbfuji merged commit 8785df5 into NCAR:master Dec 18, 2020
HelinWei-NOAA pushed a commit to HelinWei-NOAA/ccpp-physics that referenced this pull request Feb 26, 2023
* Changes to ccpp to support 32-bit physics in NRL Neptune model
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.

Add GFDL MP license back into code

3 participants