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:
-
options
Object-
id
StringA unique identifier for the harvest activity (default: 'Clearcut').
-
schedule
Objectschedule of the harvest (default: { minRel: 0.8, optRel: 1, maxRel: 1.2, force: true }).
-
preferenceFunction
Stringranking string for filtering trees, e.g. 'dbh > 10' (default: 'dbh > 0').
-
finalHarvest
String | Undefinedboolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).
-
sendSignal
String | Undefinedsignal send out after activity (default: undefined).
-
constraint
String | 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:
-
options
Object-
targetDBH
Numbertarget DBH for harvesting (default: 80).
-
nStandards
Numbernumber of remaining trees per hectare (default: 30).
-
interval
Numbertime interval between harvests (default: 20).
-
preferenceFunction
Stringranking string for selecting standards, e.g. 'dbh+100*species=quro' (default: 'dbh').
-
sendSignal
String | Undefinedsignal send out after each activity (default: undefined).
-
constraint
String | 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:
-
options
Object-
steps
Numbernumber of consecutive enlargement steps after start (default: 2).
-
interval
Numbernumber of years between each step (default: 10).
-
growBy
Numbernumber of "rings" of 10m cells to grow each step (default: 1).
-
finalHarvest
String | Undefinedboolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).
-
harvestAll
String | Undefinedindicate if all trees outside the femel should be removed after final harvest (default: true).
-
internalSignal
String | Undefinedinternal signal to start each femel harvest step (default: 'harvest_femel').
-
sendSignal
String | Undefinedsignal send out after final femel harvest activity (default: undefined).
-
schedule
Object | Undefinedschedule object (default: undefined).
-
constraint
String | 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:
-
options
Object-
id
StringA unique identifier for the harvest activity (default: 'HarvestAllBigTrees').
-
schedule
Objectschedule of the harvest (default: {absolute: true, opt: 3}).
-
preferenceFunction
Stringranking string for filtering trees, e.g. 'height > 10' (default: 'height > 10').
-
sendSignal
String | Undefinedsignal send out after activity (default: undefined).
-
constraint
String | 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:
-
options
Object-
id
StringA unique identifier for the salvage activity (default: 'Salvage').
-
schedule
Objectdefault is simply repeating operation, but can be overwritten.
-
salvageCondition
Expression | Undefinedexpression that evaluates for each disturbed tree whether to salvage or not. If empty, no salvaging of trees takes place. Default: undefined.
-
thresholdReset
NumberValue 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
,onClear
andsendSignal
. Default: 0.5 -
clearAll
Boolean | UndefinedIf a stand is reset, a simple clearcut is executed when
clearAll
istrue
. Default: false -
onClear
Function | UndefinedIf a stand is reset, this custom function is executed (if provided). Default: undefined
-
thresholdIgnoreDamage
Numberthreshold m3 volume/ha. if disturbance below, no further tests are executed. Default: 50
-
sendSignal
String | 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:
-
options
Object-
id
StringA unique identifier for the harvest activity (default: 'Shelterwood').
-
schedule
Objectschedule of the harvest (default: { minRel: 0.7, optRel: 0.8, maxRel: 0.9, force: true }).
-
nTrees
NumberNumber of seed trees to select (default: 40).
-
nCompetitors
NumberNumber of other trees to select - should be all remaining trees and thus really high (default: 1000).
-
speciesSelectivity
Objectspecies selectivity object (default: {}).
-
preferenceFunction
Stringranking string for selecting seed trees, e.g. 'height' (default: 'height').
-
interval
Numberinterval between repeated harvests (default: 5).
-
times
Numbernumber of repeated harvests (default: 3).
-
finalHarvest
String | Undefinedboolean variable to indeicate, if the activity should be interpreted as final harvest (default: true).
-
internalSignal
String | Undefinedinternal signal to start each shelterwood activity (default: 'Shelterwood_remove').
-
sendSignal
String | Undefinedsignal send out after last shelterwood activity (default: undefined).
-
constraint
String | 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:
-
options
Object-
id
StringA unique identifier for the harvest activity (default: 'StripCut').
-
harvestDirection
Numberdirection of the strips in degrees (not working yet) (default: 120).
-
stripWidth
Numberwidth of each strip in meters (default: 30).
-
nStrips
Numbernumber of strips before the next strip is a "first" strip again (default: 5).
-
harvestIntensities
Numberarray of harvest intensities for each harvest on the strip (default: [0.7, 0.5, 1]).
-
interval
Numbernumber of years between each harvest activity (default: 5).
-
sendSignal
String | Undefinedsignal send out after each activity (default: undefined).
-
constraint
Stringconstraint, 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:
-
options
Object-
schedule
Object | Undefinedschedule for the harvest (default: undefined).
-
targetDBH
Numbertarget DBH for harvesting (default: 50).
-
times
Numbertime interval between harvests (default: 5).
-
dbhList
Objectobject with DBH thresholds per species (default: {}).
-
sendSignal
String | Undefinedsignal send out after each activity (default: undefined).
-
constraint
String | 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:
-
options
Object-
targetDBH
Numbertarget DBH for harvesting (default: 50).
-
times
Numbertime interval between harvests (default: 5).
-
dbhList
Objectobject with DBH thresholds per species (default: {}).
-
sendSignal
String | Undefinedsignal send out after each activity (default: undefined).
-
constraint
String | Undefinedconstraint (default: undefined).
-
Returns:
act - An object describing the harvest activity
Example:
lib.harvest.targetDBHforNo3({
targetDBH: 55,
times: 8,
dbhList: { 'fasy': 45, 'abal': 60 }
});