Skip to contents

Compute a calendar of exposition taking into account evolution

Usage

prepare_calendar_exposition(cal, sector)

Arguments

cal

Calendar object or a list of Calendar objects.

sector

Sector object or a list of Sectors objects.

Value

The value returned depends on the type of both inputs.

If cal and sector are objects, prepare_calendar_exposition() returns a list with two elements: damage and component calendars. Those calendars have the form of an array with 3 dimensions: flood, stakes, and year. The detail by scenario is not kept because it does not make sense for comparison between different projects.

If only sector is a list of Sector objects, the function returns a list of the same size as sector.

If only cal is a list of Calendar objects, the function returns a list of the size as cal.

If both cal and sector are list, the function returns a list of the size of cal, each element being a list of the size of sector.

Details

The calendar of damage and complement impact of flooding by taking into account the weight of each flood, the weight for each scenario, the damage (or complement impact) for each stake.

If present in sector, the evolution is also taken into account.

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org