From 76b3476988941a291ba54559fdeb4099f34d11e7 Mon Sep 17 00:00:00 2001 From: Grant Firl Date: Fri, 22 Sep 2023 10:55:33 -0400 Subject: [PATCH] update GFS_typedefs for HFIP2023 branch --- scm/src/GFS_typedefs.F90 | 12 ++++++++---- scm/src/GFS_typedefs.meta | 18 +++++++++++++----- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/scm/src/GFS_typedefs.F90 b/scm/src/GFS_typedefs.F90 index 70e910cb0..9488a51e3 100644 --- a/scm/src/GFS_typedefs.F90 +++ b/scm/src/GFS_typedefs.F90 @@ -1946,7 +1946,8 @@ module GFS_typedefs real (kind=kind_phys), pointer :: det_thl (:,:) => null() ! real (kind=kind_phys), pointer :: det_sqv (:,:) => null() ! real (kind=kind_phys), pointer :: maxMF (:) => null() ! - integer, pointer :: nupdraft (:) => null() ! + real (kind=kind_phys), pointer :: maxwidth (:) => null() ! + real (kind=kind_phys), pointer :: ztop_plume (:) => null() ! integer, pointer :: ktop_plume (:) => null() ! real (kind=kind_phys), pointer :: exch_h (:,:) => null() ! real (kind=kind_phys), pointer :: exch_m (:,:) => null() ! @@ -7862,8 +7863,9 @@ subroutine diag_create (Diag, IM, Model) allocate (Diag%qbuoy (IM,Model%levs)) allocate (Diag%qdiss (IM,Model%levs)) endif - allocate (Diag%nupdraft (IM)) + allocate (Diag%maxwidth (IM)) allocate (Diag%maxmf (IM)) + allocate (Diag%ztop_plume(IM)) allocate (Diag%ktop_plume(IM)) allocate (Diag%exch_h (IM,Model%levs)) allocate (Diag%exch_m (IM,Model%levs)) @@ -7890,8 +7892,9 @@ subroutine diag_create (Diag, IM, Model) Diag%qbuoy = clear_val Diag%qdiss = clear_val endif - Diag%nupdraft = 0 + Diag%maxwidth = clear_val Diag%maxmf = clear_val + Diag%ztop_plume = clear_val Diag%ktop_plume = 0 Diag%exch_h = clear_val Diag%exch_m = clear_val @@ -8083,8 +8086,9 @@ subroutine diag_phys_zero (Diag, Model, linit, iauwindow_center) Diag%det_thl = clear_val Diag%det_sqv = clear_val endif - Diag%nupdraft = 0 + Diag%maxwidth = clear_val Diag%maxmf = clear_val + Diag%ztop_plume = clear_val Diag%ktop_plume = 0 Diag%exch_h = clear_val Diag%exch_m = clear_val diff --git a/scm/src/GFS_typedefs.meta b/scm/src/GFS_typedefs.meta index 602e06c45..036bc0bed 100644 --- a/scm/src/GFS_typedefs.meta +++ b/scm/src/GFS_typedefs.meta @@ -9387,11 +9387,11 @@ type = real kind = kind_phys active = (flag_for_mellor_yamada_nakanishi_niino_pbl_scheme .and. control_for_tke_budget_output == 1) -[dqcdt_mynn] - standard_name = tendency_of_cloud_liquid_water_due_to_mynn_pbl - long_name = tendency of cloud liquid water due to MYNN PBL scheme - units = kg kg-1 s-1 - dimensions = (horizontal_loop_extent,vertical_layer_dimension) +[maxwidth] + standard_name = maximum_width_of_plumes + long_name = maximum width of plumes per grid column + units = m + dimensions = (horizontal_loop_extent) type = real kind = kind_phys active = (flag_for_mellor_yamada_nakanishi_niino_pbl_scheme) @@ -9434,6 +9434,14 @@ type = real kind = kind_phys active = (flag_for_mellor_yamada_nakanishi_niino_pbl_scheme) +[ztop_plume] + standard_name = height_of_tallest_plume_in_a_column + long_name = height of tallest plume in a column + units = m + dimensions = (horizontal_loop_extent) + type = real + kind = kind_phys + active = (flag_for_mellor_yamada_nakanishi_niino_pbl_scheme) [ktop_shallow] standard_name = k_level_of_highest_reaching_plume long_name = k-level of highest reaching plume