cd ~/tools
git clone https://github.com/insarlab/MiaplPy.git
cd ~/tools/MiaplPy
mamba env create --file conda-env.yml
or if you have an existing environment:
mamba env update --name my-existing-env --file conda-env.yml
conda activate miaplpy-env
python -m pip install .
4. Install SNAPHU
export TOOLS_DIR=~/tools
cd ~/tools;
wget --no-check-certificate https://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/snaphu-v2.0.5.tar.gz
tar -xvf snaphu-v2.0.5.tar.gz
mv snaphu-v2.0.5 snaphu;
rm snaphu-v2.0.5.tar.gz;
sed -i 's/\/usr\/local/$(TOOLS_DIR)\/snaphu/g' snaphu/src/Makefile
cd snaphu/src; make
export PATH=${TOOLS_DIR}/snaphu/bin:${PATH}
Please read notes on PyAPS from GitHub/MintPy