GithubHelp home page GithubHelp logo

mach-flow's Introduction


CH-RUN: A data-driven spatially contiguous
runoff monitoring product for Switzerland

Paper Project

CH-RUN
Fig. 8 from Kraft et al. (in prep.): Spatially contiguous reconstruction of runoff from 1962 to 2023. The maps represent the yearly catchment-level ruoff quantiles relative to the reference period (1971 to 2000) empirical distribution. The bottom bars show the decadal deviation in mm yโˆ’1 of the national- level runoff relative to the reference period.

Description

This repository contains the code for performing deep learning based reconstruction of runoff for Switzerland (Fig. 1). More details can be found in this publication.

CH-RUN
Fig. 1 from Kraft et al. (in prep.): From sparse observations with low human impact to contiguous coverage. The 98 observational catchments highlighted in magenta were selected by domain experts and served as a base for training and evaluating the data-driven models. Those catchments are only marginally affected by anthropogenic factors and are of similar size as the target catchments for reconstruction (grey).

How to run

First, make sure that you have conda installed. Then, install dependencies:

# Clone the project.
git clone https://github.com/bask0/mach-flow.git

# Install the project.
# You may need to change this line `source $CONDA_PREFIX/etc/profile.d/mamba.sh` in `create_env.sh`).
cd mach-flow
bash create_env.sh

Next, run the model tuning and cross validation. GPU should automatically be detected if available. This takes a while.

# Run LSTM tuning and cross validation.
bash basin_level/run_experiment.sh -m LSTM

# Run TCN tuning and cross validation.
bash basin_level/run_experiment.sh -m TCN

Create figures:

# Create figures.  
bash create_plots.sh

Citation

@article{kraft_chrun_2024,
  title={CH-RUN: A data-driven spatially contiguous runoff monitoring product for Switzerland},
  author={B. Kraft, W. Aeberhard, M. Schirmer, M. Zappa, S. I. Seneviratne and L. Gudmundsson},
  journal={HESS},
  year={in prep.}
}

mach-flow's People

Contributors

bask0 avatar

Stargazers

Vitus Benson avatar MatevzVremec avatar

Watchers

 avatar  avatar

Forkers

arkenjan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.