- Install Anaconda 3 v4.3.1:
See https://repo.continuum.io/archive/
- Configure Anaconda to use python 3.4: conda install
python=3.4.0
- Install xmltodict from the command prompt : pip install
xmltodict
- Install rasterio: conda install rasterio
- Install future : pip install future
- pip install spectral
- Install xmltodict from the command prompt : conda install
xmltodict
- Install Sambuca & Sambuca_core:
- Create a directory called "sambuca_project"
- Download Sambuca and Sambuca_core and copy them in
"Sambuca_project"
https://github.com/senbox-org/sen2coral-box
- Open an Anaconda command prompt
- Using the Command Prompt, go into the directory
Sambuca_project/Sambuca_core and type "python setup.py
develop"
- Using the Command Prompt, go into the directory
Sambuca_project/Sambuca and type "python setup.py develop".
- Configure python in SNAP via command line:
snappy-conf [PathToAnacondaInstallationFolder]/python.exe
For example: D:\Tools\Anaconda3\python.exe
- Set environment variables :
- PATH = [Path to Anaconda installation folder]; [Path to
Anaconda installation folder]/bin; [Path to Anaconda installation
folder]/scripts;%PATH%
- PYTHONPATH = [sambucaFolder] ;[sambucaCoreFolder] ;
[snap-pythonFolder]; [Path to Anaconda installation
folder]/DLLs;[[Path to Anaconda installation folder]/Lib; [Path to
Anaconda installation folder]]/Lib/site-packages
- PYTHONHOME = [Path to Anaconda installation folder]
Back to SWAM Algorithm
Specification