Skip to content

eWaterCycle/ewatercycle-pcrglobwb

Repository files navigation

eWaterCycle plugin for PCRGlobWB hydrological model

Research Software Directory Badge DOI PyPI

eWatercycle plugin for PCRGlobWB model.

PCRGLOBWB (PCRaster Global Water Balance) is a large-scale hydrological model with documentation at https://globalhydrology.nl/research/models/pcr-globwb-1-0/ .

Installation

eWaterCycle must be installed in a mamba environment. The environment can be created with

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

Install this package alongside your eWaterCycle installation

pip install ewatercycle-pcrglobwb

Then PCRGlobWB becomes available as one of the eWaterCycle models

from ewatercycle.models import PCRGlobWB

Usage

Usage of PCRGlobWB forcing generation and model execution is shown in docs/generate_forcing.ipynb and docs/model.ipynb respectively.

Irrigation example at docs/Irrigation.ipynb.

License

ewatercycle-pcrglobwb is distributed under the terms of the Apache-2.0 license.