A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

PCR-GLOBWB_model

A large-scale hydrological model intended for global to regional studies.
https://github.com/UU-Hydro/PCR-GLOBWB_model

Category: Hydrosphere
Sub Category: Freshwater and Hydrology

Keywords from Contributors

geosciences earth-system-model

Last synced: about 20 hours ago
JSON representation

Repository metadata

PCR-GLOBWB (PCRaster Global Water Balance) is a large-scale hydrological model intended for global to regional studies and developed at the Department of Physical Geography, Utrecht University (Netherlands). Contact: Edwin Sutanudjaja ([email protected]).

README.md

PCR-GLOBWB

PCR-GLOBWB (PCRaster Global Water Balance) is a large-scale hydrological model intended for global to regional studies and developed at the Department of Physical Geography, Utrecht University (Netherlands). This repository holds the model scripts of PCR-GLOBWB.

For additional information about the model please checkout the PCR-GLOBWB documentation at https://pcrglobwb.readthedocs.io/en/latest/.

Please also see the file README.txt.

Main reference/paper: Sutanudjaja, E. H., van Beek, R., Wanders, N., Wada, Y., Bosmans, J. H. C., Drost, N., van der Ent, R. J., de Graaf, I. E. M., Hoch, J. M., de Jong, K., Karssenberg, D., López López, P., Peßenteiner, S., Schmitz, O., Straatsma, M. W., Vannametee, E., Wisser, D., and Bierkens, M. F. P.: PCR-GLOBWB 2: a 5 arcmin global hydrological and water resources model, Geosci. Model Dev., 11, 2429-2453, https://doi.org/10.5194/gmd-11-2429-2018, 2018.

Input and output files (including OPeNDAP-based access: https://opendap.4tu.nl/thredds/catalog/data2/pcrglobwb/catalog.html)

The input files for the runs made in the aformentioned paper (Sutanudjaja et al., 2018) are available on the OPeNDAP server: https://opendap.4tu.nl/thredds/catalog/data2/pcrglobwb/version_2019_11_beta/pcrglobwb2_input/catalog.html. The OPeNDAP protocol (https://www.opendap.org) allow users to access PCR-GLOBWB input files from the remote server and perform PCR-GLOBWB runs without the need to download the input files (with total size ~250 GB for the global extent).

Some output files are also provided: https://opendap.4tu.nl/thredds/catalog/data2/pcrglobwb/version_2019_11_beta/example_output/global_05min_gmd_paper_output/catalog.html. More output files are available on https://geo.data.uu.nl/research-pcrglobwb/pcr-globwb_gmd_paper_sutanudjaja_et_al_2018/ (for requesting access, please send an e-mail to [email protected]).

How to install

Please follow the following steps required to install PCR-GLOBWB:

  1. You will need a working Python environment, we recommend to install Miniconda, particularly for Python 3. Follow their instructions given at https://docs.conda.io/en/latest/miniconda.html. The user guide and short reference on conda can be found here.

  2. Get the requirement or environment file from this repository conda_env/pcrglobwb_py3.yml and use it to install all modules required (e.g. PCRaster, netCDF4) to run PCR-GLOBWB:

    conda env create --name pcrglobwb_python3 -f pcrglobwb_py3.yml

    This will create a environment named pcrglobwb_python3.

  3. Activate the environment in a command prompt:

    conda activate pcrglobwb_python3

  4. Clone or download this repository. We suggest to use the latest version of the model, which should also be in the default branch.

    git clone https://github.com/UU-Hydro/PCR-GLOBWB_model.git

    This will clone PCR-GLOBWB into the current working directory.

PCR-GLOBWB configuration .ini file

For running PCR-GLOBWB, a configuration .ini file is required. Some configuration .ini file examples are given in the config directory. To be able to run PCR-GLOBWB using these .ini file examples, there are at least two things that must be adjusted.

First, please make sure that you edit or set the outputDir (output directory) to the directory that you have access. You do not need to create this directory manually.

Moreover, please also make sure that the cloneMap file is stored locally in your computing machine. The cloneMap file defines the spatial resolution and extent of your study area and must be in the pcraster format. Some examples are given in this repository clone_landmask_maps/clone_landmask_examples.zip.

By default, the configuration .ini file examples given in the config directory will use PCR-GLOBWB input files from the 4TU.ResearchData server, as set in their inputDir (input directory).

inputDir = https://opendap.4tu.nl/thredds/dodsC/data2/pcrglobwb/version_2019_11_beta/pcrglobwb2_input/

This can be adjusted to any (local) locations, e.g. if you have the input files stored locally in your computing machine.

How to run

Please make sure that the correct conda environment in a command prompt:

conda activate pcrglobwb_python3

Go to to the PCR-GLOBWB model directory. You can start a PCR-GLOBWB run using the following command:

python deterministic_runner.py <ini_configuration_file>

where <ini_configuration_file> is the configuration file of PCR-GLOBWB.

Exercises/cooking recipes

We included some exercise/cooking recipes for running PCR-GLOBWB. You can find these documents in the folder exercise within this repository. While these exercises were generally designed for our own computing facilities (e.g. velocity and eejit servers), they should be adaptable for use on other computing machines.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 6,244
Total Committers: 23
Avg Commits per committer: 271.478
Development Distribution Score (DDS): 0.633

Commits in past year: 14
Committers in past year: 4
Avg Commits per committer in past year: 3.5
Development Distribution Score (DDS) in past year: 0.571

Name Email Commits
Edwin Sutanudjaja s****a@c****p 2290
Edwin Sutanudjaja e****n@w****l 1603
Edwin Sutanudjaja s****1@U****u 962
Edwin Sutanudjaja s****a@e****l 433
Edwin Sutanudjaja e****n@c****l 297
Edwin Sutanudjaja E****a 221
U-SOLISCOM\Sutan101 S****1@U****l 138
Edwin Sutanudjaja E****a@d****l 111
U-DESKTOP-92P3V7F\rikat r****p@m****m 45
Edwin Sutanudjaja e****t 35
Edwin Sutanudjaja e****s@c****l 31
Edwin H. Sutanudjaja s****1@e****l 15
Edwin Sutanudjaja s****1@s****l 15
mcflugen m****n@g****m 14
Edwin Sutanudjaja e****t@U****3 11
Edwin Sutanudjaja c****s@e****f 6
Edwin Sutanudjaja e****n@i****l 4
BramDr b****s@g****m 4
Bram Droppers d****b@i****l 2
Edwin Sutanudjaja c****s@e****t 2
hsutanudjajacchms99 h****9@y****m 2
Niels Drost n****t@e****l 2
Edwin H. Sutanudjaja e****n@j****l 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 28
Total pull requests: 35
Average time to close issues: 21 days
Average time to close pull requests: about 1 month
Total issue authors: 11
Total pull request authors: 8
Average comments per issue: 0.39
Average comments per pull request: 0.2
Merged pull request: 25
Bot issues: 0
Bot pull requests: 0

Past year issues: 6
Past year pull requests: 5
Past year average time to close issues: 14 days
Past year average time to close pull requests: 22 days
Past year issue authors: 3
Past year pull request authors: 3
Past year average comments per issue: 0.67
Past year average comments per pull request: 0.2
Past year merged pull request: 3
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/UU-Hydro/PCR-GLOBWB_model

Top Issue Authors

  • BramDr (8)
  • edwinkost (7)
  • kordejong (5)
  • Aichumei (1)
  • BSchilperoort (1)
  • mn5hk (1)
  • mcflugen (1)
  • yanyanma (1)
  • ipelupessy (1)
  • zhangboen (1)
  • EideWang (1)

Top Pull Request Authors

  • edwinkost (15)
  • BramDr (12)
  • vanjaarsveldbarry (2)
  • mcflugen (2)
  • hsutanudjajacchms99 (1)
  • gcardenas1891 (1)
  • Peter9192 (1)
  • kordejong (1)

Top Issue Labels

  • enhancement (10)
  • feature (5)
  • bug (2)
  • pcrglobwb_3 (2)
  • unexpected (1)

Top Pull Request Labels

  • enhancement (2)
  • bug (1)

Score: 8.159374736775426