populate_table_from_delineations: Upstream stations from basin delineations

Description Usage Arguments Value

Description

Use a folder of basin delineations to define upstream relations and populate upstream relations matrix

Usage

1
2
populate_table_from_delineations(table, polygon_folder, station_pts,
  station_number = "station_number")

Arguments

table

a data table created from initialize_matrix_from_stations. An (n x n+1) data.table with first column named "ID" and all other columns named according to station number. Row i and column i+1 should correspond to the same station.

polygon_folder

character, path to folder containing delineation shapefiles

station_pts

spatialpointsdataframe of monitoring stations

station_number

column name identifying the station number

Value

A character vector of station IDs


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.