UMN-Hydro / GSFLOW-GRASS

Generates inputs for and runs the coupled groundwater-surface water model "GSFLOW"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move HRU centroids to HRU centers

awickert opened this issue · comments

Find the midpoint of the HRU and move the centroid to this location using v.edit.
This could make it easier to pick representative values (e.g., for climate).
One trick will be ensuring that the centroid is within the polygon for more complex shapes! There must be some mathematical approach for that -- like maximizing distance from all boundaries while requiring the point to be within them.