LWFBrook90R
Run the LWF-Brook90 hydrological model within R.
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 9 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
1 of 9 committers (11.1%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (21.6%) to scientific vocabulary
Keywords
evapotranspiration
modeling
r-package
waterbalance
waterflux
Last synced: 6 months ago
·
JSON representation
Repository
Run the LWF-Brook90 hydrological model within R.
Basic Info
- Host: GitHub
- Owner: pschmidtwalter
- Language: R
- Default Branch: master
- Homepage: https://pschmidtwalter.github.io/LWFBrook90R/
- Size: 19.4 MB
Statistics
- Stars: 12
- Watchers: 4
- Forks: 7
- Open Issues: 2
- Releases: 12
Topics
evapotranspiration
modeling
r-package
waterbalance
waterflux
Created almost 7 years ago
· Last pushed 6 months ago
Metadata Files
Readme
Changelog
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# LWFBrook90R
[](https://www.repostatus.org/#active)
[](https://github.com/pschmidtwalter/LWFBrook90R/actions)
[](https://cran.r-project.org/package=LWFBrook90R)
[](https://cran.r-project.org/package=LWFBrook90R)
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://doi.org/10.5281/zenodo.3760298)
`LWFBrook90R` provides an implementation of the Soil Vegetation Atmosphere
Transport (SVAT) model
[LWF-BROOK90](https://www.lwf.bayern.de/boden-klima/wasserhaushalt/index.php)
(Hammel & Kennel, 2001) written in Fortran. The model simulates daily
transpiration, interception, soil and snow evaporation, streamflow and soil
water fluxes through a soil profile covered with vegetation. A set of high-level
functions for model set up, execution and parallelization provide easy access to
plot-level SVAT simulations, as well as multi-run and large-scale applications.
## Installation
You can install the released version of LWFBrook90R from [CRAN](https://CRAN.R-project.org) with:
```{r, eval = FALSE}
install.packages("LWFBrook90R")
```
and the development version can be installed from [Github](https://github.com/pschmidtwalter/LWFBrook90R) using the package `remotes`:
```{r, eval = FALSE}
remotes::install_github(repo="pschmidtwalter/LWFBrook90R", build_vignettes = TRUE)
```
## Usage
Below is basic example. For more complex examples take a look at the
packages vignettes with `browseVignettes("LWFBrook90R")`.
The main function `run_LWFB90()` creates the model input from model control
options, parameters, climate and soil data and returns the simulation
results.
```{r}
# load package and sample data
library(LWFBrook90R)
data(slb1_meteo, slb1_soil)
# set up default model control options and parameters
opts <- set_optionsLWFB90()
parms <- set_paramLWFB90()
# Derive soil hydraulic properties from soil physical properties
# using a pedotransfer function:
soil <- cbind(slb1_soil, hydpar_wessolek_tab(texture = slb1_soil$texture))
# run the model and capture results
lwfb90_res <- run_LWFB90(options_b90 = opts,
param_b90 = parms,
climate = slb1_meteo,
soil = soil)
```
Plot results
```{r,echo = FALSE, fig.height=4, fig.width=7}
oldpar <- par(no.readonly = TRUE)
dates <- with(lwfb90_res$output, as.Date(paste(yr, mo, da, sep = "-")))
par(mar = c(2,4.1,1,4.1))
plot(dates,lwfb90_res$output$evap,
col = "green", type = 'l', ylim = c(0,7),
xlab = "", ylab = "Evapotranspiration [mm]")
par(new=TRUE)
plot(dates, lwfb90_res$output$swat, type = "l",
col = "blue", ylim = c(200,500),
yaxt = "n", xaxt = "n", ylab = "", xlab = "")
axis(4,pretty(c(200,500)))
mtext("Soil water storage [mm]", side = 4, line =3)
legend("left", legend = c("ET", "Swat"),
col = c("green", "blue"), lty = 1,
bty = "n")
par(oldpar)
```
## Citation
Schmidt-Walter, P., Trotsiuk, V., Meusburger, K., Zacios, M., Meesenburg, H.
(2020): Advancing simulations of water fluxes, soil moisture and drought stress
by using the LWF-Brook90 hydrological model in R. Agr. For. Met. 291, 108023.
https://doi.org/10.1016/j.agrformet.2020.108023
## Contributions
Implementations of further methods for creating model input (e.g. leaf area
dynamics, root depth density distributions, pedotransfer functions) and other
improvements are highly welcome.
## Authors
Paul Schmidt-Walter, Volodymyr Trotsiuk, Klaus Hammel, Martin Kennel,
Tony Federer.
Tony Federer’s original [Brook90](http://www.ecoshift.net/brook/b90doc.html)
Fortran 77 code (Brook90\_v3.1F, License: CC0) was enhanced by Klaus Hammel and
Martin Kennel at Bavarian State Institute of Forestry (LWF) around the year
2000. Since then, LWF-BROOK90 is distributed by
[LWF](https://www.lwf.bayern.de/boden-klima/wasserhaushalt/index.php) upon
request as a pre-compiled Fortran command line program together with an MS
Access User Interface. In 2019, Volodymyr Trotsiuk converted the Fortran 77 code
to Fortran 95 and implemented the connection to R. Paul Schmidt-Walter’s
`brook90r` (Schmidt-Walter, 2018) package for LWF-Brook90 input
data generation, model execution and result processing was adapted and extended
to control this interface function.
## License
GPL-3 for all Fortran and R code. `brook90r` has GPL-3, while LWF-Brook90
was without license until recently. Lothar Zimmermann and Stephan Raspe
(LWF), and all previous Fortran contributors agreed to assign GPL-3 to the
Fortran code.
## References
Federer C.A. (2002): BROOK 90: A simulation model for evaporation, soil water, and streamflow.
http://www.ecoshift.net/brook/brook90.htm
Federer C.A., Vörösmarty, C., Fekete, B. (2003): Sensitivity of Annual
Evaporation to Soil and Root Properties in Two Models of Contrasting Complexity.
J. Hydrometeorol. 4, 1276–1290. https://doi.org/10.1175/1525-7541(2003)004%3C1276:SOAETS%3E2.0.CO;2
Hammel, K., Kennel, M. (2001): Charakterisierung und Analyse der
Wasserverfügbarkeit und des Wasserhaushalts von Waldstandorten in Bayern mit dem
Simulationsmodell BROOK90. Forstliche Forschungsberichte München 185.
ISBN 978-3-933506-16-0
Schmidt-Walter, P. (2018). brook90r: Run the LWF-BROOK90 hydrological model from
within R (Version v1.0.1). Zenodo. https://doi.org/10.5281/zenodo.1433677
Owner
- Name: Paul Schmidt-Walter
- Login: pschmidtwalter
- Kind: user
- Location: Braunschweig
- Company: Center for Agrometeorological Research, Deutscher Wetterdienst
- Repositories: 2
- Profile: https://github.com/pschmidtwalter
GitHub Events
Total
- Issues event: 2
- Watch event: 1
- Delete event: 1
- Issue comment event: 3
- Push event: 13
- Pull request event: 4
- Fork event: 1
- Create event: 2
Last Year
- Issues event: 2
- Watch event: 1
- Delete event: 1
- Issue comment event: 3
- Push event: 13
- Pull request event: 4
- Fork event: 1
- Create event: 2
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Paul Schmidt-Walter | p****r@n****e | 165 |
| Paul Schmidt-Walter | p****r@d****e | 71 |
| Paul Schmidt-Walter | p****r@n****e | 58 |
| Volodymyr Trotsiuk | v****k@g****m | 25 |
| Robert Nuske | r****e@n****e | 13 |
| fabern | s****b@f****h | 2 |
| Valentin Gartiser | c****e@v****e | 2 |
| Paul Schmidt-Walter | 3****r | 1 |
| Axel | a****t@f****k | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 51
- Total pull requests: 24
- Average time to close issues: 3 months
- Average time to close pull requests: 7 days
- Total issue authors: 13
- Total pull request authors: 6
- Average comments per issue: 2.25
- Average comments per pull request: 0.04
- Merged pull requests: 20
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 2
- Average time to close issues: 2 days
- Average time to close pull requests: 3 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rnuske (14)
- trotsiuk (8)
- rhabel (7)
- pschmidtwalter (7)
- MichaKoe (6)
- valentingar (2)
- yjaguilara (1)
- HenrikBengtsson (1)
- fabern (1)
- gadermaierjosef (1)
- acmue (1)
- HammadAli-WD (1)
- marekie (1)
Pull Request Authors
- pschmidtwalter (9)
- rnuske (6)
- trotsiuk (5)
- valentingar (4)
- fabern (1)
- awellpott (1)
Top Labels
Issue Labels
bug (3)
enhancement (3)
question (2)
help wanted (1)
Pull Request Labels
enhancement (1)
Packages
- Total packages: 3
-
Total downloads:
- cran 281 last-month
- Total docker downloads: 20,358
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 1
(may contain duplicates) - Total versions: 51
- Total maintainers: 1
proxy.golang.org: github.com/pschmidtwalter/LWFBrook90R
- Documentation: https://pkg.go.dev/github.com/pschmidtwalter/LWFBrook90R#section-documentation
-
Latest release: v0.6.2
published 10 months ago
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced:
6 months ago
proxy.golang.org: github.com/pschmidtwalter/lwfbrook90r
- Documentation: https://pkg.go.dev/github.com/pschmidtwalter/lwfbrook90r#section-documentation
-
Latest release: v0.6.2
published 10 months ago
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced:
6 months ago
cran.r-project.org: LWFBrook90R
Simulate Evapotranspiration and Soil Moisture with the SVAT Model LWF-Brook90
- Homepage: https://pschmidtwalter.github.io/LWFBrook90R/
- Documentation: http://cran.r-project.org/web/packages/LWFBrook90R/LWFBrook90R.pdf
- License: GPL-3
-
Latest release: 0.6.2
published 10 months ago
Rankings
Forks count: 8.7%
Docker downloads count: 12.6%
Stargazers count: 16.5%
Average: 18.2%
Downloads: 19.0%
Dependent repos count: 23.9%
Dependent packages count: 28.7%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.4.0 depends
- data.table >= 1.10.4 imports
- doFuture >= 0.10.0 imports
- foreach >= 1.5.0 imports
- future >= 1.19.0 imports
- iterators >= 1.0.12 imports
- methods * imports
- parallelly >= 1.30.0 imports
- progressr >= 0.6.0 imports
- vegperiod >= 0.3.0 imports
- knitr * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- testthat * suggests
.github/workflows/check-standard.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite