wradlib.zonalstats.ZonalStatsPoly

Contents

wradlib.zonalstats.ZonalStatsPoly#

class wradlib.zonalstats.ZonalStatsPoly(src=None, **kwargs)[source]#

Bases: ZonalStatsBase

Compute weighted average for target polygons based on areal weights.

Parameters:

src (ZonalDataPoly or str) – ZonalDataPoly object or filename pointing to ZonalDataPoly ESRI shapefile containing necessary Zonal Data

Examples

See ZonalStats

check_empty()

mean(vals)

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

var(vals)

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