how to generate theissen weights example 8 – supplement
TRANSCRIPT
![Page 1: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/1.jpg)
How to Generate Theissen Weights
Example 8 – Supplement
![Page 2: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/2.jpg)
Theissen Weights
• Theissen polygons represent nearest neighbor areas
• If one knows gage locations in an XY coordinate system and one has a grid of points that uniformily sample a watershed area, then the fraction of points nearest a particular gage divided by the total points representing the wateeshed is a good approximation of the Theissen weight.
![Page 3: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/3.jpg)
Using Freeware
• Concept is to use freeware to generate the grid of points on the watershed, then use Excel to compute the fraction of points assigned to each gage.
• Obviously if you have real tools to do this job (ArcGIG, AutoCAD, etc.) then the process here is a waste of time.
• If you are software poor, then this method will keep you in the race!
![Page 4: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/4.jpg)
G3DATA
• Software you will need– G3DATA a freeware utility to find XY
coordinates on a PDF image.• SURFER, AutoCAD, or any digitizing software
would also work just fine.
– Excel to compute the distances from points in G3DATA and calculate the approximate weights.
![Page 5: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/5.jpg)
Example 8S: Find Theissen Weights for Watershed
• Example – Suppose the
circles represent rain gages
– What weights to assign to each gage?
![Page 6: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/6.jpg)
Theissen Polygons
• What weights to assign to each gage?
• Theissen polygons would produce areas close to those shown.– How about a
semi -automated method?
![Page 7: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/7.jpg)
Generate Points on the Watershed
• Step 1– Use G3DATA to
generate XY coordinates for the watershed boundary.
– Record separately the gage locations
![Page 8: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/8.jpg)
Start G3DATA
• Step 1:G3DATA– Set XY limits– Get gage
locations, read from “processing information” and enter into an Excel spreadsheet.
![Page 9: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/9.jpg)
Record Gage Locations
• Step 1:G3DATA– Set XY limits– Get gage
locations, read from “processing information” and enter into an Excel spreadsheet.
![Page 10: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/10.jpg)
Generate Boundary
• Step 2:G3DATA– Get the boundary XY
coordinates– Run around boundary
in clockwise direction– Start at outlet (for
consistency)
![Page 11: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/11.jpg)
Populate Interior Points
• Step 2:G3DATA– Now mark a few
interior points, try to distribute across the interior, use about 100 points or so.
![Page 12: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/12.jpg)
Save the Points, Check File
• Step 3: Prepare for Distance Calculations– Here is the
G3DATA file.– All points are XY
coordinates within the watershed.
![Page 13: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/13.jpg)
Points into Excel
• Step 4: Paste into Excel– Set up a
distance table– Find distances
from watershed points to each gage
– Min distance chooses gage
![Page 14: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/14.jpg)
Results
• So the approximate Theissen weights for this example are:– Gage 1 = 35%– Gage 2 = 13%– Gage 3 = 52 %
• So as a validity check will use the polygons.
![Page 15: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/15.jpg)
Conventional Polygons
• Polygon approach– In practice the polygons can get hard to draw,
especially as gages are added and deleted.– Keeping the points in a file is pretty trivial.– Point here is to validate the method
![Page 16: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/16.jpg)
Drawing Rules
• Step 1: Draw the polygons– Join each gage by a line segment– Mark the segment bisector– Pass segments through the bisectors to
isolate parts of the area that are closest to a gage.
![Page 17: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/17.jpg)
Three Gage Assignments
• Gage 1 = Red
• Gage 2 = Blue
• Gage 3 = Green
![Page 18: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/18.jpg)
Find Polygon Areas
• Import into Acrobat and measure the areas of each polygon.
• Unit conversion unnecessary – after ratios.
![Page 19: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/19.jpg)
Compute Gage Area Ratios
• Results in Acrobat Pro “inch” units– Gage 1 = 0.98 sq. in.– Gage 2 = 0.35 sq. in.– Gage 3 = 1.40 sq. in.
• Now compute gage weights:– Gage 1 = 0.98/(0.98+1.40+0.35)= 0.358– Gage 2 = 0.35/(0.98+1.40+0.35)= 0.128– Gage 3 = 1.40/(0.98+1.40+0.35)= 0.513
![Page 20: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/20.jpg)
Report Results
• Convert to percentages (and rounding)
• Now compute gage weights:– Gage 1 = 36%– Gage 2 = 13%– Gage 3 = 51%
• These results are essentially the same!
![Page 21: How to Generate Theissen Weights Example 8 – Supplement](https://reader035.vdocument.in/reader035/viewer/2022062217/56649f225503460f94c3a800/html5/thumbnails/21.jpg)
Summary
• Advantage comes when gage network changes.
• If using Theissen polygons, have to redraw and re-measure areas– Not particularly hard, but complex Theissen
polygon systems can result – drawing them is challenging.
• If using the shortest distance method, simply enter the new gage locations.