UpstreamHYBAS: Create HydroBASINS catchment basin

Description Usage Arguments Value

Description

Return the upstream basin polygon for a station

Usage

1
UpstreamHYBAS(station, HYBAS, ignore.endorheic = F, fast = T, outputfile)

Arguments

station

A SpatialPointsDataFrame corresponding to the station of intrest

ignore.endorheic

logical, whether or not to include 'virtual connections' in the HydroSHEDS topology

outputfile

(optional) if provided, saves the upstream hydrobasins to a shapefile. File name must end with '.shp'

Value

a spatial polygon data frame of the upstream basin in the CRS of the hybas polygon (should be WGS84)


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