NearestHYBAS: Hybas to stationprefix

Description Usage Arguments

Description

For a station prefix, returns the first 3 digits of the pfaffstetter code corresponding to the nearest hydrobasins polygon. This allows the hydrobasins file to be subset using indexing before running through searches by removing polygons that are neither upstream nor downstream of the station

Usage

1
NearestHYBAS(station)

Arguments

station

character string specifying a station name e.g. "02AB001"


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