Class: harvest
The harvest library includes management operations related to harvesting.
Methods Overview
Methods Details
CoppiceWithStandard(options, options, options, options, options, options, options)
Returns: object
Coppice with standards management system
Parameters:
options(object):options(number): .targetDBH target DBH for harvesting (default: 80).options(number): .nStandards number of remaining trees per hectare (default: 30).options(number): .interval time interval between harvests (default: 20).options(string): .preferenceFunction ranking string for selecting standards, e.g. ’dbh+100*species=quro’ (default: ‘dbh’).options(string|undefined): .sendSignal signal send out after each activity (default: undefined).options(string|undefined): .constraint constraint (default: undefined).
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.CoppiceWithStandard({
targetDBH: 70,
nStandards: 40,
species: 'fasy'
});HarvestAllBigTrees(options, options, options, options, options, options)
Returns: object
Harvest all trees above a certain height threshold
Parameters:
options(object):options(string): .id A unique identifier for the harvest activity (default: ‘HarvestAllBigTrees’).options(object): .schedule schedule of the harvest (default: {absolute: true, opt: 3}).options(string): .preferenceFunction ranking string for filtering trees, e.g. ‘height > 10’ (default: ‘height > 10’).options(string|undefined): .sendSignal signal send out after activity (default: undefined).options(string|undefined): .constraint constraint (default: undefined).
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.HarvestAllBigTrees({
schedule: {absolute: true, opt: 5},
preferenceFunction: 'height > 15'
});clearcut(options, options, options, options, options, options, options)
Returns: object
Clearcut operation, that removes all trees above a minimum diameter
Parameters:
options(object):options(string): .id A unique identifier for the harvest activity (default: ‘Clearcut’).options(object): .schedule schedule of the harvest (default: { minRel: 0.8, optRel: 1, maxRel: 1.2, force: true }).options(string): .preferenceFunction ranking string for filtering trees, e.g. ‘dbh > 10’ (default: ‘dbh > 0’).options(string|undefined): .finalHarvest boolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).options(string|undefined): .sendSignal signal send out after activity (default: undefined).options(string|undefined): .constraint constraint (default: undefined).
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.clearcut({
schedule: { minRel: 0.7, optRel: 0.9, maxRel: 1.1, force: true },
preferenceFunction: `dbh > 5`
});noManagement()
Returns: object
No harvest management
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.noManagement();salvage(options, options, options, options, options, options, options, options, options)
Returns: object
Disturbance response and salvaging
Parameters:
options(object):options(string): .id A unique identifier for the salvage activity (default: ‘Salvage’).options(object): .schedule default is simply repeating operation, but can be overwritten.options(expression|undefined): .salvageCondition expression that evaluates for each disturbed tree whether to salvage or not. If empty, no salvaging of trees takes place. Default: undefined.options(number): .thresholdReset Value between 0 and 1 indicating a disturbance severity threshold. If disturbance is above the threhold, the stand is reset (see other options). What happens depends on the optionsclearAll,onClearandsendSignal. Default: 0.5options(boolean|undefined): .clearAll If a stand is reset, a simple clearcut is executed whenclearAllistrue. Default: falseoptions(function|undefined): .onClear If a stand is reset, this custom function is executed (if provided). Default: undefinedoptions(number): .thresholdIgnoreDamage threshold m3 volume/ha. if disturbance below, no further tests are executed. Default: 50options(string|undefined): .sendSignal If a stand is reset, then this signal is sent if a value is provided. Default: undefined
Return Value Description: - An object describing the salvage activity
Example:
lib.harvest.salvage({ salvageCondition: 'dbh>10',
thresholdReset: 0.5,
clearAll: true });shelterwood(options, options, options, options, options, options, options, options, options, options, options, options, options)
Returns: object
Shelterwood harvest system
Parameters:
options(object):options(string): .id A unique identifier for the harvest activity (default: ‘Shelterwood’).options(object): .schedule schedule of the harvest (default: { minRel: 0.7, optRel: 0.8, maxRel: 0.9, force: true }).options(number): .nTrees Number of seed trees to select (default: 40).options(number): .nCompetitors Number of other trees to select - should be all remaining trees and thus really high (default: 1000).options(object): .speciesSelectivity species selectivity object (default: {}).options(string): .preferenceFunction ranking string for selecting seed trees, e.g. ‘height’ (default: ‘height’).options(number): .interval interval between repeated harvests (default: 5).options(number): .times number of repeated harvests (default: 3).options(string|undefined): .finalHarvest boolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).options(string|undefined): .internalSignal internal signal to start each shelterwood activity (default: ‘Shelterwood_remove’).options(string|undefined): .sendSignal signal send out after last shelterwood activity (default: undefined).options(string|undefined): .constraint constraint (default: undefined).
Return Value Description: program - An object describing the harvest program
Example:
lib.harvest.shelterwood({
schedule: { minRel: 0.6, optRel: 0.7, maxRel: 0.8, force: true },
nTrees: 50,
speciesSelectivity: { 'pisy': 1, 'abal': 0.5 }
});stripCut(options, options, options, options, options, options, options, options, options)
Returns: object
Strip cut system
Parameters:
options(object):options(string): .id A unique identifier for the harvest activity (default: ‘StripCut’).options(number): .harvestDirection direction of the strips in degrees (not working yet) (default: 120).options(number): .stripWidth width of each strip in meters (default: 30).options(number): .nStrips number of strips before the next strip is a “first” strip again (default: 5).options(number[]): .harvestIntensities array of harvest intensities for each harvest on the strip (default: [0.7, 0.5, 1]).options(number): .interval number of years between each harvest activity (default: 5).options(string|undefined): .sendSignal signal send out after each activity (default: undefined).options(string): .constraint constraint, which strips should be harvested e.g. “topHeight>30” (default: “stand.topHeight>30”).
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.stripCut2({
harvestDirection: 180,
stripWidth: 25,
harvestIntensities: [0.5, 0.7, 1],
constraint: "stand.basalArea>30"
});targetDBH(options, options, options, options, options, options, options)
Returns: object
Target diameter harvesting system
Parameters:
options(object):options(object|undefined): .schedule schedule for the harvest (default: undefined).options(number): .targetDBH target DBH for harvesting (default: 50).options(number): .times time interval between harvests (default: 5).options(object): .dbhList object with DBH thresholds per species (default: {}).options(string|undefined): .sendSignal signal send out after each activity (default: undefined).options(string|undefined): .constraint constraint (default: undefined).
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.targetDBH({
targetDBH: 60,
times: 10,
dbhList: { 'fasy': 50, 'abal': 55 }
});targetDBHforNo3(options, options, options, options, options, options)
Returns: object
Target diameter harvesting system for Norway Spruce (No)
Parameters:
options(object):options(number): .targetDBH target DBH for harvesting (default: 50).options(number): .times time interval between harvests (default: 5).options(object): .dbhList object with DBH thresholds per species (default: {}).options(string|undefined): .sendSignal signal send out after each activity (default: undefined).options(string|undefined): .constraint constraint (default: undefined).
Return Value Description: act - An object describing the harvest activity
Example:
lib.harvest.targetDBHforNo3({
targetDBH: 55,
times: 8,
dbhList: { 'fasy': 45, 'abal': 60 }
});