Coder Social home page Coder Social logo

da-wsl-wip-notebooks's Introduction

MSc Thesis notebook repo - David Haasnoot

Code for Thesis: 'Analysing deficiencies in hydrological models using data assimilation.' which runs the requires eWaterCycle platform to be installed, easily done with these instructions.
Some notebook require geospatial packages, namely geopandas and contexitly which aren't included in the eWatercycle environment.
I would advise to make a new environment for the geospatial analysis.

The code runs models in eWaterCycle environment, applies data assimilation to said models and generates results.
For more info see the thesis hosted on repository.tudelft.nl

Data

This Repo contains data from the CAMELS USA data set which can be found here. Current hosting of this data is merely to keep it organised for myself and own use. Please download the data for your use case from the original owner. On completion of this thesis all data will be removed from github. To the notebooks more FAIR the data for catchment 1620500 will remain hosted here. This is merely to make the notebooks useable. Once a FAIR way of acessing the camels data datset is created, this will be removed.

File system

This started off a as WIP repo, so it does contain all files used in running and analysing code, but the downside is the (earlier) code is messy and not organised. In some cases seperate repos have been used, these are explained. Most of the (unorganised code) is also here though. Warning this repo is LARGE! Cloning it all in not recomended. Optimisation will take place later to remove forcing and large model runs. For now it also serves as a backup.

layout

  • 0-29_development: Notebooks from start to the end of development stages. Syntax and good practices still change a lot here. The subdirectory also contains a readme with explanation of the folders.
  • 30-43_application_and_analysis: This is the start of the experiment phase, moving away from notebooks and to .py files. The subdirectory also contains a readme with explanation of the folders.
  • Everything else (Forcing, Observations, notebooks '1-5'): demonstration as included at the end of the thesis report. Three examples of running DA are show. Then then the lorenz model is shown and lastly using caravan data in eWaterCycle.
    1. A classical example where all (hyper)parameters are defined beforehand.
    2. A on the fly data assimilation where the (hyper)parameter for the data assimilation experiment are added after the model has already run.
    3. A calibration run for a hydrological model saving all the states and parameters specified.
    4. Show case use of the Lorenz model in ewatercycle, which can be found here.
    5. The Carvan dataset was made accessible in eWatercycle. An interactive map show casing the catchments can be found at https://www.ewatercycle.org/caravan-map/. The pull request can be found here

Other Repositories created during this thesis

Alongside the notebooks shown in this repo the models and framework used were developed as a part of this thesis.
Some of the experiment code was also split into different repos to make switching between running locally and on SURF easier.

experiments

  • Those used for running experiments are practically identitical but save you from cloning this whole repo:
    • run_experiment runs experiment for 671 catchmetns with a provided hyperparameter set storing min, max and weighted mean.
    • run_experiment_best same as run experiment but also stores the highest weight
    • run_calibration Runs a monte carlo calibration for 500 iterations across 671 catchments

model

  • Model repos:

Framework

da-wsl-wip-notebooks's People

Contributors

daafip avatar

Watchers

 avatar

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.