| Literature DB >> 32941523 |
Mira Kattwinkel1, Eduard Szöcs1, Erin Peterson2,3, Ralf B Schäfer1.
Abstract
Stream monitoring data provides insights into the biological, chemical and physical status of running waters. Additionally, it can be used to identify drivers of chemical or ecological water quality, to inform related management actions, and to forecast future conditions under land use and global change scenarios. Measurements from sites along the same stream may not be statistically independent, and the R package SSN provides a way to describe spatial autocorrelation when modelling relationships between measured variables and potential drivers. However, SSN requires the user to provide the stream network and sampling locations in a certain format. Likewise, other applications require catchment delineation and intersection of different spatial data. We developed the R package openSTARS that provides the functionality to derive stream networks from a digital elevation model, delineate stream catchments and intersect them with land use or other GIS data as potential predictors. Additionally, locations for model predictions can be generated automatically along the stream network. We present an example workflow of all data preparation steps. In a case study using data from water monitoring sites in Southern Germany, the resulting stream network and derived site characteristics matched those constructed using STARS, an ArcGIS custom toolbox. An advantage of openSTARS is that it relies on free and open-source GRASS GIS and R functions, unlike the original STARS toolbox which depends on proprietary ArcGIS. openSTARS also comes without a graphical user interface, to enhance reproducibility and reusability of the workflow, thereby harmonizing and simplifying the data pre-processing prior to statistical modelling. Overall, openSTARS facilitates the use of spatial regression and other applications on stream networks and contributes to reproducible science with applications in hydrology, environmental sciences and ecology.Entities:
Mesh:
Year: 2020 PMID: 32941523 PMCID: PMC7498020 DOI: 10.1371/journal.pone.0239237
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1openSTARS workflow.
Input data for openSTARS.
| Data | Mandatory or optional | Format | Description |
|---|---|---|---|
| digital elevation model (DEM) | mandatory | raster | elevation data needed to derive the stream network and delineate catchment boundaries |
| sampling sites | mandatory | vector | locations of the sampling sites |
| streams | optional | vector | stream network to be burnt into the DEM to guide the derived one |
| prediction sites | optional | vector | locations of sites where model predictions will be generated |
| potential predictors | optional | raster or vector | spatial datasets used to calculate predictor variables for use in the SSN model |
| measurements | optional | table (e.g. txt, csv) | measurements at the sampling sites (dependent variables and optionally potential predictors) |
Fig 2Comparison of openSTARS and STARS edges and snapped sampling sites.
STARS edges with slight offset for readability. The sites marked with a dark circle were removed in STARS because their snapping distance exceeded 150 m.
Fig 3Comparison of openSTARS and STARS calculated catchment attributes for the sampling sites.
A: catchment area in km2; B: area of arable land use in km2. r is the Pearson’s correlation coefficient (including the marked outliers), the dotted line shows the 1:1 relationship, the solid black dots mark two outliers (S1 File).