wradlib.zonalstats.ZonalStatsPoly.mean

ZonalStatsPoly.mean(vals)

Evaluate (weighted) zonal mean for values given at the source points.

Parameters:vals (numpy.ndarray) – 1-d array of type float with the same length as self.src Values at the source element for which to compute zonal statistics