Versions Compared

Key

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

...

  1. Right-click the PrecipStations_Layer layer and select Data > Export Features.

    Because you last exported a text file outside of your geodatabase, notice the output feature class is now set to a shapefile in your Lab 2 folder, rather than a feature class within your ElevationRainfall geodatabase.

  2. Next to ‘Output feature class’, click the Browse button.

 

  1. Navigate to the  to the HydrologyLab geodatabase geodatabase.
  2. Double-click your  your HydrologyLab geodatabase  geodatabase to save your feature class in it.
  3. For ‘Name:’, type “PrecipStations_Features” and and click Save Save.

...


  1. Image Added
  2. Click Run.

    Since you are now using a permanent feature class, you may remove your temporary Events layer and the corresponding Excel table.

  3. Right-click the  the PrecipStations_Layer layer and  layer and select Remove Remove.
  4. Right-click the PrecipStations  the PrecipStations table and and select Remove Remove.

Projecting vector data

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

...

  1. In the Table of Contents, Ctrl-select the PrecipStations_StatePlane and Watersheds_StatePlane layers.
  2. Right-click either selected layer and select Zoom To Layers.
  3. Open Geoprocessing pane by clicking Tools from Analysis tab.
  4. Double-click the Analysis toolbox à Proximity toolset à Create Thiessen Polygons tool.

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

  5. At the top of the window, click the  the Environments button on the right.
  6. For Extent, use the drop-down menu to to select Current  Current Display Extent and  go back to Parameters Parameters.
  7. For ‘Input Features’, drag in the  in the PrecipStations_StatePlane layer layer.
  8. For ‘Output Feature Class’, rename the  the feature class from “PrecipStations_StatePlane_Cr” to “PrecipThiessen”.
  9. Use the ‘Output Fields’ drop-down menu to to select All  All fields.

...

  1. Ensure your ‘Create Thiessen Polygons’ window appears as shown below and click Run.

...

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

...

  1. Open

...

  1.  the PrecipThiessen

...

  1.  layer attribute table.

    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

...

  1.  the Table.

Intersecting two polygon layers

...

  1. In the Analysis Tools toolbox, click the Overlay toolset à Intersect tool.
  2. For ‘Input Features’, drag in the PrecipThiessen and the Watersheds_StatePlane layers.
  3. For ‘Output Feature Class’, rename it from “PrecipThiessen_Intersect” to “ThiessenWatershedIntersect”.
  4. Ensure your ‘Intersect’ window appears as shown below and click Run.

...


  1. Image Added
  2. Remove the PrecipThiessen layer from the Table of Contents.
  3. Zoom to the ThiessenWatershedIntersect layer.

    The resulting layer integrates all of the boundaries from both the Thiessen polygons and the watersheds, limited to the extent of their overlap.

  4. Open the ThiessenWatershedIntersect layer attribute table.

    Notice that the original 8 watersheds have now been divided into 42 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

...


  1. Image Added
    You will add a new field to the table to calculate the elements of the numerator of the equation.|

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

...


  1. Image Added

  2. For ‘Name:’, type “APProd”.

...

  1. Use the ‘Type:’, drop-down menu to select Double and click Save on the Fields tab.

...


  1. Image Added

...

  1. Right-click

...

  1.  the APProd

...

  1.  field name

...

  1. and select

...

  1.  Calculate Field.

...

  1. Using the fields and buttons or by typing, enter

...

  1.  “!ANNPRCPHI! * !Shape_Area!”.

...

  1. Ensure your ‘Field Calculator’ appears as shown below

...

  1. and click

...

  1.  Run.

...

  1. 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

...

  1.  the HU_10_NAME

...

  1.  field name

...

  1. and select

...

  1.  Summarize….

...

  1. For statistics fields, use the drop-down menu to select

...

  1. the Shape_Area

...

  1.  field and select

...

  1.  Sum.

...

  1. Select

...

  1.  the APProd

...

  1.  field and select

...

  1.  Sum.

...

  1. For ‘Output Table’, rename

...

  1.  the table from “ThiessenWatershedInteract_St” to “WatershedPrecip”.

...

  1. Ensure your ‘Summarize’ window appears as shown below

...

  1. and click

...

  1.  Run.

...


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

...


  1. Open the WatershedPrecip table.

Repeating the techniques you just learned, add a new field to the WatershedPrecip table called “Precip” of type double. Use the field calculator to evaluate [Sum_APProd]/[Sum_Shape_Area]. The result is the precipitation for each subwatershed. Export the table to Excel and format it. Also include the mean annual precipitation over the entire watershed.

...

  1. Turn off the ThiessenWatershedIntersect layer.
  2. Right-click the Watersheds_StatePlane layer and select Zoom to Layer.
  3. Open Toolbox.
  4. In the Spatial Analyst Tools toolbox, click the Interpolation toolset à Spline tool.
  5. On the top of the window, click the Environments.
  6. For Extent, use the drop-down menu to select Current Display Extent.
  7. Use the ‘Mask’ drop-down menu to select the Watersheds_StatePlane layer.
  8. Go back to Parameters. For ‘Input point features’, drag in the PrecipStations_StatePlane layer.
  9. Use the ‘Z value field’ drop-down menu to select the ANNPRCPHI field that contains the values you wish to interpolate.

...

  1. For ‘Output raster’, rename the exported raster from “Spline_Preci1” to “AnnPrecip”.

...

  1. Use the ‘Spline type’ drop-down menu to select TENSION.

...

  1.  Ensure your ‘Spline’ window appears as shown below, and click Run.

...

  1. 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 polygons back on to give them a hollow fill. Symbolize the rain gages as you desire.

 

 

FOR MAP LAYOUT TO BE TURNED IN

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

 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.

...