Skip to content

Commit

Permalink
Merge pull request NCAR#381 from grantfirl/ufs-dev-PR64
Browse files Browse the repository at this point in the history
UFS-dev PR#64
  • Loading branch information
grantfirl committed Jun 13, 2023
2 parents fdc7177 + e86f089 commit e3065be
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scm/src/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ module GFS_typedefs
real (kind=kind_phys), pointer :: spec_lh_flux (:) => null() !< specified kinematic surface latent heat flux

!-- In/Out
real (kind=kind_phys), pointer :: maxupmf(:) => null() !< maximum up draft mass flux for Grell-Freitas
real (kind=kind_phys), pointer :: conv_act(:) => null() !< convective activity counter for Grell-Freitas
real (kind=kind_phys), pointer :: conv_act_m(:)=> null() !< midlevel convective activity counter for Grell-Freitas
real (kind=kind_phys), pointer :: hice (:) => null() !< sea ice thickness
Expand Down Expand Up @@ -2554,8 +2555,10 @@ subroutine sfcprop_create (Sfcprop, IM, Model)
Sfcprop%lh = clear_val
end if
if (Model%imfdeepcnv == Model%imfdeepcnv_gf .or. Model%imfdeepcnv == Model%imfdeepcnv_unified) then
allocate (Sfcprop%maxupmf(IM))
allocate (Sfcprop%conv_act(IM))
allocate (Sfcprop%conv_act_m(IM))
Sfcprop%maxupmf = zero
Sfcprop%conv_act = zero
Sfcprop%conv_act_m = zero
end if
Expand Down
8 changes: 8 additions & 0 deletions scm/src/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,14 @@
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
[maxupmf]
standard_name = maximum_convective_updraft_mass_flux
long_name = maximum convective updraft mass flux within a column
units = m s-1
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
active = (control_for_deep_convection_scheme == identifier_for_grell_freitas_deep_convection)
[conv_act]
standard_name = consecutive_calls_for_grell_freitas_convection
long_name = Memory counter for GF
Expand Down

0 comments on commit e3065be

Please sign in to comment.