-
Notifications
You must be signed in to change notification settings - Fork 153
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
Feature/hafs ccpp #390
Feature/hafs ccpp #390
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noted two aspects that we would usually ask you to change. However, given that @grantfirl and his colleagues are working on a unification of moninedmf_hafs
and moninedmf
, I assume they will cover those aspects and I think it is not necessary for you to make those changes. I will try to pull your PR into dtc/develop instead of master to expedite merging it.
! | ||
use machine , only : kind_phys | ||
use funcphys , only : fpvs | ||
use physcons, grav => con_g, rd => con_rd, cp => con_cp & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These constants should be passed in via the argument list.
!> \ingroup PBL | ||
!! \brief Routine to solve the tridiagonal system to calculate temperature and moisture at \f$ t + \Delta t \f$; part of two-part process to calculate time tendencies due to vertical diffusion. | ||
!! | ||
!! Origin of subroutine unknown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tridiagonal matrix calculation functions could be merged into tridi.f.
Hi Dom, Thanks for the comments and suggestions for moving forward. Looking forward to @grantfirl and Biswas's help to come up an unified moninedmf version. Bin |
@BinLiu-NOAA @climbfuji Both of the concerns raised by Dom are addressed in PR #395 which should be regarded as a followup to this PR. Feel free to look at the code changes there if you want. I'd like to go ahead and approve this PR to give credit to @BinLiu-NOAA and colleagues for doing this work and to have the HAFS-specific version in the repository if needed later. In addition, having this version in the repo can serve as a basis for regressiont testing PR #395 to make sure the combined version behaves identically to the HAFS-specific version with the hurr_pbl flag turned on and alpha set appropriately, and the GFS version when hurr_pbl is false. I'd like for PR #395 to supercede this one once that testing is satisfactory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR was pulled into #394 and merged into NCAR's dtc/develop branch. Therefore, this PR will be closed.
Connect HAFS version of GFS EDMF PBL scheme with CCPP (from @Qingfu-Liu, Bin, Chunxi, and Weiguo).
Files added/modified:
physics/moninedmf_hafs.f
physics/moninedmf_hafs.meta
Notes: