Skip to content

Commit

Permalink
fix understory_mortality_carbonflux calc
Browse files Browse the repository at this point in the history
The logging component of understory_mortality_carbonflux (like canopy) was wayyy to high compared to all other sources because it needed to be divided by days_per_sec (86,400).
  • Loading branch information
jestenzel committed Oct 30, 2022
1 parent ae04227 commit 9df0953
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/FatesHistoryInterfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,8 @@ subroutine update_history_dyn(this,nc,nsites,sites)
ccohort%frmort + ccohort%heatmort + ccohort%smort + ccohort%asmort) * &
total_m * ccohort%n * days_per_sec * years_per_day * ha_per_m2 + &
(ccohort%lmort_direct + ccohort%lmort_collateral + ccohort%lmort_infra) * total_m * &
ccohort%n * ha_per_m2
ccohort%n * ha_per_m2 * days_per_sec ![JStenzel Edit] /365 / 86400 (year_to_sec) , * 365 (because this will be averaged)

!!!![JStenzel add] Understory mortality cflux variables
hio_understory_m1_carbonflux_si(io_si) = hio_understory_m1_carbonflux_si(io_si) + &
ccohort%bmort * total_m * ccohort%n * days_per_sec * years_per_day * ha_per_m2
Expand Down

0 comments on commit 9df0953

Please sign in to comment.