@@ -39,7 +39,7 @@ module cires_ugwp
3939! ! \htmlinclude cires_ugwp_init.html
4040! !
4141 subroutine cires_ugwp_init (me , master , nlunit , input_nml_file , logunit , &
42- fn_nml2 , lonr , latr , levs , ak , bk , dtp , cdmbgwd , cgwf , &
42+ fn_nml2 , lonr , levs , ak , bk , dtp , cdmbgwd , cgwf , &
4343 pa_rf_in , tau_rf_in , con_p0 , gwd_opt ,do_ugwp , errmsg , errflg )
4444
4545!- --- initialization of cires_ugwp
@@ -52,7 +52,6 @@ subroutine cires_ugwp_init (me, master, nlunit, input_nml_file, logunit, &
5252 integer , intent (in ) :: logunit
5353 integer , intent (in ) :: lonr
5454 integer , intent (in ) :: levs
55- integer , intent (in ) :: latr
5655 real (kind= kind_phys), intent (in ) :: ak(:), bk(:)
5756 real (kind= kind_phys), intent (in ) :: dtp
5857 real (kind= kind_phys), intent (in ) :: cdmbgwd(:), cgwf(:) ! "scaling" controls for "old" GFS-GW schemes
@@ -64,11 +63,6 @@ subroutine cires_ugwp_init (me, master, nlunit, input_nml_file, logunit, &
6463 character (len=* ), intent (in ) :: fn_nml2
6564 ! character(len=*), parameter :: fn_nml='input.nml'
6665
67- integer :: ios
68- logical :: exists
69- real :: dxsg
70- integer :: k
71-
7266 character (len=* ), intent (out ) :: errmsg
7367 integer , intent (out ) :: errflg
7468
@@ -77,18 +71,18 @@ subroutine cires_ugwp_init (me, master, nlunit, input_nml_file, logunit, &
7771 errflg = 0
7872
7973 if (is_initialized) return
80-
74+
8175 ! Consistency checks
8276 if (gwd_opt/= 1 ) then
8377 write (errmsg,' (*(a))' ) " Logic error: namelist choice of gravity wave &
8478 & drag is different from cires_ugwp scheme"
8579 errflg = 1
8680 return
87- end if
81+ end if
8882
8983 if (do_ugwp .or. cdmbgwd(3 ) > 0.0 ) then
9084 call cires_ugwpv0_mod_init (me, master, nlunit, input_nml_file, logunit, &
91- fn_nml2, lonr, latr, levs, ak, bk, con_p0, dtp, &
85+ fn_nml2, lonr, levs, ak, bk, con_p0, dtp, &
9286 cdmbgwd(1 :2 ), cgwf, pa_rf_in, tau_rf_in, &
9387 errmsg, errflg)
9488 if (errflg/= 0 ) return
@@ -108,7 +102,6 @@ subroutine cires_ugwp_init (me, master, nlunit, input_nml_file, logunit, &
108102
109103 end subroutine cires_ugwp_init
110104
111-
112105! -----------------------------------------------------------------------
113106! finalize of cires_ugwp (_finalize)
114107! -----------------------------------------------------------------------
@@ -138,7 +131,6 @@ subroutine cires_ugwp_finalize(errmsg, errflg)
138131
139132 end subroutine cires_ugwp_finalize
140133
141-
142134! -----------------------------------------------------------------------
143135! originally from ugwp_driver_v0.f
144136! driver of cires_ugwp (_driver)
@@ -149,45 +141,45 @@ end subroutine cires_ugwp_finalize
149141! -----------------------------------------------------------------------
150142! >@brief These subroutines and modules execute the CIRES UGWP Version 0.
151143! > \section gen_cires_ugwp CIRES UGWP V0 Scheme General Algorithm
152- ! ! The physics of Non-Orographic Gravity Waves (NGWs) in the UGWP framework
153- ! !(Yudin et al. 2018 \cite yudin_et_al_2018) is represented by four GW-solvers, introduced in
154- ! !Lindzen (1981) \cite lindzen_1981, Hines (1997) \cite hines_1997, Alexander
155- ! !and Dunkerton (1999) \cite alexander_and_dunkerton_1999, and Scinocca (2003) \cite scinocca_2003.
156- ! !A major modification of these GW solvers was introduced with the addition of the
157- ! !background dissipation of temperature and winds to the saturation criteria for wave breaking.
158- ! !This feature is important in the mesosphere and thermosphere for WAM applications and it
159- ! !considers appropriate scale-dependent dissipation of waves near the model top lid providing
160- ! !the momentum and energy conservation in the vertical column physics (Shaw and
161- ! !Shepherd (2009) \cite shaw_and_shepherd_2009). In the UGWP-v0 scheme, a modification of the
162- ! !Scinocca (2003) \cite scinocca_2003 algorithm for NGWs with non-hydrostatic and rotational
163- ! !effects for GW propagations and background dissipation is contained in the subroutine
164- ! !fv3_ugwp_solv2_v0. Future development plans for the UGWP scheme include additional GW-solvers
165- ! !to be implemented along with physics-based triggering of waves and stochastic approaches
166- ! !for selection of GW modes characterized by horizontal phase velocities, azimuthal
144+ ! ! The physics of Non-Orographic Gravity Waves (NGWs) in the UGWP framework
145+ ! !(Yudin et al. 2018 \cite yudin_et_al_2018) is represented by four GW-solvers, introduced in
146+ ! !Lindzen (1981) \cite lindzen_1981, Hines (1997) \cite hines_1997, Alexander
147+ ! !and Dunkerton (1999) \cite alexander_and_dunkerton_1999, and Scinocca (2003) \cite scinocca_2003.
148+ ! !A major modification of these GW solvers was introduced with the addition of the
149+ ! !background dissipation of temperature and winds to the saturation criteria for wave breaking.
150+ ! !This feature is important in the mesosphere and thermosphere for WAM applications and it
151+ ! !considers appropriate scale-dependent dissipation of waves near the model top lid providing
152+ ! !the momentum and energy conservation in the vertical column physics (Shaw and
153+ ! !Shepherd (2009) \cite shaw_and_shepherd_2009). In the UGWP-v0 scheme, a modification of the
154+ ! !Scinocca (2003) \cite scinocca_2003 algorithm for NGWs with non-hydrostatic and rotational
155+ ! !effects for GW propagations and background dissipation is contained in the subroutine
156+ ! !fv3_ugwp_solv2_v0. Future development plans for the UGWP scheme include additional GW-solvers
157+ ! !to be implemented along with physics-based triggering of waves and stochastic approaches
158+ ! !for selection of GW modes characterized by horizontal phase velocities, azimuthal
167159! !directions and magnitude of the vertical momentum flux (VMF).
168160! !
169- ! ! In UGWP-v0, the specification for the VMF function is adopted from the
170- ! ! GEOS-5 global atmosphere model of GMAO NASA/GSFC, as described in
171- ! ! Molod et al. (2015) \cite molod_et_al_2015 and employed in the MERRRA-2
172- ! ! reanalysis (Gelaro et al., 2017 \cite gelaro_et_al_2017). The Fortran
173- ! ! subroutine slat_geos5_tamp_v0() describes the latitudinal shape of
174- ! ! VMF-function as displayed in Figure 3 of Molod et al. (2015)
175- ! ! \cite molod_et_al_2015. It shows that the enhanced values of
176- ! ! VMF in the equatorial region gives opportunity to simulate the
177- ! ! QBO-like oscillations in the equatorial zonal winds and lead to more
178- ! ! realistic simulations of the equatorial dynamics in GEOS-5 operational
179- ! ! and MERRA-2 reanalysis products. For the first vertically extended
180- ! ! version of FV3GFS in the stratosphere and mesosphere, this simplified
181- ! ! function of VMF allows us to tune the model climate and to evaluate
182- ! ! multi-year simulations of FV3GFS with the MERRA-2 and ERA-5 reanalysis
183- ! ! products, along with temperature, ozone, and water vapor observations
184- ! ! of current satellite missions. After delivery of the UGWP-code, the
185- ! ! EMC group developed and tested approach to modulate the zonal mean
186- ! ! NGW forcing by 3D-distributions of the total precipitation as a proxy
187- ! ! for the excitation of NGWs by convection and the vertically-integrated
188- ! ! (surface - tropopause) Turbulent Kinetic Energy (TKE). The verification
189- ! ! scores with updated NGW forcing, as reported elsewhere by EMC researchers,
190- ! ! display noticeable improvements in the forecast scores produced by
161+ ! ! In UGWP-v0, the specification for the VMF function is adopted from the
162+ ! ! GEOS-5 global atmosphere model of GMAO NASA/GSFC, as described in
163+ ! ! Molod et al. (2015) \cite molod_et_al_2015 and employed in the MERRRA-2
164+ ! ! reanalysis (Gelaro et al., 2017 \cite gelaro_et_al_2017). The Fortran
165+ ! ! subroutine slat_geos5_tamp_v0() describes the latitudinal shape of
166+ ! ! VMF-function as displayed in Figure 3 of Molod et al. (2015)
167+ ! ! \cite molod_et_al_2015. It shows that the enhanced values of
168+ ! ! VMF in the equatorial region gives opportunity to simulate the
169+ ! ! QBO-like oscillations in the equatorial zonal winds and lead to more
170+ ! ! realistic simulations of the equatorial dynamics in GEOS-5 operational
171+ ! ! and MERRA-2 reanalysis products. For the first vertically extended
172+ ! ! version of FV3GFS in the stratosphere and mesosphere, this simplified
173+ ! ! function of VMF allows us to tune the model climate and to evaluate
174+ ! ! multi-year simulations of FV3GFS with the MERRA-2 and ERA-5 reanalysis
175+ ! ! products, along with temperature, ozone, and water vapor observations
176+ ! ! of current satellite missions. After delivery of the UGWP-code, the
177+ ! ! EMC group developed and tested approach to modulate the zonal mean
178+ ! ! NGW forcing by 3D-distributions of the total precipitation as a proxy
179+ ! ! for the excitation of NGWs by convection and the vertically-integrated
180+ ! ! (surface - tropopause) Turbulent Kinetic Energy (TKE). The verification
181+ ! ! scores with updated NGW forcing, as reported elsewhere by EMC researchers,
182+ ! ! display noticeable improvements in the forecast scores produced by
191183! ! FV3GFS configuration extended into the mesosphere.
192184! !
193185! > \section arg_table_cires_ugwp_run Argument Table
@@ -337,7 +329,6 @@ subroutine cires_ugwp_run(do_ugwp, me, master, im, levs, ntrac, dtp, kdt, lonr
337329
338330 endif ! do_ugwp
339331
340-
341332 if (ldiag3d .and. lssav .and. .not. flag_for_gwd_generic_tend) then
342333 idtend = dtidx(index_of_x_wind,index_of_process_orographic_gwd)
343334 if (idtend>= 1 ) then
@@ -352,7 +343,6 @@ subroutine cires_ugwp_run(do_ugwp, me, master, im, levs, ntrac, dtp, kdt, lonr
352343 dtend(:,:,idtend) = dtend(:,:,idtend) + Pdtdt* dtp
353344 endif
354345 endif
355-
356346
357347 if (cdmbgwd(3 ) > 0.0 ) then
358348
0 commit comments