xrspatial.mcda.combine.wpm#
- xrspatial.mcda.combine.wpm(criteria: Dataset, weights: dict[str, float], name: str = 'wpm') DataArray[source]#
Weighted Product Model.
Multiplicative combination: per-pixel
product(x_i ^ w_i). More sensitive to low scores than WLC.- Parameters:
criteria (xr.Dataset) – Standardized criterion layers. Values must be strictly positive (
> 0); zero or negative inputs raiseValueErrorbecausex ** wis undefined or collapses to zero for non-integer weights. NaN values propagate through to the output.weights (dict) –
{criterion_name: weight}, must sum to ~1.0.name (str) – Name of the output DataArray.
- Returns:
Composite suitability surface.
- Return type:
xr.DataArray