Skip to content

Commit

Permalink
Bug fix for issue NGEET#1289
Browse files Browse the repository at this point in the history
Fix the issue of no wood product when forced by area-based harvest. 
NGEET#1289
  • Loading branch information
sshu88 authored Nov 20, 2024
1 parent d80ef20 commit df6c5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biogeochem/EDLoggingMortalityMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ subroutine LoggingMortality_frac( pft_i, dbh, canopy_layer, lmort_direct, &
! transfer of area to secondary land is based on overall area affected, not just logged crown area
! l_degrad accounts for the affected area between logged crowns
if(prt_params%woody(pft_i) == itrue)then ! only set logging rates for trees
if (cur_harvest_tag == 0) then
if (cur_harvest_tag == 0 .or. cur_harvest_tag == 2) then
! direct logging rates, based on dbh min and max criteria
if (dbh >= logging_dbhmin .and. .not. &
((logging_dbhmax < fates_check_param_set) .and. (dbh >= logging_dbhmax )) ) then
Expand Down

0 comments on commit df6c5e7

Please sign in to comment.