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]).
- Host: GitHub
- URL: https://github.com/UU-Hydro/PCR-GLOBWB_model
- Owner: UU-Hydro
- License: gpl-3.0
- Created: 2016-08-17T15:20:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-20T11:56:52.000Z (5 months ago)
- Last Synced: 2025-04-25T14:07:44.278Z (2 days ago)
- Language: Python
- Homepage:
- Size: 89.2 MB
- Stars: 131
- Watchers: 15
- Forks: 81
- Open Issues: 21
- Releases: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
https://opendap.4tu.nl/thredds/catalog/data2/pcrglobwb/catalog.html)
Input and output files (including OPeNDAP-based access: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:
-
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.
-
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.
-
Activate the environment in a command prompt:
conda activate pcrglobwb_python3
-
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
- Name: UU-Hydro
- Login: UU-Hydro
- Email: [email protected]
- Kind: organization
- Description: Earth Surface Hydrology Group (chair: Prof. Marc F. P. Bierkens), Department of Physical Geography, Utrecht University
- Website: http://www.globalhydrology.nl/
- Location: Utrecht, Netherlands
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/8937096?v=4
- Repositories: 5
- Last ynced at: 2023-02-26T08:20:39.746Z
- Profile URL: https://github.com/UU-Hydro
GitHub Events
Total
- Issues event: 4
- Watch event: 12
- Issue comment event: 4
- Push event: 12
- Pull request event: 1
- Fork event: 2
- Create event: 1
Last Year
- Issues event: 4
- Watch event: 12
- Issue comment event: 4
- Push event: 12
- Pull request event: 1
- Fork event: 2
- Create event: 1
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 | 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:
- cartesius.surfsara.nl: 2
- jumbo.geo.uu.nl: 1
- esciencecenter.nl: 1
- ecgb11.ecmwf.int: 1
- int6.local.snellius.surf.nl: 1
- int1.cartesius.surfsara.nl: 1
- speedy.geo.uu.nl: 1
- eejit.geo.uu.nl: 1
- deltares.nl: 1
- uu078667.soliscom.uu.nl: 1
- edwin1.geo.uu.nl: 1
- workstationedwin.geo.uu.nl: 1
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
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