Lake_Station: Make upstream basin boundaries for a station on a lake

Description Usage Arguments Details Value

Description

This function acts a wrapper for two other functions

Usage

1
2
3
Lake_Station(station_point, HYBAS, lakes_folder, DEM_path, DEM_source,
  outdir_DEM, outdir_HYBAS, saga_env, code, stn_num_col = "station_number",
  stn_name_col = "station_name")

Arguments

station_point

a SpatialPointsDataFrame corresponding to a hydrometric station. Must be in same coordinates system as DEM and coordinate system must be projected (not lat/long). Must have longitude and latitude attributes.

HYBAS
lakes_folder
DEM_path

One of: (1) a file path to a directory containing DEM files either in the the format n tiles will be downloaded (if DEM_source='CDEM', 'CDED' etc.), (2) a file path to a dem file in SAGA format. The DEM should be in a projected coordinate system and the coordinate system should match that of the point (e.g. Canada Albers Conformal Conic)

DEM_source

character, one of: c('CDED', 'NED', 'CDEM, CDSM', 'SHEDS'). Ignored if a DEM file is supplied to DEM_path

outdir_DEM

Directory to output final hydrobasins-derived delineation

outdir_HYBAS

Directory to output final upslope (DEM) delineation

saga_env

A SAGA geoprocessing object. Suggested version is 2.2.2.

code

character, classification code describing location of station within cell and on stream

stn_num_col

character string of the column name in station_point data frame that contains the station name, defaults to "station_number"

stn_name_col

character string of the column name in station_point data frame that contains the station name, defaults to "station_name"

Details

This function uses the following classification system for the code parameter, which describes the location of the station relative to the containing hydrobasin and the waterbody with which it is associated:

P: containing sub-basin has 2 input sub-basins Pcb Waterbody continues upstream and station on main branch below confluence Pct Waterbody continues upstream and station on tributary branch above confluence Pcm Waterbody continues upstream and station on main branch above confluence Ps Waterbody terminates upstream within sub-basin

I: containing sub-basin has 1 input sub-basins Ic Waterbody continues upstream Is Waterbody terminates upstream within sub-basin

T: containing sub-basin has 0 input sub-basins

Value

does not return an R object but creates two basin delineation files, one based on HydroBASINS and one basin on the DEM


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