Learn R Programming

⚠️There's a newer version (1.2.3) of this package.Take me there.

openSTARS (version 1.2.2)

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

58

Version

1.2.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mira Kattwinkel

Last Published

October 17th, 2020

Functions in openSTARS (1.2.2)

calc_catchment_attributes_vect_rec

calc_catchment_attributes_vect_rec 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.
calc_catchment_attributes_rast

calc_catchment_attributes_rast 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_rec

calc_catchment_attributes_rast_rec Aggregate attributes for the total catchment of each stream segment.
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_attributes_sites_approx

Calculate attributes of the sites.
check_projection

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

Calculate edges for SSN object.
delete_lakes

Delete lakes from stream network
correct_compl_confluences

Correct confluences with three or more inflows.
grass_v.to.db

Update attribute table.
calc_sites

Calculate sites for SSN object.
get_all_raster_values

get_all_raster_values Returns all unique values in the raster
check_compl_confluences

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

Import data into 'GRASS.'
get_cats_edges_in_catchment

get_cats_edges_in_catchment Returns the cats of this and all upstream edges
export_ssn

Export 'SSN' object
derive_streams

Derive stream network from DEM.
calc_offset

Calculate offset
check_ssn

Checking 'SSN' object.
get_streams_edges_in_catchment

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

Snap sites to streams and calculate attributes
openSTARS

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

Calculate prediction sites for 'SSN' object.
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 .
restrict_network

Restrict edges to certain stream networks
setup_grass_environment

Setup 'GRASS' environment.
merge_sites_measurements

Merge a table with measurements to the sites.
import_vector_data

Import vector data into GRASS.
watershed_memory

Calculate RAM needed for deriving the stream network from DEM