Skip to content

feat(simulation): add support for reanalyse

Jean Felder requested to merge reanalyse into dev

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 (the history_duration parameter)
  • each source now has two urls and parameters: one for forecast and one for historical retrieval

Merge request reports