Make array current
array_current.Rd
`array_current()` transforms a list of 2D-arrays on a list of 3D-arrays by taking into account information on current. Called in `make_curve()`.
Usage
array_current(x, current = floodam.agri::CURRENT, current_start, level)
Arguments
- x
list of 2D-arrays (height, duration).
- current
data.frame, correspondance between velocity qualitative classes and their numeric value. Default to floodam.agri::CURRENT.
- current_start
parameter of the damaging curve giving what is the starting level of current for which the curve is valid.
- level
character, levels of current to be included.