TFVGetResults: Read in one variable out of a TFV POINTS File. Assumes the...

Description Usage Arguments Value Examples

View source: R/TUFLOW.R

Description

Read in one variable out of a TFV POINTS File. Assumes the points file ID is a observation station site ID.

Usage

1
2
3
4
5
6
7
TFVGetResults(
  Resultfile,
  parameter,
  RunName,
  stations = NULL,
  dailyaverage = FALSE
)

Arguments

Resultfile

TUFLOW output POINTS file

parameter

- parameter to plot, must be in column heading, e.g. "SAL"

RunName

- name of model run to add to a column, for ease of combining/plotting

stations

- list of stations to return, to subset from everything recorded. default to NULL, which will return all.

dailyaverage

- set to TRUE to average sub daily data to daily time step

Value

tibble with data in long format, with columns: Time, Site, Value, Data

Examples

1
2
3
4
## Not run: 
TFVGetResults("Results_POINTS.csv","SAL","TFV",c("A4261209","A4261165"))

## End(Not run)

TUFLOWR documentation built on Oct. 18, 2021, 5:09 p.m.