weight_conductance: Weight a windrose conductance raster

View source: R/weight_conductance.R

weight_conductanceR Documentation

Weight a windrose conductance raster

Description

This function adjusts the conductance values in a windrose raster, multiplying them by the values of a secondary raster data set w, which can be used to integrate non-wind factors into a wind connectivity analysis.

Usage

weight_conductance(rose, w)

Arguments

rose

A raster stack created using windrose_rasters().

w

A raster layer with values to be multiplied by rose. This layer must have the same spatial properties as the windrose raster.

Details

As a hypothetical example, to incorporate a decreased but nonzero likelihood of dispersal over inhospitable areas, w could be a raster layer with 0.1 indicating water or mountains and 1.0 elsewhere. This would have the effect of down-weighting conductance over water or mountains by 90

Value

A version of rose, with conductance values weighted by w.


matthewkling/windscape documentation built on Sept. 26, 2024, 4:22 p.m.