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

add_spp for RRTMG #5

Merged
merged 1 commit into from
Aug 17, 2021
Merged

add_spp for RRTMG #5

merged 1 commit into from
Aug 17, 2021

Conversation

bluefinweiwei
Copy link

@llpcarson @JeffBeck-NOAA

Added spp to RRTMG radiation scheme in CCPP. Compiled successfully and currently being tested using UFS SRW.

Issue needs a special review: As in WRF, we are subtracting the variable pattern_spp with a dimension of (im, levs) to effective radii of cloud/ice/snow variables with a dimension of (im, lm). As you know, in CCPP, “levs” is “vertical_dimension" and “lm” is “number_of_vertical_layers_for_radiation_calculation”, so we end it up with incompatible dimensions to do arithmetic operation… The code is updated by assuming the overlapping layers between lm and levs are the same and putting a IF statement to separate (lm < levs) or (lm >=levs) scenarios. If (lm >=levs), for layers above "levs", the perturbation patterns are all treated as equal to pattern_spp (i, levs).

modified: physics/GFS_rrtmg_pre.F90
modified: physics/GFS_rrtmg_pre.meta

Copy link

@JeffBeck-NOAA JeffBeck-NOAA left a comment

Choose a reason for hiding this comment

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

@bluefinweiwei, it looks like two swap files were included in this PR by accident. Can you push a commit to remove them? Thanks!

@bluefinweiwei
Copy link
Author

@JeffBeck-NOAA The two .swp removed - always hard to notice these hidden files. Thanks for catching them!

Copy link
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.

Thanks for the PR, please change as suggested if agreeable. We'll need fv3atm and ufs-weather-model PRs for this change, but I can take care of that part.

@bluefinweiwei bluefinweiwei force-pushed the add_spp branch 2 times, most recently from 83387a9 to 432a77d Compare August 12, 2021 22:34
	modified:   mp_thompson.F90
@llpcarson llpcarson merged commit 98edc24 into llpcarson:add_spp Aug 17, 2021
llpcarson pushed a commit that referenced this pull request Sep 7, 2021
llpcarson pushed a commit that referenced this pull request Sep 7, 2021
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.

4 participants