Skip to content

Commit

Permalink
add comment to smc pert unit & fix bug in stc pert
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanxue2870 committed Dec 11, 2023
1 parent 62b8914 commit 2afb1f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lndp_apply_perts.F90
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ subroutine lndp_apply_perts(blksz, lsm, lsm_noah, lsm_ruc, lsm_noahmp, iopt_dveg

! perturb total soil moisture
! factor of sldepth*1000 converts from mm to m3/m3
! NOTE: smc in the pertlist specified in input.nml
! is in the unit of mm/hour
pert = sfc_wts(nb,i,v)*smc_vertscale(k)*lndp_prt_list(v)/(zslayer(k)*1000.)
pert = pert*tfactor_state

Expand All @@ -248,7 +250,7 @@ subroutine lndp_apply_perts(blksz, lsm, lsm_noah, lsm_ruc, lsm_noahmp, iopt_dveg
if (do_pert_state) then
do k=1,lsoil
pert = sfc_wts(nb,i,v)*stc_vertscale(k)*lndp_prt_list(v)
pert = tfactor_state
pert = pert*tfactor_state
call apply_pert('stc',pert,print_flag, stc(nb,i,k),ierr)
enddo
endif
Expand Down

0 comments on commit 2afb1f4

Please sign in to comment.