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

Fix bug in setting gases above model top for RRTMGP #3059

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

brhillman
Copy link
Contributor

@brhillman brhillman commented Jul 11, 2019

Fix bug in setting the gases above model top. An extra level is added above the model top in the radiation code to handle heating between the top of the model and the top of the atmosphere. The code in question here was supposed to copy the gases from the top-most model level into the extra level above the model top, but instead we accidentally copied the second model level.

[non-BFB] only for the RRTMGP tests.

Fix bug in setting the gases above model top. We inteded to copy the
top-most model level into the extra level above the model top, but
instead we accidentally copied the *second* model level.
@brhillman brhillman added Atmosphere non-BFB PR makes roundoff changes to answers. labels Jul 11, 2019
@brhillman brhillman requested a review from singhbalwinder July 11, 2019 20:27
@brhillman
Copy link
Contributor Author

Differences in solar and longwave heating from a 1-month simulation with ne4, with and without the fix (zonal mean profiles):
qrs_fix_gas
qrl_fix_gas

@wlin7
Copy link
Contributor

wlin7 commented Aug 8, 2019

The change looks good. @singhbalwinder , can you take a quick look and approve if you see no problem? Thanks.

Copy link
Contributor

@singhbalwinder singhbalwinder left a comment

Choose a reason for hiding this comment

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

Looks great!

wlin7 added a commit that referenced this pull request Aug 14, 2019
Fix bug in setting gases above model top for RRTMGP

Fix bug in setting the gases above model top. An extra level is added above the model top in the radiation code to handle heating between the top of the model and the top of the atmosphere. The code in question here was supposed to copy the gases from the top-most model level into the extra level above the model top, but instead we accidentally copied the second model level.

[non-BFB] only for the RRTMGP tests.
@wlin7
Copy link
Contributor

wlin7 commented Aug 14, 2019

Merged to next.

@wlin7 wlin7 merged commit 0d13270 into master Aug 15, 2019
wlin7 added a commit that referenced this pull request Aug 15, 2019
Fix bug in setting gases above model top for RRTMGP

Fix bug in setting the gases above model top. An extra level is added
above the model top in the radiation code to handle heating between the
top of the model and the top of the atmosphere. The code in question here
was supposed to copy the gases from the top-most model level into the extra
level above the model top, but instead we accidentally copied the second model level.

[non-BFB] only for the RRTMGP tests.
@wlin7
Copy link
Contributor

wlin7 commented Aug 15, 2019

Merged to master. Request to bless RRTMGP test for sandiatoss3.

@brhillman brhillman deleted the brhillman/atm/fix-rrtmgp-top-level-gas branch September 25, 2020 18:30
jgfouca pushed a commit that referenced this pull request Nov 7, 2024
…r_layout_w_horiz_remap

Fixes a bug when copying grid data for a geo data of scalar type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Atmosphere non-BFB PR makes roundoff changes to answers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants