Problem 57635. Compute the average precipitation for a watershed using the Thiessen polygon method
Several methods are available for estimating the average precipitation for a watershed from a few observations at rain gauges. The Thiessen polygon method involves forming polygons around the gauges, assigning the gauge’s observed precipitation to each point in the polygon, and computing the weighted average precipitation using the areas of the polygons as weights.
The polygons can be determined by connecting the gauges with lines, drawing the perpendicular bisectors of the connecting lines, and finding the intersections of the bisectors to form the polygons. An example is shown below.
Write a function that takes the precipitation amounts and the (x, y) coordinates of the boundary and the gauges and compute the average precipitation for the watershed.
Solution CommentsShow comments
Problem Recent Solvers4