Welcome to MATILDA-Online, the online companion to the MATILDA glacio-hydrological modeling framework. This repository hosts the extended MATILDA workflow in form of a Jupyter Book. Designed for researchers, practitioners, and students, this workflow guides users from data acquisition to the analysis of climate change impacts on glacierized catchments.
📚 Explore the Jupyter Book on the MATILDA-Online Website.
Note: You are currently using the beta version (v2.x-beta) of MATILDA-Online. This version is designed to test a Google-hosted web service that handles requests to Google Earth Engine. During the current peer-review phase, access requires an API key provided by the developers.
If you would prefer to use the stable classic workflow (v1.0.2) with your own Google Cloud project, please use the release-1.x branch or follow the links below:
💾 Repository
🚀 Binder
You can run most of the workflow in an online environment hosted on mybinder.org. However, model calibration is computationally intensive and can be slow in Binder because only limited computing resources are available. For more comprehensive calibration runs, we recommend downloading the notebooks and running them locally on a machine with multiple CPU cores.
MATILDA-Online is designed to be run in JupyterLab.
Before you begin, make sure the following are installed on your computer:
- Git (Install Git for Windows)
- Conda (we recommend Miniconda)
Open a terminal.
- On macOS / Linux, use your default terminal.
- On Windows, use Anaconda Prompt (recommended), PowerShell, or Git Bash.
Then run:
git clone https://github.com/phiscu/matilda_online.git
cd matilda_onlineCreate a new conda environment from the provided environment.yml file:
conda env create -f binder/environment.yml -n matilda_onlineThis may take a few minutes the first time.
Activate the new environment:
conda activate matilda_onlineIf conda activate does not work in Windows PowerShell, open Anaconda Prompt and run the same command there.
If JupyterLab is not already included in your environment, install it with:
conda install -c conda-forge jupyterlabFrom the root folder of the repository, start JupyterLab:
jupyter labJupyterLab should open automatically in your browser. If it does not, copy the local URL shown in the terminal and paste it into your browser.
In JupyterLab, navigate to the cloned matilda_online folder and open the notebooks in order, starting with the introduction notebook.
- We recommend using Anaconda Prompt if you are unfamiliar with the command line.
- If
gitis not recognized, make sure Git is installed and available in your system PATH. - If
jupyter labis not recognized, check that your conda environment is activated before launching it.
If the environment.yml file changes in a future version of the repository, update the environment with:
conda env update -f binder/environment.yml -n matilda_online --pruneThe MATILDA-Online workflow is organized into a series of interactive Jupyter notebooks. These cover all key steps of modeling water resources in glacierized catchments, including catchment delineation, data acquisition, model calibration, and scenario analysis. Below is a detailed flowchart of the workflow:
The core routines of MATILDA, including the temperature-index melt model and HBV hydrological model, are maintained in the MATILDA repository. The MATILDA-Online workflow integrates these routines into a streamlined educational framework.
This project is licensed under the MIT License. See the LICENSE file for details.
