Scripts to calculate glacier mass balance as part of the IACS RAGMAC Intercomparison experiment.
Note: To be speed-up the environment setup, you may use mamba. Simply run conda install mamba -n base -c conda-forge; conda activate base
, then replace all conda
commands by mamba
.
git clone git@github.com:adehecq/ragmac_xdem.git ragmac_xdem
cd ragmac_xdem/
conda env create -f environment.yml # Optional, mostly xdem need to be installed
conda activate ragmac_xdem # Optional
pip install -e .
To update to the latest version of geoutils/xdem (this may not be needed on first install):
pip install git+https://github.com/GlacioHack/GeoUtils.git git+https://github.com/GlacioHack/xdem.git --no-deps --force-reinstall
or alternatively, you may use your own fork of geoutils/xdem if edits to these codes is needed (see instructions).
./scripts/download_data.sh
python ./scripts/main_experiment2.py
python scripts/main_experiment1.py CH_Aletschgletscher
python scripts/main_experiment1.py AT_Hintereisferner
Project based on the cookiecutter science project template.