Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ccpp/data/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,9 @@ module GFS_typedefs
!< 6=areodynamical roughness over water with input 10-m wind
!< 7=slightly decrease Cd for higher wind speed compare to 6

!--- potential temperature definition in surface layer physics
logical :: thsfc_loc !< flag for local vs. standard potential temperature

!--- vertical diffusion
real(kind=kind_phys) :: xkzm_m !< [in] bkgd_vdif_m background vertical diffusion for momentum
real(kind=kind_phys) :: xkzm_h !< [in] bkgd_vdif_h background vertical diffusion for heat q
Expand Down Expand Up @@ -3363,6 +3366,11 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
!< 7=slightly decrease Cd for higher wind speed compare to 6
!< negative when cplwav2atm=.true. - i.e. two way wave coupling

!--- potential temperature definition in surface layer physics
logical :: thsfc_loc = .true. !< flag for local vs. standard potential temperature
!<.true. means use local (gridpoint) surface pressure to define potential temperature
!<.false. means use reference pressure of 1000 hPa to define potential temperature

!--- vertical diffusion
real(kind=kind_phys) :: xkzm_m = 1.0d0 !< [in] bkgd_vdif_m background vertical diffusion for momentum
real(kind=kind_phys) :: xkzm_h = 1.0d0 !< [in] bkgd_vdif_h background vertical diffusion for heat q
Expand Down Expand Up @@ -3522,6 +3530,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
ignore_lake, &
!--- surface layer
sfc_z0_type, &
thsfc_loc, &
! vertical diffusion
xkzm_m, xkzm_h, xkzm_s, xkzminv, moninq_fac, dspfac, &
bl_upfr, bl_dnfr, &
Expand Down Expand Up @@ -4165,6 +4174,9 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
Model%sfc_z0_type = sfc_z0_type
if (Model%cplwav2atm) Model%sfc_z0_type = -1

!--- potential temperature reference in sfc layer
Model%thsfc_loc = thsfc_loc

!--- vertical diffusion
Model%xkzm_m = xkzm_m
Model%xkzm_h = xkzm_h
Expand Down
6 changes: 6 additions & 0 deletions ccpp/data/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -3771,6 +3771,12 @@
units = flag
dimensions = ()
type = logical
[thsfc_loc]
standard_name = flag_for_reference_pressure_theta
long_name = flag for reference pressure in theta calculation
units = flag
dimensions = ()
type = logical
[hybedmf]
standard_name = flag_for_hedmf
long_name = flag for hybrid edmf pbl scheme (moninedmf)
Expand Down