wradlib.zonalstats.ZonalDataPoint.get_source_index

ZonalDataPoint.get_source_index(idx)

Returns source indices referring to target polygon idx

Parameters:idx (int) – index of target polygon
Returns:array (numpy.ndarray) – indices