Skip to content

Supplementary physics updates for RRFS code freeze#161

Merged
grantfirl merged 3 commits into
ufs-community:ufs/devfrom
haiqinli:ufs/dev-smoke-dust
Jan 26, 2024
Merged

Supplementary physics updates for RRFS code freeze#161
grantfirl merged 3 commits into
ufs-community:ufs/devfrom
haiqinli:ufs/dev-smoke-dust

Conversation

@haiqinli
Copy link
Copy Markdown
Collaborator

This is a supplementary physics updates (MYNN, GF, RUC_LSM, smoke and dust) PR for RRFS code freeze.

Comment thread physics/smoke_dust/dep_dry_mod_emerson.F90 Outdated
Comment thread physics/smoke_dust/module_add_emiss_burn.F90 Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/rrfs_smoke_wrapper.meta Outdated
Comment thread physics/smoke_dust/module_add_emiss_burn.F90
@jkbk2004
Copy link
Copy Markdown

@grantfirl @Qingfu-Liu Since this pr is priority, can we ask to review for the update? @haiqinli Once the remarks and updates are approved, it might be helpful to mark out resolved.

Comment thread physics/smoke_dust/module_add_emiss_burn.F90 Outdated
@grantfirl
Copy link
Copy Markdown
Collaborator

@grantfirl @Qingfu-Liu Since this pr is priority, can we ask to review for the update? @haiqinli Once the remarks and updates are approved, it might be helpful to mark out resolved.

@jkbk2004 I re-reviewed. @haiqinli Please see the comment about your new coef_con above and the units for the last 2 variables that you added. Once those are fixed, I'll approve.

@jkbk2004
Copy link
Copy Markdown

@grantfirl @Qingfu-Liu Since this pr is priority, can we ask to review for the update? @haiqinli Once the remarks and updates are approved, it might be helpful to mark out resolved.

@jkbk2004 I re-reviewed. @haiqinli Please see the comment about your new coef_con above and the units for the last 2 variables that you added. Once those are fixed, I'll approve.

@haiqinli Is it possible to make a quick follow-up? If possible, we like to proceed to commit the pr today or tomorrow.

@haiqinli
Copy link
Copy Markdown
Collaborator Author

@jkbk2004 I am working on it, and will update soon. Thanks.

Copy link
Copy Markdown
Collaborator

@grantfirl grantfirl left a comment

Choose a reason for hiding this comment

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

Thanks @haiqinli and other authors!

@grantfirl
Copy link
Copy Markdown
Collaborator

@jkbk2004 This PR is reviewed and approved, so ready for testing as soon as all branches are updated.

Copy link
Copy Markdown
Collaborator

@dustinswales dustinswales left a comment

Choose a reason for hiding this comment

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

Looks fine to me. Just a few requested changes wrt precision.

!Add condition for falling/settling into low-RH layers, so at least
!some cloud fraction is applied for all qc, qs, and qi.
rh_hack= rh(k)
wt2 = min(max( zagl - pblh2, 0.0 )/300., 1.0)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please change to min(max( zagl - pblh2, 0._kind_phys )/300., 1._kind_phys)

!cld_factor = 1.0 + fac_damp*MAX(0.0, ( RH(k) - 0.75 ) / 0.26 )**1.9 !HRRRv4
!cld_factor = 1.0 + fac_damp*min((max(0.0, ( RH(k) - 0.92 )) / 0.25 )**2, 0.3)
cld_factor = 1.0 + fac_damp*min((max(0.0, ( RH(k) - 0.92 )) / 0.145)**2, 0.35)
cld_factor = 1.0 + fac_damp*min((max(0.0, ( RH(k) - 0.92 )) / 0.145)**2, 0.37)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Replace w/ fac_damp*min((max(0._kind_phys, ( RH(k) - 0.92 )) / 0.145)**2, 0.37_kind_phys)

INTEGER :: nv, i, j, k, kp1, kp2
INTEGER :: icall=0
INTEGER, DIMENSION(ims:ime, jms:jme), INTENT (OUT) :: k_min, k_max ! Min and max ver. levels for BB injection spread
REAL, DIMENSION(ims:ime, jms:jme), INTENT (OUT) :: uspdavg2, hpbl_thetav2 ! SRB
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This should be REAL(kind_phys)

@grantfirl
Copy link
Copy Markdown
Collaborator

Looks fine to me. Just a few requested changes wrt precision.

@dustinswales These changes might need to wait until the next round of changes. I think that this has already been combined with #94 and they're doing final RTs.

@dustinswales
Copy link
Copy Markdown
Collaborator

Looks fine to me. Just a few requested changes wrt precision.

@dustinswales These changes might need to wait until the next round of changes. I think that this has already been combined with #94 and they're doing final RTs.

@grantfirl Snap, I'm too late!
These changes are minor and not urgent, so nbd.

@jkbk2004
Copy link
Copy Markdown

Looks fine to me. Just a few requested changes wrt precision.

@dustinswales These changes might need to wait until the next round of changes. I think that this has already been combined with #94 and they're doing final RTs.

@grantfirl Snap, I'm too late! These changes are minor and not urgent, so nbd.

We will file a git issue to bring it with next PR.

@grantfirl grantfirl merged commit 042d156 into ufs-community:ufs/dev Jan 26, 2024
JohanaRomeroAlvarez pushed a commit to JohanaRomeroAlvarez/ccpp-physics that referenced this pull request Sep 8, 2025
* add gflux

* add runoff and drain to land coupling

* add exchange coefficents

* add zvfun to land coupling

* minor fix in GFS type definitions

* update sfc_land

* remove Sa_ua and Sa_va from couling fields

* fix prefix of snow area fraction standard name

* rename exchange fields to follow inst convention

* "Supplementary physics updates for RRFS code freeze"

* update ccpp/physics by merging ufs-community#161

---------

Co-authored-by: Ufuk Turuncoglu <ufuk.turuncoglu@noaa.gov>
Co-authored-by: Haiqin.Li <Haiqin.Li@noaa.gov>
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.

5 participants