ABbiodiversity / cure4insect

Custom Reporting for Intactness and Sector Effects
https://abbiodiversity.github.io/cure4insect/
Other
4 stars 2 forks source link

combine_veg_soil default behavour #32

Closed psolymos closed 5 years ago

psolymos commented 5 years ago

N/S weighted average works as ipa * veg + (1 - ipa) * soil in combine_veg_soil without considering if the region is overlap or not.

Proposal: add overlap_only=TRUE as argument: this will combine pAspen raster with a dummy raster defining overlap (value=1), so the average is ipa *dummy * veg + (1 - ipa * dummy) * soil.

psolymos commented 5 years ago

Argument: weighting

Values:

psolymos commented 5 years ago

Only updated the weight layer (inst/extdata/wNorth.tif), different weights can be applied post hoc by w * x$veg + (1 - w) * x$soil.