readForcingCSV: Reads climate and discharge data into a tibble.

View source: R/readForcingCSV.R

readForcingCSVR Documentation

Reads climate and discharge data into a tibble.

Description

The data is in a csv file that can also be imported to RS Minerve to form a database.

Usage

readForcingCSV(filename, tz = "UTC")

Arguments

filename

Path to file with input data for RS Minerve.

tz

Optional time zone string, passed to lubridate::as_datetime (for details refer to POSIXt documentation). Defauls to "UTC"

Value

Returns a tibble of the same format as data with data in hourly (climate) to decadal or monthly (discharge) time steps. Includes all attributes of the csv file

Note

An example forcing csv file is given under http://raw.githubusercontent.com/hydrosolutions/RSMinerveR/main/tests/testthat/test_translateCSVtoDST.csv

See Also

[load_minerve_input_csv] and [readDBCSV]

Other RS Minerve IO: getChunkSize(), load_minerve_input_csv(), readDBCSV(), readForcingSTR(), readRSMParameters(), readResultCSV(), readResultDST(), readSelectionCHK(), translateCSVtoDST(), writeRSMParameters(), writeSelectionCHK()


hydrosolutions/riversCentralAsia documentation built on Feb. 7, 2023, 4:50 p.m.