Learn R Programming

HYPEtools (version 1.6.4)

OutletSubids: Find all Outlet SUBIDs of a model domain

Description

Function to find all outlet SUBIDs of a HYPE model domain.

Usage

OutletSubids(gd)

Value

OutletSubids returns a vector of outlet SUBIDs.

Arguments

gd

A data frame, with two columns subid and maindown, (not case-sensitive). Typically a 'GeoData.txt' file imported using ReadGeoData.

Details

OutletSubids finds all outlet SUBIDs of a model domain as provided in a 'GeoData.txt' file, i.e. all SUBIDs from which stream water leaves the model domain.

See Also

AllDownstreamSubids, OutletIds

Examples

Run this code
te <- ReadGeoData(filename = system.file("demo_model", "GeoData.txt", package = "HYPEtools"))
OutletSubids(gd = te)

Run the code above in your browser using DataLab