Skip to content

Potential bug in logging model #1367

@XiulinGao

Description

@XiulinGao

call LoggingMortality_frac(currentSite, bc_in, ipft, currentCohort%dbh, currentCohort%canopy_layer, &
currentCohort%lmort_direct, &
currentCohort%lmort_collateral, &
currentCohort%lmort_infra, &
currentCohort%l_degrad, &
bc_in%hlm_harvest_rates, &
bc_in%hlm_harvest_catnames, &
bc_in%hlm_harvest_units, &
land_use_label, &
age_since_anthro_disturbance, &
current_fates_landuse_state_vector, harvestable_forest_c, harvest_tag)

This call of logging mortality function here uses the calculated cohort level logging resulted mortality and degradation rate as the argument input. However, in the original logging mortality function, logging mortality and degradation rate are defined as output variables. This call here then will change the value. I don't think I understand what Mortality Derivative fun does here, and how that is related to the actual logging mortality applied to cohort to reflect logging effects, and how logging mortality is output as history variable. I indeed see some weird behavior of the logging model on my local branch that when runtime logging direct mortality is non-zero, but the output is zero and there is no logging effect at all. However, this is based on my local branch where I did a targeted logging: only apply logging to certain DBH size with different cap rate for each group and zero logging mortality when a defined patch level total basal area is approached with only degradation rate is preserved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    science: loggingPertaining to logging disturbance

    Type

    Projects

    Status

    ❕Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions