Skip to contents

prepares the intake and release data used by the loadBasinsObs function

Usage

SaveTSVReservoirsStates(
  x,
  pathFolder,
  reservoirs = cfg$reservoirs$dim$id,
  seqDates = as.Date(x$date),
  historical = FALSE,
  rcp,
  scenario,
  ...,
  cfg = loadConfig()
)

Arguments

x

reservoirs states files (see : RiskBased)

historical

logical set on true if x contain historical data

path

location for reservoirs states

Value

tsv file usable for the loadBasinObs function