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

Bug Fix - remove trunk loading from patch-level sum_fuel variable #1180

Merged
merged 2 commits into from
Mar 29, 2024
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: 4 additions & 0 deletions fire/SFMainMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ subroutine charecteristics_of_fuel ( currentSite )
currentPatch%litter_moisture(tr_sf) = fuel_moisture(tr_sf)/MEF(tr_sf)
currentPatch%litter_moisture(dl_sf) = fuel_moisture(dl_sf)/MEF(dl_sf)
currentPatch%litter_moisture(lg_sf) = fuel_moisture(lg_sf)/MEF(lg_sf)

! remove trunks from patch%sum_fuel because they should not be included in fire equations
! NOTE: ACF will update this soon to be more clean/bug-proof
currentPatch%sum_fuel = currentPatch%sum_fuel - litt_c%ag_cwd(tr_sf)

else

Expand Down