harvest Class
harvest\salvage.js:1
The harvest library includes management operations related to harvesting.
Item Index
Methods
clearcut
-
options
Clearcut operation, that removes all trees above a minimum diameter
Parameters:
-
optionsObject-
idStringA unique identifier for the harvest activity (default: 'Clearcut').
-
scheduleObjectschedule of the harvest (default: { minRel: 0.8, optRel: 1, maxRel: 1.2, force: true }).
-
preferenceFunctionStringranking string for filtering trees, e.g. 'dbh > 10' (default: 'dbh > 0').
-
finalHarvestString | Undefinedboolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).
-
sendSignalString | Undefinedsignal send out after activity (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
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
});
CoppiceWithStandard
-
options
Coppice with standards management system
Parameters:
-
optionsObject-
targetDBHNumbertarget DBH for harvesting (default: 80).
-
nStandardsNumbernumber of remaining trees per hectare (default: 30).
-
intervalNumbertime interval between harvests (default: 20).
-
preferenceFunctionStringranking string for selecting standards, e.g. 'dbh+100*species=quro' (default: 'dbh').
-
sendSignalString | Undefinedsignal send out after each activity (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.CoppiceWithStandard({
targetDBH: 70,
nStandards: 40,
species: 'fasy'
});
femel
-
options
Femel management system
Parameters:
-
optionsObject-
stepsNumbernumber of consecutive enlargement steps after start (default: 2).
-
intervalNumbernumber of years between each step (default: 10).
-
growByNumbernumber of "rings" of 10m cells to grow each step (default: 1).
-
finalHarvestString | Undefinedboolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).
-
harvestAllString | Undefinedindicate if all trees outside the femel should be removed after final harvest (default: true).
-
internalSignalString | Undefinedinternal signal to start each femel harvest step (default: 'harvest_femel').
-
sendSignalString | Undefinedsignal send out after final femel harvest activity (default: undefined).
-
scheduleObject | Undefinedschedule object (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.femel({
steps: 3,
interval: 5,
growBy: 2,
schedule: { start: 10 }
});
HarvestAllBigTrees
-
options
Harvest all trees above a certain height threshold
Parameters:
-
optionsObject-
idStringA unique identifier for the harvest activity (default: 'HarvestAllBigTrees').
-
scheduleObjectschedule of the harvest (default: {absolute: true, opt: 3}).
-
preferenceFunctionStringranking string for filtering trees, e.g. 'height > 10' (default: 'height > 10').
-
sendSignalString | Undefinedsignal send out after activity (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.HarvestAllBigTrees({
schedule: {absolute: true, opt: 5},
preferenceFunction: 'height > 15'
});
noManagement
()
Object
No harvest management
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.noManagement();
salvage
-
options
Disturbance response and salvaging
Parameters:
-
optionsObject-
idStringA unique identifier for the salvage activity (default: 'Salvage').
-
scheduleObjectdefault is simply repeating operation, but can be overwritten.
-
salvageConditionExpression | Undefinedexpression that evaluates for each disturbed tree whether to salvage or not. If empty, no salvaging of trees takes place. Default: undefined.
-
thresholdResetNumberValue 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 options
clearAll,onClearandsendSignal. Default: 0.5 -
clearAllBoolean | UndefinedIf a stand is reset, a simple clearcut is executed when
clearAllistrue. Default: false -
onClearFunction | UndefinedIf a stand is reset, this custom function is executed (if provided). Default: undefined
-
thresholdIgnoreDamageNumberthreshold m3 volume/ha. if disturbance below, no further tests are executed. Default: 50
-
sendSignalString | UndefinedIf a stand is reset, then this signal is sent if a value is provided. Default: undefined
-
Returns:
- An object describing the salvage activity
Example:
lib.harvest.salvage({ salvageCondition: 'dbh>10',
thresholdReset: 0.5,
clearAll: true });
shelterwood
-
options
Shelterwood harvest system
Parameters:
-
optionsObject-
idStringA unique identifier for the harvest activity (default: 'Shelterwood').
-
scheduleObjectschedule of the harvest (default: { minRel: 0.7, optRel: 0.8, maxRel: 0.9, force: true }).
-
nTreesNumberNumber of seed trees to select (default: 40).
-
nCompetitorsNumberNumber of other trees to select - should be all remaining trees and thus really high (default: 1000).
-
speciesSelectivityObjectspecies selectivity object (default: {}).
-
preferenceFunctionStringranking string for selecting seed trees, e.g. 'height' (default: 'height').
-
intervalNumberinterval between repeated harvests (default: 5).
-
timesNumbernumber of repeated harvests (default: 3).
-
finalHarvestString | Undefinedboolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).
-
internalSignalString | Undefinedinternal signal to start each shelterwood activity (default: 'Shelterwood_remove').
-
sendSignalString | Undefinedsignal send out after last shelterwood activity (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
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
Strip cut system
Parameters:
-
optionsObject-
idStringA unique identifier for the harvest activity (default: 'StripCut').
-
harvestDirectionNumberdirection of the strips in degrees (not working yet) (default: 120).
-
stripWidthNumberwidth of each strip in meters (default: 30).
-
nStripsNumbernumber of strips before the next strip is a "first" strip again (default: 5).
-
harvestIntensitiesNumberarray of harvest intensities for each harvest on the strip (default: [0.7, 0.5, 1]).
-
intervalNumbernumber of years between each harvest activity (default: 5).
-
sendSignalString | Undefinedsignal send out after each activity (default: undefined).
-
constraintStringconstraint, which strips should be harvested e.g. "topHeight>30" (default: "stand.topHeight>30").
-
Returns:
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
Target diameter harvesting system
Parameters:
-
optionsObject-
scheduleObject | Undefinedschedule for the harvest (default: undefined).
-
targetDBHNumbertarget DBH for harvesting (default: 50).
-
timesNumbertime interval between harvests (default: 5).
-
dbhListObjectobject with DBH thresholds per species (default: {}).
-
sendSignalString | Undefinedsignal send out after each activity (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.targetDBH({
targetDBH: 60,
times: 10,
dbhList: { 'fasy': 50, 'abal': 55 }
});
targetDBHforNo3
-
options
Target diameter harvesting system for Norway Spruce (No)
Parameters:
-
optionsObject-
targetDBHNumbertarget DBH for harvesting (default: 50).
-
timesNumbertime interval between harvests (default: 5).
-
dbhListObjectobject with DBH thresholds per species (default: {}).
-
sendSignalString | Undefinedsignal send out after each activity (default: undefined).
-
constraintString | Undefinedconstraint (default: undefined).
-
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.targetDBHforNo3({
targetDBH: 55,
times: 8,
dbhList: { 'fasy': 45, 'abal': 60 }
});
The ABE-library