DEQ Tank Risk Assessment Tool
This project is for an ArcGIS Pro python tool that calculates a relationship between facilities with underground storage tanks with a variety of statewide environmental features.
Usage
- Go to releases tab and download
tank_risk_tool.*.zip
from the assets
- Unzip the tool and add it to your pro project from the catalog pane
- Add the following layers to your map from the Open SGID or ArcGIS Online. Layers that are not visible will not be included in the analysis.
- Facility PST
- Aquifer Recharge Discharge Areas
- Shallow Ground Water
- SurfaceWaterZones Feature name must be exact and available in a local file geodatabase.
- Streams NHD
- DWQ Assessment Units
- UT_Wetlands Feature name must be exact and available in a local file geodatabase.
- Census Tracts 2020
- GroundWaterZones
- Points of Diversion
- Soils
- Lakes NHD
- Run the tool with the parameters
- Select the Facility PST layer
- Select the map name that has the risk factor layers
- Choose the output folder where the risk values are stored
Prerequisites
- An advanced license level
Development
- Create a conda environment
conda create -n tank arcpy-base && activate tank
- Add some packages
pip install -r requirements.txt
- Create a TaskRisk ProProject (or use the one provided) and have a blank RiskMap
- With the aprx closed, add data to the map
python src\preprocess\preprocessing.py
- Assert that the risk map coordinate system is UTM Zone 12 North
- Either symlinkn or duplicate the
tank_risk_tool.pyt
to tank_risk.py
so the cli can import it
- Run the cli