hydflood
Flood Extents and Durations along the Rivers Elbe and Rhine
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Flood Extents and Durations along the Rivers Elbe and Rhine
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 3 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
README.Rmd
---
output:
github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
echo = TRUE,
fig.path = "man/figures/README-",
fig.align="center",
fig.width = 6,
fig.height = 4)
```
# hydflood
[](https://cran.r-project.org/package=hydflood)
[](https://cran.r-project.org/package=hydflood)
[](https://cran.r-project.org/package=hydflood)
[](https://cran.r-project.org/package=hydflood)
The R package **hydflood** is designed to compute flood extents and durations
along the German federal waterways Elbe and Rhine.
## Installation
**hydflood** is available from CRAN. To install it run:
```{r install_cran, eval = FALSE}
install.packages("hydflood")
```
To install the latest development version from Github run:
```{r install_git, eval = FALSE}
install.packages("devtools")
library(devtools)
devtools::install_github("bafg-bund/hydflood")
```
## Usage
The package **hydflood** is build around the packages `terra` and `hyd1d`.
```{r library, error = FALSE, message = FALSE, warning = FALSE, include = FALSE}
# standard library path for the installed local packages
R_version <- paste(sep = ".", R.Version()$major, R.Version()$minor)
lib <- paste0("~/R/", R_version, "/")
library(hydflood, lib.loc = lib)
# set english locale to produce english plot labels
Sys.setlocale(category = "LC_MESSAGES", locale = "en_US")
```
```{r usage, eval = TRUE, error = FALSE, warning = FALSE, message = FALSE, fig.alt = "example plot of a hydflood::flood3() raster product"}
# load the package
options("hydflood.datadir" = tempdir())
library(hydflood)
# import the raster data and create a raster stack
x <- hydSpatRaster(filename_dem = "data-raw/raster.dem.tif",
filename_csa = "data-raw/raster.csa.tif")
# create a temporal sequence
seq <- seq(as.Date("2016-12-01"), as.Date("2016-12-31"), by = "day")
# compute a flood duration
fd <- flood3(x = x, seq = seq)
# and plot it
plot(fd)
```
Owner
- Name: Bundesanstalt für Gewässerkunde
- Login: bafg-bund
- Kind: organization
- Location: Germany
- Website: https://www.bafg.de
- Repositories: 3
- Profile: https://github.com/bafg-bund
German Federal Institute of Hydrology
GitHub Events
Total
- Push event: 4
- Pull request event: 2
- Create event: 1
Last Year
- Push event: 4
- Pull request event: 2
- Create event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 3
- Total pull requests: 31
- Average time to close issues: 1 day
- Average time to close pull requests: 30 minutes
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.67
- Average comments per pull request: 0.03
- Merged pull requests: 30
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 8
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- auenoekologie (4)
Pull Request Authors
- auenoekologie (38)
- rhijmans (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 248 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 9
- Total maintainers: 1
cran.r-project.org: hydflood
Flood Extents and Duration along the Rivers Elbe and Rhine
- Homepage: https://hydflood.bafg.de
- Documentation: http://cran.r-project.org/web/packages/hydflood/hydflood.pdf
- License: GPL-2
-
Latest release: 0.5.10
published over 1 year ago
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Average: 34.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Downloads: 44.9%
Maintainers (1)
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran
- R >= 4.0.0 depends
- hyd1d * depends
- raster * depends
- sf * depends
- terra * depends
- Rdpack * imports
- grDevices * imports
- stats * imports
- devtools * suggests
- knitr * suggests
- leaflet * suggests
- leaflet.esri * suggests
- leaflet.extras * suggests
- pangaear * suggests
- pkgdown * suggests
- plot3D * suggests
- plotrix * suggests
- rgrass * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- shiny * suggests
- shiny.i18n * suggests
- shinyjs * suggests
- stringr * suggests
- testthat * suggests
- tidyverse * suggests