Skip to content

Scripts to calculate glacier mass balance as part of the IACS RAGMAC Intercomparison experiment.

License

Notifications You must be signed in to change notification settings

adehecq/ragmac_xdem

Repository files navigation

ragmac_xdem

Build Status codecov License:MIT

Scripts to calculate glacier mass balance as part of the IACS RAGMAC Intercomparison experiment.

Get started

Install package

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).

Download data in ./data/raw folder (~23 GB)

./scripts/download_data.sh

Process data for experiment 2 - WIP

python ./scripts/main_experiment2.py

Process data for experiment 1 - WIP

python scripts/main_experiment1.py CH_Aletschgletscher
python scripts/main_experiment1.py AT_Hintereisferner


Project based on the cookiecutter science project template.

About

Scripts to calculate glacier mass balance as part of the IACS RAGMAC Intercomparison experiment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published