Skip to content

ResamplingMethod

Bases: Enum

Resampling methods used in reprojecting rasters.

This enumeration defines the resampling methods supported by Yirgacheffe.

Attributes:

Name Type Description
Average

Computes the average of all non-NODATA contributing pixels

Max

Selects the maximum value among all non-NODATA contributing pixels

Med

Computes the median of all non-NODATA contributing pixels

Min

Selects the minimum value among all non-NODATA contributing pixels

Mode

Selects the most frequently occurring value among contributing pixels

Nearest

Uses nearest-neighbor sampling (no interpolation)

RootMeanSquare

Computes the root mean square of all non-NODATA contributing pixels