mkdir ~/Downloads
cd ~/Downloads/
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
cd
conda config --add channels conda-forge
conda config --set channel_priority strict
git clone https://github.com/exowanderer/MachineLearningBioMassIndicators
cd MachineLearningBioMassIndicators/
conda env create --file mlbmi_environment.yml
conda activate mlbmi
Only necessary is the user wants to request the JP2 files
aws configure
This can be added the ~/.bashrc as well
export STAC_API_URL='https://earth-search.aws.element84.com/v0'
python doeberitzer_mlbmi.py --band_names b04 b08 --start_date 2020-01-01 --end_date 2020-02-01 --cloud_cover 1 --download --verbose
python -m pytest
jupyter lab
If using on EC2, follow the instructions here to access the notebook
jupyter lab --no-browser