Fill_polygon_tool.pyt - Read me.

Author: Matthew Morriss
Email: mmorriss@usgs.gov
Date: 9/10/2020

Purpose:
This Arc Toolbox was written out an identified need in the WBD working community to identify areas that have been filled in an elevation Raster and then calculate the depth of fill and create a polygon shapefile of areas that were filled. After the tool has been run, the fill polygon files will have an area column attached to them. The user can then query out those shapes that are below an area threshold of interest. This gives more control to the end user to remove noise from the dataset (single or <10 pixel cells).



Requirements:
Arcmap/ArcPro

INPUTS:
1) An elevation raster dataset (projected with Meters as linear unit)

OUTPUTS:
1) Filled Raster
2) Filled Depth Raster
3) Filled Areas Polygon Shapefile

***** TO RUN ****

ArcPro:
1) Navigate to the "Insert" Pane of the navigator
2) click "Toolbox"
3) select "Add Toolbox"
4) Navigate to the folder containing the Fill_polygon_tool.pyt
5) Select Fill_polygon_tool.pyt
6) Open the tool in the Catalog navigator pane (bottom right) 
7) A double click should open it and get you ready for the inputs and outputs


ArcMap
1) Open the ArcCatalog pane on the right side of the window
2) Navigate to the folder containing Fill_polygon_tool.pyt
3) Click the "+" next to the tool
4) Double click on the script below the tool. This should then open a window ready for inputs and outputs.

