rvn_rvt_read {RavenR} | R Documentation |
This routine reads in a valid Raven time series input (.rvt) file and returns the information as an xts time series.
rvn_rvt_read(filename, tzone = "UTC")
filename |
the name of the .rvt file (with .rvt extension included ), either relative to the working directory or absolute. |
tzone |
string indicating the timezone of the data provided in filename (default "UTC") |
It supports :MultiData, :Data, :ObservedData, :BasinInflowHydrograph, and most of the other :Data-like time series commands. It does NOT support the master .rvt file with :Gauge or :GriddedForcing commands
The timezone is provided by the tzone argument as "UTC" by default, and should be adjusted by the user to the local time zone as needed, based on the model run.
Returns an xts time series with at least one dataset (multiple for :MultiData files)
James R. Craig, University of Waterloo
# read in rvt file system.file('extdata','GlenAllan.rvt',package="RavenR") %>% rvn_rvt_read(.) -> rvt plot(rvt$TEMP_DAILY_MIN)