Skip to content

Commit

Permalink
Add TODO notes for future changes once ML code is implemented.
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Jun 17, 2024
1 parent d5e10b8 commit b2118d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/physics/cam/gw_drag.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,7 @@ subroutine gw_tend(state, pbuf, dt, ptend, cam_in, flx_heat)
effgw = 0._r8
end where

! TODO: Once ML code is written need to modify to select which tendencies to carry forward
if ((gw_convect_dp_ml == 'off') .or. (gw_convect_dp_ml == 'bothoff') .or. (gw_convect_dp_ml == 'bothon')) then
! Determine wave sources for Beres deep scheme
call gw_beres_src(ncol, band_mid, beres_dp_desc, &
Expand Down Expand Up @@ -1519,6 +1520,7 @@ subroutine gw_tend(state, pbuf, dt, ptend, cam_in, flx_heat)
taucd = calc_taucd(ncol, band_mid%ngwv, tend_level, tau, c, xv, yv, ubi)

! add the diffusion coefficients
! TODO: Need to treat egwdffi if not output by ML scheme
do k = 1, pver+1
egwdffi_tot(:,k) = egwdffi_tot(:,k) + egwdffi(:,k)
end do
Expand Down

0 comments on commit b2118d4

Please sign in to comment.