Skip to content

Commit

Permalink
Copy plugin files from eWaterCycle/ewatercycle@ad99ebf
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 6, 2023
1 parent ba01510 commit f51742f
Show file tree
Hide file tree
Showing 27 changed files with 2,166 additions and 1,559 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
# eWaterCycle plugin for HYPE hydrological model
# eWaterCycle plugin for MARRMoT hydrological model

[![Research Software Directory Badge](https://img.shields.io/badge/rsd-00a3e3.svg)](https://www.research-software.nl/software/ewatercycle-hype)
[![Research Software Directory Badge](https://img.shields.io/badge/rsd-00a3e3.svg)](https://www.research-software.nl/software/ewatercycle-marrmot)

HYPE plugin for [eWatercycle](https://ewatercycle.readthedocs.io/).
MARRMoT plugin for [eWatercycle](https://ewatercycle.readthedocs.io/).

HYPE documentation at http://www.smhi.net/hype/wiki/doku.php .
MARRMoT documentation at hhttps://github.com/wknoben/MARRMoT .

## Installation

eWaterCycle must be installed in a [mamba](https://conda-forge.org/miniforge/) environment. The environment can be created with

```console
wget https://raw.githubusercontent.com/eWaterCycle/ewatercycle/main/environment.yml
mamba env create --name ewatercycle-hype --file environment.yml
conda activate ewatercycle-hype
mamba env create --name ewatercycle-marrmot --file environment.yml
conda activate ewatercycle-marrmot
```

Install this package alongside your eWaterCycle installation

```console
pip install ewatercycle-hype
pip install ewatercycle-marrmot
```

Then Hype becomes available as one of the eWaterCycle models
Then MARRMoT models become available as eWaterCycle models

```python
from ewatercycle.models import Hype
from ewatercycle.models import MarrmotM01, MarrmotM14
```

## Usage

Usage of HYPE forcing generation and model execution is shown in
[docs/generate_forcing.ipynb](https://github.com/eWaterCycle/ewatercycle-hype/tree/main/docs/generate_forcing.ipynb) and [docs/model.ipynb](https://github.com/eWaterCycle/ewatercycle-hype/tree/main/docs/model.ipynb) respectively.
Example notebooks:

* Forcing generation at [docs/generate_forcing.ipynb](https://github.com/eWaterCycle/ewatercycle-marrmot/tree/main/docs/generate_forcing.ipynb)
* Marrmot Collie River 1 (traditional bucket) model [docs/MarrmotM01.ipynb](https://github.com/eWaterCycle/ewatercycle-marrmot/tree/main/docs/MarrmotM01.ipynb)
* Marrmot Top Model hydrological model [docs/MarrmotM14.ipynb](https://github.com/eWaterCycle/ewatercycle-marrmot/tree/main/docs/MarrmotM14.ipynb)

## License

`ewatercycle-hype` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
`ewatercycle-marrmot` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
Binary file added docs/BMI_testcase_m01_BuffaloRiver_TN_USA.mat
Binary file not shown.
Loading

0 comments on commit f51742f

Please sign in to comment.