message_ix_models.model.transport.report.latest_reporting_from_file
- message_ix_models.model.transport.report.latest_reporting_from_file(info: ScenarioInfo, base_dir: Path) tuple[Any, int, DataFrame] [source]
Locate and retrieve the latest reported output for the scenario info.
The file
transport.csv
is sought in a subdirectory of base_dir identified byScenarioInfo.path
.Todo
Move upstream, to
message_ix_models
.- Returns:
The path of the file read.
int
: The scenario version corresponding to the data read.pandas.DataFrame
: the data.
If no data is found, all the elements are
None
.- Return type: