Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. In the Analysis tab, click the Tools button to open the Geoprocessing pane.
  2. In the 'Find Tools' search box, type "project".
  3. Click the Project tool.
  4. For ‘Input Dataset or Feature Class’, use the drop-down menu to select the Watersheds layer.
  5. For ‘Output Dataset or Feature Class’, renameWatersheds_Project” to “Watersheds_StatePlane”, since that is the name of the projection you will be using.
  6. Next to the ‘Output Coordinate System’ box, click the Select Coordinate System button.
  7. Double-click Projected Coordinate Systems → State PlaneNAD 1983 (US Feet).
  8. Select NAD 1983 StatePlane Texas S Central FIPS 4204 (US Feet) and click OK.

...

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. For Extent, use the drop-down menu to select Current Display Extent and go back to Parameters.
  3. Under the 'Processing Extent' section, for 'Extent', select Current Display Extent.
  4. At the top of the Geoprocessing window, return to the Parameters tab on the left.
  5. For ‘Input Features’, select the For ‘Input Features’, drag in the PrecipStations_StatePlane layer.
  6. For ‘Output Feature Class’, rename the feature class from “PrecipStations_StatePlane_Cr” to “PrecipThiessen”.
  7. Use the For ‘Output Fields’ drop-down menu to select All fields.
  8. 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. Remove In the PrecipThiessen layer from the Contents pane, remove the PrecipThiessen layer.
  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. At the top left of the attribute table, clickClick the Add Field… button on top , which will open up the Fields view of the table display.



  3. For ‘Name:’, type At the bottom of the Fields table, rename the new field from Field to APProd”.
  4. Use the ‘Type:’, ‘Data Type’ drop-down menu to select Double and click.
  5. On the Ribbon, Save on the Fields tabclick the Save button.



  6. Close the Fields view of the table.
  7. Scroll to the far right of the ThiessenWatershedIntersect table.
  8. Right-click the APProd field name and select Calculate Field.
  9. Using the fields and buttons or by typing, enter “!ANNPRCPHI! * !Shape_Area!”.
  10. In the 'Fields' list, double-click ANNPRCP_HI.
  11. Underneath the 'Helpers' list, click the * button.
  12. In the 'Fields' list, double-click Shape_Area.
  13. Ensure your ‘Calculate Field’ window Ensure your ‘Field Calculator’ appears as shown below and clickRun OK.Image Removed

    Image Added

The APProd field now contains the numerator values in the equation. You are now ready to summarize the calculated statistics by watershed.

  1. Right-click the HU_10_NAME field name and select Summarize…Summarize.

  2. For ‘Output Table’, rename the table from ThiessenWatershedInteract_S to “WatershedPrecip.
  3. For statistics fields'Statistics Field(s)', use the drop-down menu to select the Shape_Area field and select Sum.

  4. Select the APProd field and select Sum.
  5. For ‘Output Table’, rename the table from ThiessenWatershedInteract_St to “WatershedPrecip”.
  6.  'Field' and the Sum 'Statistic Type'.

  7. For the second statistics field, select the APProd 'Field' and the Sum 'Statistic Type'.
  8. Ensure the 'Case field' is the HU_10_NAME field, which will summarize the statistics by watershed.
  9. Ensure your 'Summary Statistics" window Ensure your Geoprocessing pane appears as shown below and click RunOK.
    Image Removed
    Image Added

The resulting table gives the numerator and denominator in the equation for each watershed.

...

Now you will calculate precipitation for each watershed using a different interpolation method.

  1. Turn off Close the WatershedPrecip table and the ThiessenWatershedIntersect layer attribute table.
  2. Turn off the ThiessenWatershedIntersect layer.
  3. Right-click the Watersheds_StatePlane layer and select Zoom to Layer.
  4. Open ToolboxAt the top left of the Geoprocessing pane, click the Back button.
  5. In the search box, type "spline".
  6. Click the Spline (Spatial Analyst Tools toolbox, click the Interpolation toolset then the Spline ) tool.
  7. On At the top of the Geoprocessing window, click the Environments tab. the Environments tab on the right.
  8. Under the 'Processing Extent' section, for 'Extent', select For Extent, use the drop-down menu to select Current Display Extent.
  9. Use the ‘Mask’ drop-down menu to select the Watersheds_StatePlane layer.
  10. Under the 'Raster Analysis' section, for ‘Mask', select the Watersheds_StatePlane layer, which will clip the resulting raster.
  11. At the top of the Geoprocessing window, return to the Parameters tab on the left.
  12. Go back to Parameters. For ‘Input point features’, drag in the select the PrecipStations_StatePlane layer.
  13. Use the For ‘Z value field’ drop-down menu to select the ANNPRCPHI ANNPRCP_HI field that contains the values you wish to interpolate.
  14. For ‘Output raster’, rename the exported raster from Spline_Preci1 to “AnnPrecip”.
  15. Use the For ‘Spline type’ drop-down menu to select TENSIONselect Tension.
  16.  Ensure your Geoprocessing pane appears as shown below, and click Run.
    Image Removed
    Image Added

The result is a solid surface estimating the rainfall at each cell, based on the data collected at each rain gage. Turn the Thiessen ThiessenWatershedIntersect polygons back on to and give them a hollow fill. Also symbolize the Watersheds_StatePlane layer and put it on top of the Thiessen layer. Symbolize the rain gages as you desire.

...

Create an 8.5 x 11 layout showing the Thiessen polygon boundaries, interpolated rainfall layer and rain gage locations.

TOP MAP WAS THE ORIGINAL MAP, BOTTOM IS MY SCREENSHOT WHICH HAS SOMEWHAT DIFFERENT DATA. NOT SURE IF IT MATTERS BUT THOUGHT IT WORTHWHILE TO AT LEAST CHECK

Image Removed

Image Removed

Image Added

Using the techniques you learned earlier in this lab, use the " Zonal Statistics as Table " tool to export a table containing the total annual rainfall for each watershed, as calculated from the AnnPrecip spline interpolation layer and format the table in Excel.

...