Skip to content

Commit

Permalink
Merge pull request #2 from mzhangw/scidocv5_sync
Browse files Browse the repository at this point in the history
CCPPv5.0.0 scientific doc sync
  • Loading branch information
llpcarson committed Apr 12, 2021
2 parents ccdffcf + 4522e6b commit 87528e1
Show file tree
Hide file tree
Showing 27 changed files with 1,629 additions and 1,543 deletions.
2 changes: 1 addition & 1 deletion physics/GFS_GWD_generic.F90
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!> \file GFS_GWD_generic.f
!> \file GFS_GWD_generic.F90
!! This file contains the CCPP-compliant orographic gravity wave
!! drag pre interstitial codes.

Expand Down
11 changes: 2 additions & 9 deletions physics/GFS_MP_generic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ end subroutine GFS_MP_generic_pre_finalize

end module GFS_MP_generic_pre

!>\defgroup gfs_calpreciptype GFS Precipitation Type Diagnostics Module
!> This module contains the subroutine that calculates
!! precipitation type and its post, which provides precipitation forcing
!! to LSM.
Expand All @@ -74,8 +75,7 @@ module GFS_MP_generic_post
subroutine GFS_MP_generic_post_init()
end subroutine GFS_MP_generic_post_init

!>\defgroup gfs_calpreciptype GFS Precipitation Type Diagnostics Module
!! \brief If dominant precip type is requested (i.e., Zhao-Carr MP scheme), 4 more algorithms in calpreciptype()
!> \brief If dominant precip type is requested (i.e., Zhao-Carr MP scheme), 4 more algorithms in calpreciptype()
!! will be called. the tallies are then summed in calwxt_dominant(). For GFDL cloud MP scheme, determine convective
!! rain/snow by surface temperature; and determine explicit rain/snow by rain/snow coming out directly from MP.
!!
Expand Down Expand Up @@ -119,15 +119,8 @@ subroutine GFS_MP_generic_post_run(im, levs, kdt, nrcm, ncld, nncl, ntcw, ntrac,
real(kind=kind_phys), dimension(:,:), intent(inout) :: dq3dt ! only if ldiag3d and qdiag3d

! Stochastic physics / surface perturbations
<<<<<<< HEAD
real(kind=kind_phys), dimension(im), intent(inout) :: drain_cpl
real(kind=kind_phys), dimension(im), intent(inout) :: dsnow_cpl
=======
logical, intent(in) :: do_sppt, ca_global
real(kind=kind_phys), dimension(:,:), intent(inout) :: dtdtr
real(kind=kind_phys), dimension(:,:), intent(in) :: dtdtc
real(kind=kind_phys), dimension(:), intent(inout) :: drain_cpl, dsnow_cpl
>>>>>>> 3f240db... Merge pull request #540 from climbfuji/release_public_v2_gnu10_crashes

! Rainfall variables previous time step
integer, intent(in) :: lsm, lsm_ruc, lsm_noahmp
Expand Down
2 changes: 1 addition & 1 deletion physics/GFS_rad_time_vary.fv3.F90
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!>\file GFS_rad_time_vary.F90
!>\file GFS_rad_time_vary.fv3.F90
!! Contains code related to GFS physics suite setup (radiation part of time_vary_step)
module GFS_rad_time_vary

Expand Down
7 changes: 4 additions & 3 deletions physics/GFS_rrtmg_post.F90
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
!>\file GFS_rrtmg_post.f90
!! This file contains

!>\defgroup GFS_rrtmg_post_mod GFS RRTMG Scheme Post
module GFS_rrtmg_post
contains

!>\defgroup GFS_rrtmg_post GFS RRTMG Scheme Post
!! @{
!> \section arg_table_GFS_rrtmg_post_init Argument Table
!!
subroutine GFS_rrtmg_post_init ()
end subroutine GFS_rrtmg_post_init

Expand Down Expand Up @@ -200,5 +202,4 @@ end subroutine GFS_rrtmg_post_run
subroutine GFS_rrtmg_post_finalize ()
end subroutine GFS_rrtmg_post_finalize

!! @}
end module GFS_rrtmg_post
7 changes: 3 additions & 4 deletions physics/GFS_rrtmg_setup.F90
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
!> \file GFS_rrtmg_setup.f90
!! This file contains

!> \defgroup GFS_rrtmg_setup_mod GFS RRTMG Scheme Setup
module GFS_rrtmg_setup

use physparam, only : isolar , ictmflg, ico2flg, ioznflg, iaerflg,&
Expand Down Expand Up @@ -38,9 +40,7 @@ module GFS_rrtmg_setup

contains

!> \defgroup GFS_rrtmg_setup GFS RRTMG Scheme Setup
!! @{
!! \section arg_table_GFS_rrtmg_setup_init Argument Table
!> \section arg_table_GFS_rrtmg_setup_init Argument Table
!! \htmlinclude GFS_rrtmg_setup_init.html
!!
subroutine GFS_rrtmg_setup_init ( &
Expand Down Expand Up @@ -817,5 +817,4 @@ subroutine radupdate( idate,jdate,deltsw,deltim,lsswr, me, &
end subroutine radupdate
!-----------------------------------

!! @}
end module GFS_rrtmg_setup
6 changes: 2 additions & 4 deletions physics/GFS_stochastics.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
!> \file GFS_stochastics.f90
!! This file contains code previously in GFS_stochastics_driver.

!>\defgroup gfs_stoch GFS Stochastics Physics Module
!! This module
module GFS_stochastics

contains
Expand All @@ -12,9 +14,6 @@ subroutine GFS_stochastics_finalize()
end subroutine GFS_stochastics_finalize


!>\defgroup gfs_stoch GFS Stochastics Physics Module
!! This module
!> @{
!> \section arg_table_GFS_stochastics_run Argument Table
!! \htmlinclude GFS_stochastics_run.html
!!
Expand Down Expand Up @@ -357,4 +356,3 @@ subroutine GFS_stochastics_run (im, km, kdt, delt, do_sppt, pert_mp, use_zmtnblc
end subroutine GFS_stochastics_run

end module GFS_stochastics
!> @}
1 change: 1 addition & 0 deletions physics/GFS_surface_generic.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
!> \file GFS_surface_generic.F90
!! Contains code related to all GFS surface schemes.

!>\defgroup mod_GFS_surface_generic_pre GFS Surface Generic Pre module
module GFS_surface_generic_pre

use machine, only: kind_phys
Expand Down
3 changes: 2 additions & 1 deletion physics/GFS_time_vary_pre.fv3.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
!> \file GFS_time_vary_pre.F90
!> \file GFS_time_vary_pre.fv3.F90
!! Contains code related to GFS physics suite setup (generic part of time_vary_step)

!>\defgroup gfs_time_vary_pre_mod GFS Time Vary Pre Module
module GFS_time_vary_pre

use funcphys, only: gfuncphys
Expand Down
4 changes: 1 addition & 3 deletions physics/cires_ugwp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
!! 3. GW Effects: Unified representation of GW impacts on the "resolved" flow for all sources (energy-balanced schemes for momentum, heat and mixing).
!! https://www.weather.gov/media/sti/nggps/Presentations%202017/02%20NGGPS_VYUDIN_2017_.pdf

!>\defgroup cires_ugwp_run Unified Gravity Wave Physics General Algorithm
module cires_ugwp

use machine, only: kind_phys
Expand Down Expand Up @@ -136,8 +137,6 @@ end subroutine cires_ugwp_finalize
! order = dry-adj=>conv=mp-aero=>radiation -sfc/land- chem -> vertdiff-> [rf-gws]=> ion-re
! -----------------------------------------------------------------------
!>@brief These subroutines and modules execute the CIRES UGWP Version 0
!>\defgroup cires_ugwp_run Unified Gravity Wave Physics General Algorithm
!> @{
!! The physics of NGWs in the UGWP framework (Yudin et al. 2018 \cite yudin_et_al_2018) is represented by four GW-solvers, which is introduced in Lindzen (1981) \cite lindzen_1981, Hines (1997) \cite hines_1997, Alexander and Dunkerton (1999) \cite alexander_and_dunkerton_1999, and Scinocca (2003) \cite scinocca_2003. The major modification of these GW solvers is represented by the addition of the background dissipation of temperature and winds to the saturation criteria for wave breaking. This feature is important in the mesosphere and thermosphere for WAM applications and it considers appropriate scale-dependent dissipation of waves near the model top lid providing the momentum and energy conservation in the vertical column physics (Shaw and Shepherd 2009 \cite shaw_and_shepherd_2009). In the UGWP-v0, the modification of Scinocca (2003) \cite scinocca_2003 scheme for NGWs with non-hydrostatic and rotational effects for GW propagations and background dissipation is represented by the subroutine \ref fv3_ugwp_solv2_v0. In the next release of UGWP, additional GW-solvers will be implemented along with physics-based triggering of waves and stochastic approaches for selection of GW modes characterized by horizontal phase velocities, azimuthal directions and magnitude of the vertical momentum flux (VMF).
!!
!! In UGWP-v0, the specification for the VMF function is adopted from the GEOS-5 global atmosphere model of GMAO NASA/GSFC, as described in Molod et al. (2015) \cite molod_et_al_2015 and employed in the MERRRA-2 reanalysis (Gelaro et al., 2017 \cite gelaro_et_al_2017). The Fortran subroutine \ref slat_geos5_tamp describes the latitudinal shape of VMF-function as displayed in Figure 3 of Molod et al. (2015) \cite molod_et_al_2015. It shows that the enhanced values of VMF in the equatorial region gives opportunity to simulate the QBO-like oscillations in the equatorial zonal winds and lead to more realistic simulations of the equatorial dynamics in GEOS-5 operational and MERRA-2 reanalysis products. For the first vertically extended version of FV3GFS in the stratosphere and mesosphere, this simplified function of VMF allows us to tune the model climate and to evaluate multi-year simulations of FV3GFS with the MERRA-2 and ERA-5 reanalysis products, along with temperature, ozone, and water vapor observations of current satellite missions. After delivery of the UGWP-code, the EMC group developed and tested approach to modulate the zonal mean NGW forcing by 3D-distributions of the total precipitation as a proxy for the excitation of NGWs by convection and the vertically-integrated (surface - tropopause) Turbulent Kinetic Energy (TKE). The verification scores with updated NGW forcing, as reported elsewhere by EMC researchers, display noticeable improvements in the forecast scores produced by FV3GFS configuration extended into the mesosphere.
Expand Down Expand Up @@ -377,5 +376,4 @@ subroutine cires_ugwp_run(do_ugwp, me, master, im, levs, ntrac, dtp, kdt, lonr

end subroutine cires_ugwp_run
!! @}
!>@}
end module cires_ugwp
5 changes: 2 additions & 3 deletions physics/cires_ugwp_post.F90
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
!> \file cires_ugwp_post.F90
!! This file contains

!>\defgroup cires_ugwp_post_mod CIRES UGWP Scheme Post
module cires_ugwp_post

contains

!>\defgroup cires_ugwp_post CIRES UGWP Scheme Post
!! @{
subroutine cires_ugwp_post_init ()
end subroutine cires_ugwp_post_init

Expand Down Expand Up @@ -71,5 +71,4 @@ end subroutine cires_ugwp_post_run
subroutine cires_ugwp_post_finalize ()
end subroutine cires_ugwp_post_finalize

!! @}
end module cires_ugwp_post
1 change: 1 addition & 0 deletions physics/cnvc90.f
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,6 @@ END SUBROUTINE cnvc90_run
subroutine cnvc90_finalize()
end subroutine cnvc90_finalize


end module cnvc90

Loading

0 comments on commit 87528e1

Please sign in to comment.