openSTARS v1.0.0


Monthly downloads



by Mira Kattwinkel

An Open Source Implementation of the 'ArcGIS' Toolbox 'STARS'

An open source implementation of the 'STARS' toolbox (Peterson & Ver Hoef, 2014, <doi:10.18637/jss.v056.i02>) using 'R' and 'GRASS GIS'. It prepares the *.ssn object needed for the 'SSN' package. A Digital Elevation Model (DEM) is used to derive stream networks (in contrast to 'STARS' that can clean an existing stream network).

Functions in openSTARS

Name Description
calc_edges Calculate edges for SSN object.
calc_offset Calculate offset
assign_binIDs Recursive function to assign binary id to stream segments Should be run for all outlets in the network ( = most downstream segments) and fills the binID for all segments
calcCatchmArea_assignNetID Calculate total catchment area of a stream segment and assign a network id.
calc_attributes_edges Calculate attributes of the edges.
calc_attributes_sites_approx Calculate attributes of the sites.
calc_catchment_attributes calc_catchment_attributes Aggregate attributes for the total catchment of each stream segment.
calc_catchment_attributes_rec calc_catchment_attributes_rec Aggregate attributes for the total catchment of each stream segment.
calc_attributes_sites_exact Calculate attributes of the sites.
calc_binary Calculate binary IDs for each stream network.
import_data Import data into 'GRASS.'
openSTARS openSTARS: An Open Source Implementation of the 'ArcGIS' Toolbox 'STARS'.
openSTARS_data Datasets shipped with openSTARS
correct_compl_junctions Correct junctions with three inflows.
derive_streams Derive stream network from DEM.
calc_prediction_sites Calculate prediction sites for 'SSN' object.
calc_sites Calculate sites for SSN object.
check_ssn Checking 'SSN' object.
prepare_sites Snap sites to streams and calculate attributes
export_ssn Export 'SSN' object
get_cats_edges_in_catchment get_cats_edges_in_catchment#' Returns the cats of this and all upstream edges#'
setup_grass_environment Setup 'GRASS' environment.
watershed_memory Calculate RAM needed for deriving the stream network from DEM
check_compl_junctions Check if there are more than two inflows to an outflow.
No Results!

Vignettes of openSTARS

No Results!

Last month downloads


Type Package
License MIT + file LICENSE
Encoding UTF-8
LazyLoad true
LazyData true
RoxygenNote 6.0.1
VignetteBuilder knitr
NeedsCompilation no
Packaged 2017-08-09 14:29:09 UTC; mira
Repository CRAN
Date/Publication 2017-08-09 17:10:01 UTC

Include our badge in your README