R/writeHydroValues.R
rollback_to_previous_data.Rd
Rollback the data to previous one if the check is KO. For a given area, check if the data is consistent and rollback to previous data if the check is KO.
rollback_to_previous_data(
area,
prev_data,
rollback_type,
opts = antaresRead::simOptions()
)
The area where to execute the control and rollback the data.
The original data to restore if necessary.
The file to restore and the control(s) to execute.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
.
Function called only for an Antares version >= 860.