message_ix_models.model.transport.report.latest_reporting_from_platform

message_ix_models.model.transport.report.latest_reporting_from_platform(info: ScenarioInfo, platform: ixmp.Platform, minimum_version: int = -1) Tuple[Any, int, DataFrame][source]

Retrieve the latest reported output for the scenario described by info.

The time series data attached to a scenario on platform is retrieved.

Todo

Move upstream, to message_ix_models.

Returns:

  1. The Scenario object.

  2. int: The scenario version corresponding to the data read.

  3. pandas.DataFrame: the data.

If no data is found or the latest version with reporting time series data is <= minimum_version, all the elements are None.

Return type:

tuple