Skip to content

Commit

Permalink
Merge pull request #6 from tanyasmirnova/PR_moorthi_ruclsm
Browse files Browse the repository at this point in the history
Clean-up in RUC LSM
  • Loading branch information
SMoorthi-emc authored Sep 30, 2021
2 parents 6c709c9 + 8ae21d6 commit dd89ac6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions physics/sfc_drv_ruc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ subroutine lsm_ruc_run & ! inputs
& weasd_ice, snwdph_ice, tskin_ice, &
& tsurf_ice, z0rl_ice, tsnow_ice, &
& sfcqc_ice, sfcqv_ice, fice
! & sfcqc_ice, sfcqv_ice, fice, tice

! --- in
real (kind=kind_phys), dimension(:), intent(in) :: &
Expand Down Expand Up @@ -1168,11 +1167,12 @@ subroutine lsm_ruc_run & ! inputs
!snohf(i) = snoh(i,j)

! Interstitial
evap_lnd(i) = qfx_lnd(i,j) / rho(i) ! kinematic
hflx_lnd(i) = hfx_lnd(i,j) / (con_cp*rho(i)) ! kinematic
gflux_lnd(i) = ssoil_lnd(i,j)
evap_lnd(i) = qfx_lnd(i,j) / rho(i) ! kinematic
hflx_lnd(i) = hfx_lnd(i,j) / (con_cp*rho(i)) ! kinematic
gflux_lnd(i) = ssoil_lnd(i,j)
qsurf_lnd(i) = qsfc_lnd(i,j)
tsurf_lnd(i) = soilt_lnd(i,j)
tsnow_lnd(i) = soilt1_lnd(i,j)
stm(i) = soilm(i,j) * 1.e-3 ! convert to [m]

runof (i) = runoff1(i,j)
Expand Down Expand Up @@ -1341,6 +1341,7 @@ subroutine lsm_ruc_run & ! inputs

qsurf_ice(i) = qsfc_ice(i,j)
tsurf_ice(i) = soilt_ice(i,j)
tsnow_ice(i) = soilt1_ice(i,j)

sfcqv_ice(i) = qvg_ice(i,j)
sfcqc_ice(i) = qcg_ice(i,j)
Expand Down Expand Up @@ -1428,7 +1429,6 @@ subroutine lsm_ruc_run & ! inputs
if(debug_print) write (0,*)'iter run', i,j, tskin_ice(i),tsurf_ice(i)
tskin_lnd(i) = tsurf_lnd(i)
tskin_ice(i) = tsurf_ice(i)
! tice(i) = tsurf_ice(i)
endif ! flag_guess
endif ! flag
enddo ! i
Expand Down

0 comments on commit dd89ac6

Please sign in to comment.