Python Training for the DEVELOP program.
- Download and install Anaconda for Windows 64-Bit (Python 2.7)
- Do not make it your default Python (possible conflicts with other Python versions or if using arcPy).
- Do not add it to your path (can change depending upon use with GDAL).
- Start -> All Programs -> Anaconda 2 (64-Bit) -> Anaconda Prompt
conda install netCDF4 basemap
conda install conda=4.1.11
conda install -c conda-forge gdal
conda install h5py
- Close your Anaconda Prompt to retain the changes and then open again to test installation.
conda install conda=4.1.11
- Exit Anaconda Prompt
conda create -n GDAL python=2.7 gdal -c conda-forge
activate GDAL
To Test GDAL install:
- Download this file
cd
to Downloads directorygdalwarp -t_srs "EPSG:32645" 1400412014302_to_1400412014206.tif test.tif
- Connect arcpy with Anaconda exterior to ArcGIS.