HydstraSiteDetails {SWTools}R Documentation

Get streamflow station information from Hydstra API

Description

This function use the API associated with states' Hydstra databases to return useful site information.

Usage

HydstraSiteDetails(site, state, out_folder, flood_level = NA)

Arguments

site

station number, e.g. "425018"

state

relevant state database foro the station, e.g. "NSW"

out_folder

path to folder to save outputs

flood_level

optional, water level in stage datum to plot on the cross section data

Details

Currently, the relevant websites are useful for site discovery:

The Bureau of Meteorology's Water Data Online site is also useful, which can also be queried using get_station_list() from BomWater package.

The function will save a number of files to out_folder that have a file name starting with the station number followed by:

Quality codes shown on the plot are those used by the Bureau of Meteorology defined here

Value

a vector of length 3, with the number of cross sections, rating curves and streamflow gaugings found, respectively.

Examples

## Not run: 
HydstraSiteDetails("425018","NSW","c:/Temp")

## End(Not run)

[Package SWTools version 1.1.0 Index]