Installing ESPAM2 Recharge Tools
The ESPAM2 Recharge Tools can be installed on the ArcGIS 10.4 and 10.6 platforms. Below are the pre-requisites for each platform:
- ArcGIS 10.4 & 10.6
- ArcGIS 10.4 or 10.6
- Python 2.7 (included With ArcGIS 10.4/10.6 Distribution)
- Numpy 1.6.1 (included With ArcGIS 10.4/10.6 Distribution)
Check to make sure that the Python path is added to the local computers PATH environment variable. Open a command prompt and type in
python. If you receive a message that looks like
'python' is not recognized as an internal or external command, operable program or batch file. then the PATH is not properly configured. See Configuring Python For Windows on how to configure Python for Windows PATH.
- Go to the ESPA Model website, and then download the
ESPAM-Toolbox zip file that corresponds to your version of ArcMap.
ESPAM-Toolbox file on your computer. The file structure is:
| - Doc (Project Documentation)
| - INSTALL (Install Scripts)
| - Scratch (Temporary workspace)
| - Scripts (ArcGIS Toolbox Scripts)
| - ToolData (Other datasources used by project)
| - ESPAM Utilities.tbx (ArcGIS Toolbox)
| - README.txt (This document)
Navigate to the INSTALL directory and run the batch file
This script will install missing Python dependencies from the Internet. Ensure the computer running this script has Internet connectivity.
On completion of the script, launch ArcCatalog and open ArcToolbox using
In ArcToolbox, right-click the
ArcToolbox root item and click the
Add Toolbox... button.
Browse to the
ESPAM Utilities.tbx file in the
ESPAM-Tools directory. The
ESPAM Utilities toolbox will then be added to ArcToolbox.
Configuring Python For Windows
Test if Python is already installed as a
- Check to make sure that the Python path is added to the local computer's PATH environment variable. Open a command prompt and type
python. If PATH is not properly configured, you receive a message stating:
'python' is not recognized as an internal or external command, operable program or.
Determine where Python is installed on your local computer.
- By default, the ArcGIS installer will install Python on the same drive where ArcGIS was installed. The Python directory will be at the root of the drive in
Python27\ArcGIS10.6. For instance, if ArcGIS was installed on the
C drive, then the path to the Python installation will be
C:\Python27\ArcGIS10.6. The default location is on the
C drive, although ArcGIS can be installed on any drive letter.
PATH variable. The
PATH variable is a way that Windows keeps track of certain programs on the computer. It is necessary when working with Python to have the path to Python listed inside the Windows