feat(simulation): add support for reanalyse
When the request time range is before the forecast api scope, it is necessary to switch to an other api which gives access to historical data. This is achieved by two new mechanisms:
-
source.compute_real_dates
function which allows to determine which api to use based on the source information (thehistory_duration
parameter) - each source now has two urls and parameters: one for forecast and one for historical retrieval