- We use srtm4 package, which for now needs developer version of libtiff
- So first of all, install libtif on your machine using:
apt-get install libtiff-devfor Ubuntu orbrew install libtifffor (macOS) - Download Ames Stereo Pipeline (v 3.2.0) executables from here). Untar the downloaded file, and add the
binfolder in the untarred folder to your.bashrcprofile. - Clone the
skysat_stereorepo to the location of your choice usinghttps://github.com/uw-cryo/skysat_stereo.git - We recommend using conda for managing packages. Powerusers can have a look at the
environment.ymlfile in the github repository to make an environment using that. - Otherwise, one can simply initiate a conda environment to avoid conflicts using the environment.yml file.
- Run the command
conda env create skysat_stereo/environment.yml. This will create a new environemntskysat_stereocontaining all dependencies. - Each time a new terminal is opened, activate the environment using
conda activate skysat_stereo. - Activate the skysat_stereo environment, and install the repository in editable command:
pip install -e skysat_stereo/ - This will install all library files (the fancy apis), to run the command line calls, these scripts need to added path.
- To use the command line executables located in the
scriptsdirectory ofskysat_stereodirectory, add theskysat_stereo/scripts/path to your.bashrcas well. A guide on how to add paths to your .bashrc can be found here. - If any of this sounds confusing, please refer to this guide which has tricks for installing packages/enivronment using conda for new users.