translateCSVtoDST: Translate csv to dst

View source: R/translateCSVtoDST.R

translateCSVtoDSTR Documentation

Translate csv to dst

Description

!UNDER DEVELOPMENT! This function is meant to translate forcing data for RSMinerve in the csv format to dst which can be loaded when scripting RSMinerve. The dst output file is written to the same location as the input file.

Usage

translateCSVtoDST(csvfilepath, tz = "UTC")

Arguments

csvfilepath

string path to csv file to be read.

tz

Time zone string to be passed to base::format. Defaults to "UTC".

Details

When scripting RSMinerve, climate forcing is read from dst files and not from csv files as are used when RSMinerve is run from the user interface. The csv files can be transformed to dst files using this function.

Value

NULL for success and 1 for failure.

See Also

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


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