station.info {FlowScreen} | R Documentation |
Retrieve Station Info
Description
Returns station information for Water Survey Canada or United States Geological Survey stream gauges.
Usage
station.info(TS, StnInfo = NULL, Plot = F, language = "English")
Arguments
TS |
output from |
StnInfo |
Optional data.frame containing user-supplied station info for plot.
data.frame must have 7 columns containing station info in the following order:
Station ID, Station Name, Prov/State, Country, Latitude, Longitude, Catchment Area
If any of the information is unavailabe, fill with NA. The Station ID column must
match the Station ID in column 1 of the data.frame input from |
Plot |
Boolean indicating whether a plot of station information should be created.
Default is F. Plot is intended for use as the upper-left panel of the plot produced
by |
language |
Language for plotting when Plot = T. Choice of either "English" or "French". Default is "English". |
Value
Returns a list of the following station information:
$StationID
$StnName
$Prov/State - Abbreviation for the province or state in which the station is located
$Country - Abbreviation for the country in which the station is located
$Lat - Latitude of the station
$Long - Longitude of the station
$Area - Catchment area, in square kilometers
$RHN - Boolean indicating whether the station is part of a reference hydrologic network
Author(s)
Jennifer Dierauer
Examples
data(cania.sub.ts)
StnInfo <- station.info(cania.sub.ts)