Skip to content

Bugfix for extra top layer GFS_rrtmg_pre setup#635

Merged
climbfuji merged 2 commits into
NCAR:masterfrom
matusmartini:ltp-bugfix
Apr 28, 2021
Merged

Bugfix for extra top layer GFS_rrtmg_pre setup#635
climbfuji merged 2 commits into
NCAR:masterfrom
matusmartini:ltp-bugfix

Conversation

@matusmartini
Copy link
Copy Markdown
Contributor

This pull request resolves #632

Includes fixes of array-out-of-bounds errors when extra top layer is used for pressure, temperature, and specific humidity for Thompson MP. Instead of prsl, tgrs, and qgrs extended arrays plyr, tlyr, and qlyr respectively are used which are defined in the extra top radiation layer.

Includes comment correction for pressure units for plyr, and removes white space.

matusmartini and others added 2 commits April 19, 2021 12:31
pulling latest master into local ltp-bugfix
…ure, temperature, and specific humidity for Thompson MP. Use extended arrays plyr, tlyr, and qlyr respectively.
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.

This looks good to me, thanks very much for submitting this bugfix. I will look for a spot in the commit queue for your changes.

climbfuji added a commit that referenced this pull request Apr 28, 2021
Collect PRs #613, #628, #634, #635 / update long names and vertical dimension for atmosphere_heat_diffusivity and atmosphere_momentum_diffusivity
@climbfuji climbfuji merged commit f29be0c into NCAR:master Apr 28, 2021
JohanaRomeroAlvarez pushed a commit to JohanaRomeroAlvarez/ccpp-physics that referenced this pull request Sep 8, 2025
* MYNN update

* "merge RRFS-SD from the GSL repo to the Community repo"

* "include MYNN-EDMF updates from PR #630"

Co-authored-by: joeolson42 <Joseph.B.Olson@noaa.gov>
Co-authored-by: Haiqin.Li <Haiqin.Li@noaa.gov>
@matusmartini matusmartini deleted the ltp-bugfix branch February 28, 2026 23:45
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.

Bug in GFS_rrtmg_pre when extra top layer is used

2 participants