xrspatial.mcda.combine.owa#
- xrspatial.mcda.combine.owa(criteria: Dataset, criterion_weights: dict[str, float], order_weights: list[float], name: str = 'owa') DataArray[source]#
Ordered Weighted Averaging.
Generalizes WLC by adding position-based order weights that control risk attitude. Order weights are applied to criterion values sorted by magnitude at each pixel, not by criterion identity.
- Parameters:
criteria (xr.Dataset) – Standardized criterion layers (0-1).
criterion_weights (dict) –
{criterion_name: weight}, must sum to ~1.0.order_weights (list of float) – Weights applied by rank position (index 0 = highest value). Must have the same length as the number of criteria and sum to ~1.0.
name (str) – Name of the output DataArray.
- Returns:
Composite suitability surface.
- Return type:
xr.DataArray