wradlib.zonalstats.ZonalStatsPoly#
- class wradlib.zonalstats.ZonalStatsPoly(src=None, **kwargs)[source]#
Compute weighted average for target polygons based on areal weights.
- Parameters:
src (
ZonalDataPolyorstr) – ZonalDataPoly object or filename pointing to ZonalDataPoly ESRI shapefile containing necessary Zonal Data
Examples
See ZonalStats
Methods
__init__([src])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.
Attributes
ixwzdata