Skip to content

Update of subgrid-scale cloud physics for MYNN/GF#2

Closed
climbfuji wants to merge 11 commits into
NOAA-GSL:gsd/developfrom
climbfuji:haiqinli_20191212_update_from_gsd_develop
Closed

Update of subgrid-scale cloud physics for MYNN/GF#2
climbfuji wants to merge 11 commits into
NOAA-GSL:gsd/developfrom
climbfuji:haiqinli_20191212_update_from_gsd_develop

Conversation

@climbfuji
Copy link
Copy Markdown

@climbfuji climbfuji commented Dec 12, 2019

This PR updates the subgrid-scale cloud calculation for MYNN/GF and renames the modules from mynnrad_{pre,post} to sgscloud_rad{pre,post} for future use by other physics schemes than MYNN. The PR also adds a new variable required for GSDCHEM coupling, qci_conv to the subgrid-scale cloud calculation and the Grell-Freitas deep convection scheme.

Associated PRs:
#2
NOAA-GSL/fv3atm#3
NOAA-GSL/ufs-weather-model#2

For regression testing, see NOAA-GSL/fv3atm#3.

@climbfuji
Copy link
Copy Markdown
Author

@haiqinli I created a placeholder for the proposed changes (your original PR climbfuji#2 update to the head of gsd/develop and pointing to gsd/develop's new home on the NOAA-GSD GitHub page). This PR must be accompanied by changes in fv3atm (at least the suite definition files and the CCPP prebuild config because of the change of the scheme names from MYNNrad_pre to SGSCloud_RadPre, same for post). Does this PR exist somewhere?

@haiqinli
Copy link
Copy Markdown
Collaborator

@climbfuji I just modified the SDF and prebuild config in my local copy, and have not created this PR. Do you want me to create a PR for this?

@climbfuji
Copy link
Copy Markdown
Author

@climbfuji I just modified the SDF and prebuild config in my local copy, and have not created this PR. Do you want me to create a PR for this?

In this case it is ok if you give me access to the files you have changed, and I will create the FV3 PR. Thanks!

@haiqinli
Copy link
Copy Markdown
Collaborator

@climbfuji I will send you the path of these files on Hera when Hera is back. Thanks.

@haiqinli
Copy link
Copy Markdown
Collaborator

@climbfuji The CCPP prebuild config file is /scratch2/BMC/gsd-fv3-dev/Haiqin.Li/gsd-ccpp_heraT/sorc/fv3gfs_ccpp.fd/ccpp/config/ccpp_prebuild_config.py. The SDFs are at /scratch2/BMC/gsd-fv3-dev/Haiqin.Li/gsd-ccpp_heraT/sorc/fv3gfs_ccpp.fd/ccpp/suites. Thanks a lot.

@climbfuji
Copy link
Copy Markdown
Author

@climbfuji The CCPP prebuild config file is /scratch2/BMC/gsd-fv3-dev/Haiqin.Li/gsd-ccpp_heraT/sorc/fv3gfs_ccpp.fd/ccpp/config/ccpp_prebuild_config.py. The SDFs are at /scratch2/BMC/gsd-fv3-dev/Haiqin.Li/gsd-ccpp_heraT/sorc/fv3gfs_ccpp.fd/ccpp/suites. Thanks a lot.

Thanks. Can you please let me know which of the suite definition files you changed? All of them are different from what it is gsd/develop today, because your code base is far behind. Thanks!

@haiqinli
Copy link
Copy Markdown
Collaborator

@climbfuji The followings SDFs are changed. Thanks.
suite_FV3_GFS_v15_gf_mynn.xml: sgscloud_radpre
suite_FV3_GFS_v15_mynn.xml: sgscloud_radpre
suite_FV3_GFS_v15_thompson_mynn.xml: sgscloud_radpre
suite_FV3_GSD_noah.xml: sgscloud_radpre
suite_FV3_GSD_v0_nothmp.xml: sgscloud_radpre
suite_FV3_GSD_v0_satadj.xml: sgscloud_radpre
suite_FV3_GSD_v0.xml: sgscloud_radpre

@climbfuji
Copy link
Copy Markdown
Author

@climbfuji The followings SDFs are changed. Thanks.
suite_FV3_GFS_v15_gf_mynn.xml: sgscloud_radpre
suite_FV3_GFS_v15_mynn.xml: sgscloud_radpre
suite_FV3_GFS_v15_thompson_mynn.xml: sgscloud_radpre
suite_FV3_GSD_noah.xml: sgscloud_radpre
suite_FV3_GSD_v0_nothmp.xml: sgscloud_radpre
suite_FV3_GSD_v0_satadj.xml: sgscloud_radpre
suite_FV3_GSD_v0.xml: sgscloud_radpre

Some of these don't exist in the current gsd/develop code. I updated the following SDFs:

suite_FV3_GFS_v15_mynn.xml
suite_FV3_GFS_v15_thompson_mynn.xml
suite_FV3_GSD_noah.xml
suite_FV3_GSD_v0.xml
suite_FV3_GSD_SAR.xml
suite_FV3_GSD_v0_drag_suite.xml

Basically, I replaced mynn_rad{pre,post} with sgscloud_rad{pre,post} in all SDFs.

@haiqinli
Copy link
Copy Markdown
Collaborator

@climbfuji Great! Thanks.

@climbfuji
Copy link
Copy Markdown
Author

@haiqinli I seem to be missing some changes in your fv3atm repository. ccpp_prebuild.py fails with the error message

ERROR: Variable convective_cloud_condesate_after_rainout requested by MODULE_sgscloud_radpre SCHEME_sgscloud_radpre SUBROUTINE_sgscloud_radpre_run & MODULE_cu_gf_driver SCHEME_cu_gf_driver SUBROUTINE_cu_gf_driver_run not provided by the model

Can you please provide the missing updates to GFS_typedefs.* (and others if you have - I don't think so)? Thanks.

@haiqinli
Copy link
Copy Markdown
Collaborator

@climbfuji I am sorry that I forgot to commit this change. Yes, only the update of qci_conv. It is in /scratch2/BMC/gsd-fv3-dev/Haiqin.Li/gsd-ccpp_heraT/sorc/fv3gfs_ccpp.fd/FV3/gfsphysics/GFS_layer/GFS_typedefs.F90 (meta).

@climbfuji
Copy link
Copy Markdown
Author

Thanks. I will make slight changes (only allocate the array when GF deep convection is used and modify the variable declaration in sgscloud_radpre accordingly.

@climbfuji climbfuji changed the title Haiqinli 20191212 update from gsd develop PLACEHOLDER Update of subgrid-scale cloud physics for MYNN/GF Dec 13, 2019
…an optional argument for progcld5, because it may not be allocated
@DomHeinzeller
Copy link
Copy Markdown

@haiqinli @joeolson42 @tanyasmirnova please review this PR and post your comment here (I cannot add you as official reviewers). Thanks.

Copy link
Copy Markdown
Collaborator

@haiqinli haiqinli left a comment

Choose a reason for hiding this comment

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

It looks good to me. Thanks.

@climbfuji climbfuji force-pushed the haiqinli_20191212_update_from_gsd_develop branch from d1349cd to 7289051 Compare December 19, 2019 03:59
@climbfuji
Copy link
Copy Markdown
Author

At last! Regression testing on hera/intel using rt_ccpp_gsd.conf after all changes succeeded (first create, then verify): all tests pass, including the warmstart test.

rt_ccpp_gsd_create.log
rt_ccpp_gsd_verify.log

@climbfuji
Copy link
Copy Markdown
Author

@tanyasmirnova @haiqinli @joeolson42 can you please confirm and approve that this version is good to merge? Thank you!

@DomHeinzeller DomHeinzeller removed do not merge Something is wrong, do not merge work in progress Still being worked on labels Dec 20, 2019
@DomHeinzeller DomHeinzeller added the do not merge Something is wrong, do not merge label Dec 20, 2019
@DomHeinzeller
Copy link
Copy Markdown

Superseded by #12

DomHeinzeller pushed a commit that referenced this pull request Apr 29, 2020
DomHeinzeller pushed a commit that referenced this pull request May 20, 2020
CHSP latlon post: add missing code updates to CCPP
DomHeinzeller pushed a commit that referenced this pull request Jun 19, 2020
DomHeinzeller pushed a commit that referenced this pull request Sep 3, 2020
Increase length of message and update declaration in qcmxmn to avoid writing out of bounds
DomHeinzeller pushed a commit that referenced this pull request Apr 1, 2021
update from NCAR's master
DomHeinzeller pushed a commit that referenced this pull request May 21, 2021
…s_20200619

Update support/HAFS from NCAR dtc/hwrf-physics 2020/06/19
DomHeinzeller pushed a commit that referenced this pull request May 21, 2021
CCPPv5.0.0 scientific doc sync
christinaholtNOAA pushed a commit that referenced this pull request May 25, 2021
merge NCAR/ccpp-physics/master
DomHeinzeller pushed a commit that referenced this pull request Aug 24, 2021
…Aerosols_dom_20210823_2

Hannah gf radiation update revert aerosols dom 20210823 part 2
DomHeinzeller pushed a commit that referenced this pull request Aug 26, 2021
…210729

Update "constant" branch with latest changes in authoritative repositories
DomHeinzeller pushed a commit that referenced this pull request Dec 15, 2021
…te_from_main_20211122

New Thompson cloud fraction update from main 2021/11/22
SamuelTrahanNOAA pushed a commit that referenced this pull request Mar 8, 2022
SamuelTrahanNOAA pushed a commit that referenced this pull request Mar 8, 2022
edit module_mp_thompson.F90 to remove optional keyword for rand_pert …
mdtoyNOAA pushed a commit to mdtoyNOAA/ccpp-physics that referenced this pull request Mar 11, 2022
@climbfuji climbfuji deleted the haiqinli_20191212_update_from_gsd_develop branch June 27, 2022 03:16
christinaholtNOAA pushed a commit that referenced this pull request Mar 2, 2023
Coupling Merra2 aerosol climatology and GOCART forecasted aerosol with Thompson microphysics
zhanglikate referenced this pull request in zhanglikate/ccpp-physics Mar 1, 2024
move setting of flag from run to init phase
mdtoyNOAA pushed a commit to mdtoyNOAA/ccpp-physics that referenced this pull request Aug 27, 2025
mdtoyNOAA pushed a commit to mdtoyNOAA/ccpp-physics that referenced this pull request Aug 27, 2025
…w_fix

Fix to canopy arrays definitions: add intent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Something is wrong, do not merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants