readForcingSTR: Reads climate and discharge data from a character string into...

View source: R/readForcingSTR.R

readForcingSTRR Documentation

Reads climate and discharge data from a character string into a tibble.

Description

The data is in a string in the same format as the RSMinerve forcing csv that can also be imported to RS Minerve to form a database. This function is useful for reformatting data in character format that is to be written to RS Minerve input files.

Usage

readForcingSTR(string, tz = "UTC")

Arguments

string

Character string with input data for RS Minerve.

tz

Time zone character to be passed to lubridate::as_datetime. Defaults 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.

See Also

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


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