Learn R Programming

openSTARS (version 1.2.3)

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

Description

An open source implementation of the 'STARS' toolbox (Peterson & Ver Hoef, 2014, ) 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).

Copy Link

Version

Install

install.packages('openSTARS')

Monthly Downloads

51

Version

1.2.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mira Kattwinkel

Last Published

February 4th, 2022

Functions in openSTARS (1.2.3)

calc_attributes_sites_approx

Calculate attributes of the sites.
calc_catchment_attributes_rast_rec

calc_catchment_attributes_rast_rec Aggregate attributes for the total catchment of each stream segment.
calc_catchment_attributes_vect_rec

calc_catchment_attributes_vect_rec Aggregate attributes for the total catchment of each stream segment.
calc_binary

Calculate binary IDs for each stream network.
calc_attributes_edges

Calculate attributes of the edges.
calc_catchment_attributes_rast

calc_catchment_attributes_rast Aggregate attributes for the total catchment of each stream segment.
calc_catchment_attributes_vect

calc_catchment_attributes_vect Aggregate attributes for the total catchment of each stream segment.
calc_attributes_sites_exact

Calculate attributes of the sites.
assign_binIDs

assign_binIDs Recursive function to assign binary id to stream segments
calcCatchmArea_assignNetID

Calculate total catchment area of a stream segment and assign a network id.
calc_sites

Calculate sites for SSN object.
correct_compl_confluences

Correct confluences with three or more inflows.
delete_lakes

Delete lakes from stream network
grass_v.to.db

Update attribute table.
calc_edges

Calculate edges for SSN object.
get_all_raster_values

get_all_raster_values Returns all unique values in the raster
check_ssn

Checking 'SSN' object.
import_vector_data

Import vector data into GRASS.
check_projection

Show the projection of raster data and compare to the current GRASS location.
calc_offset

Calculate offset
get_cats_edges_in_catchment

get_cats_edges_in_catchment Returns the cats of this and all upstream edges
check_compl_confluences

Check if there are more than two inflows to an outflow.
get_n_val_raster

get_n_val_raster Returns the number of different values in the raster.
calc_outdist

Update flow length from the upstream node of each stream segment to the outlet of the network .
calc_prediction_sites

Calculate prediction sites for 'SSN' object.
watershed_memory

Calculate RAM needed for deriving the stream network from DEM
get_streams_edges_in_catchment

get_streams_edges_in_catchment Returns the stream values of this and all upstream edges
setup_grass_environment

Setup 'GRASS' environment.
restrict_network

Restrict edges to certain stream networks
merge_sites_measurements

Merge a table with measurements to the sites.
openSTARS

openSTARS: An Open Source Implementation of the 'ArcGIS' Toolbox 'STARS'.
prepare_sites

Snap sites to streams and calculate attributes
import_data

Import data into 'GRASS.'
export_ssn

Export 'SSN' object
derive_streams

Derive stream network from DEM.