Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Repeating the technique you learned earlier in this lab to project vector data, project the PrecipStations_XYTableToPoint layer into the State Plane Texas South Central projection.Save the resulting feature class and name it “PrecipStations_StatePlane”. Remove the original PrecipStations_XYTableToPoint layer from the Contents pane.

...

  1. In the Contents pane, Ctrl-select the PrecipStations_StatePlane and Watersheds_StatePlane layers.
  2. Right-click either selected layer and selectZoom To Layers.
  3. Open Geoprocessing pane by clicking Tools from Analysis tab.
  4. Return to the Geoprocessing pane.
  5. At the top left of the Geoprocessing pane, click the Back button.
  6. In the search box, type "thiessen".
  7. Click the Create Thiessen Polygons toolDouble-click the Analysis toolbox  then the Proximity toolset then the Create Thiessen Polygons tool.

Before populating the variables in this tool, you will change an Environment setting so that the Thiessen polygons are calculated for the entire region that you just zoomed to.

  1. At the top of the Geoprocessing window, click the Environments tab on the right.
  2. Under the 'Processing Extent' section, for 'Extent', select Current Display Extent.
  3. At the top of the Geoprocessing window, return to the Parameters tab on the leftFor Extent, use the drop-down menu to select Current Display Extent and go back to Parameters.
  4. For ‘Input Features’,  drag in the  select the PrecipStations_StatePlane layer.
  5. For ‘Output Feature Class’, rename the feature class from “PrecipStations_StatePlane_Cr” to “PrecipThiessen”.
  6. Use the For ‘Output Fields’ drop-down menu to select All fields.
  7. Ensure your ‘Create Thiessen Polygons’ window appears as shown below and click Run.

    Image AddedImage Removed

You will notice that polygons now fill the entire Map Display indicating which areas are closest to which rain gages.

...

Notice that all of the fields that you originally downloaded from CDO are still included, because you selected to output all fields when running the Create Thiessen Polygons tool. If you do not see all of the same fields, re-run the tool and this time output all fields.

  1. Close the Table PrecipThiessen attribute table.

Intersecting two polygon layers

In order to determine which portions of the resulting polygons overlap with which watersheds, you will now perform an intersect operation between the two layers. The result will allow you to calculate weighted averages of the precipitation in each watershed.

  1. At the top left of the Geoprocessing pane, click the Back button.
  2. In the search box, type "intersect".
  3. Click the Intersect toolIn the Analysis Tools toolbox, click the Overlay toolset then the Intersect tool.
  4. For ‘Input Features’, drag in the select the PrecipThiessen and the Watersheds_StatePlane layers.
  5. For ‘Output Feature Class’, rename it from PrecipThiessen_Intersect to “ThiessenWatershedIntersect”.
  6. Ensure your ‘Intersect’ window appears as shown below and click Run.
    Image Removed

    Image Added

  7. In the Contents pane, remove Remove the PrecipThiessen layer from the Contents pane.
  8. Zoom to the ThiessenWatershedIntersect layer.

...

  1. Open the ThiessenWatershedIntersect layer attribute table.

    Notice that the original 8 watersheds have now been divided into 42 41 sections indicating which areas of each watershed are closest to each rain gage. Let Pk denote the annual precipitation associated with each rain gage and Aik denote the area of the intersected polygon associated with rain gage k and watershed i. The area weighted precipitation associated with each watershed is
    Image Removed
    Image Added
    You will add a new field to the table to calculate the elements of the numerator of the equation.|

  2. Click the Add Field… button on top of the table display.



  3. For ‘Name:’, typeAPProd”.
  4. Use the ‘Type:’, drop-down menu to select Double and click Save on the Fields tab.



  5. Right-click the APProd field name and select Calculate Field.
  6. Using the fields and buttons or by typing, enter “!ANNPRCPHI! * !Shape_Area!”.
  7. Ensure your ‘Field Calculator’ appears as shown below and clickRun.

...