Welcome to MATILDA-Online#
MATILDA is a notebook-based workflow for modeling water resources in glacierized catchments.
π§ How this works#
MATILDA is a series of Jupyter notebooks. They contain a mix of executable code and descriptive text. There is one notebook for each step of the modeling workflow:
Notebook 1 β Catchment delineation and static data acquisition
Notebook 2 β ERA5-Land forcing data
Notebook 3 β CMIP6 climate projection data
Notebook 4 β MATILDA model setup and calibration
Notebook 5 β Scenario simulations
Notebook 6 β Analysis and visualization

π How to launch the tool#
You can run the notebooks either online or on your local computer. Note that the online environment has only limited computing capacities!
Choose one way to start from the icons on the left:
Launch online: click the rocket icon (π) above and start the online environment called Binder.
Run locally: click the GitHub icon (
), open the repository, and follow the setup steps in the manual.
β What you need before continuing#
Much of the data acquisition will be done using the Google Earth Engine (from here on called GEE). So before we can start, we need to register with GEE and link it to MATILDA.
To run MATILDA with the example data, you need:
a valid Google Cloud project ID
permission to use that project
To run MATILDA with your own data, you additionally need:
discharge observations (in the same format as the example)
gauging station coordinates
π By the end of this Notebook you will have β¦#
understand how the MATILDA workflow is organized
prepared Google Cloud / Earth Engine access
found or created a valid Cloud project
authorized access to this project
prepared the
config.ini
After that, continue with Notebook 1.
βοΈ Google Cloud project: where to start#
MATILDA currently requires each user to have her or his own Google Cloud project ID.
If you already used Google Earth Engine or another Google Cloud service
#
β‘οΈ Continue with the Authorization tutorial
If you are new to these services#
β‘οΈ Continue with signing up right below β¬οΈ
π Signing up for Google Earth Engine (GEE)#
To start visit the Earth Engine website and click on Get Started in the top right corner.

Log into your Google account or create one using any email adress.

Once you signed in, click on Continue to agree that your e-mail address is used by the Earth Engine Code Editor.

Next, click Allow to grant the Code Editor the required permissions.

5. A default cloud project called βMy Projectβ is created for you. If you click on the project name in the tool bar (1)β¦

β¦ you will see a pop-up window where you can add, delete or rename cloud projects. You can also see the cloud ID of your project (here refined_grammar_100722). You will need your ID later to tell MATILDA-Online which cloud project to use.

Close the pop-up window, to continue to register your project as either commercial or non-commercial. In the current setup, MATILDA-Online is designed as a non-commercial tool. Therefore, we only describe the process for scientific or educational applications. To do so, click on Get started in the lower box (2).
On the following page click Get started once again.

Complete the questionnaire with your background and institution and click Register to submit it. A free community plan is sufficient for using the tool.

Finally, enable the Earth Engine API and wait for the process to finish.

When you see the green confirmation box, you have sucessfully registered a Google Cloud Project and can continue to use MATILDA-Online π.

βοΈ The config.ini file#
This file contains a list of essential information for the workflow and allows customization. If you want to try MATILDA-Online with the example dataset, you only need to edit the entry CLOUD_PROJECT and change it to your project ID (check the Authorization tutorial). If you want to use your own data, replace the file with the discharge observation in the input/ folder and adapt the reference coordinates accordingly.
The first section
[FILE_SETTINGS]allows you to edit paths and file names for in- and outputs. This can especially be useful if you model multiple catchments in the same copy of the repository.In the
[CONFIG]section you can β¦β¦ specify your Google Cloud project. This information is mandatory to use the GEE in the workflow. The current project
matilda-eduis set up for demonstration purposes and is not publicly accessible.β¦ specify your reference coordinates (usually your gauging station location) and select the calibration period. The latter should cover your observation period plus a few years before as a spin-off.
β¦ specify the calibration period of the hydrlogical model depending on your data.
β¦ change the digital elevation model used.
β¦ choose download option from GEE (direct download or via
xarray).β¦ choose whether to create scenario-based projections or just model the past.
β¦ disable the generation of live maps.
β¦ configure the style of output figures. More information about the available styles can be found in the SciencePlots manual.
β¦ choose between a faster (
.pickle) and a more compact (.parquet) format for intermediate files.β¦ set the number of cores available for computation. If you are in a binder, leave this at 1.
β¦ decide whether you want to store your output folder in a
.zipfile at the end of every Notebook. This is useful when you work online and want to download your (intermediate) results.
Β
3. The last section [MEDIA_SERVER] holds credentials for the file access on a file repository of our university and should not be edited if you are not a university member and know what youβre doing. The credentials only grant read access to glacier-related public data and are not of value to you.
With the config.ini set up, you may now start with Notebook 1.






