TFVGetResults {TUFLOWR}R Documentation

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

Description

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

Usage

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

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

## End(Not run)


[Package TUFLOWR version 0.1.1 Index]