Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comment to smc pert unit & fix bug in stc pert #70

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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