to_Antares_Format | R Documentation |
This function converts water values generated by meanGridLayer
or
waterValues
to the format expected by Antares: a 365*101 matrix, where
the rows are the 365 days of the year and the columns are round percentage values
ranging from 0 to 100 assessing the reservoir level.
Since meanGridLayer
and waterValues
output weekly values for an
arbitrary number of reservoir levels, interpolation is performed on both scales
in order to fit the desired format.
to_Antares_Format(data, constant = T)
data |
A 7-column data.table generated by |
constant |
Boolean. Generate daily constant values by week. FALSE to do interpolation. |
A 365*101 numeric matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.