Diagnostics¶
historical.diagnostic
contains two kinds of diagnostics, which are descriptions of part or all of a data set:
coverage concerns which areas (countries or regions), time periods, and measures are included, or not.
quality includes sanity checks, such as computed/derived statistics for data, and their comparison to reference values.
Automated diagnostics¶
These can be run using the CLI command ixmp historical diagnostic FOLDER
.
Output is produced in a new folder named FOLDER
.
Diagnostics for historical data sets.
Specific diagnostic tests¶
A001¶
- item.historical.diagnostic.A001.ARGS = ['T000']¶
Input arguments
A002¶
- item.historical.diagnostic.A002.ARGS = ['T000', 'T008']¶
Input arguments
- item.historical.diagnostic.A002.compute(activity: DataFrame, stock: DataFrame) DataFrame [source]¶
Quality diagnostic for vehicle utilization.
- Parameters:
activity (pandas.DataFrame) – From
T000
.stock (pandas.DataFrame) – From
T008
.
A003¶
- item.historical.diagnostic.A003.ARGS = ['T003', 'T009']¶
Input arguments
- item.historical.diagnostic.A003.compute(activity, stock)[source]¶
Quality diagnostic for freight load factor.
Returns the ratio of road freight traffic from
T003
and the total number of freight vehicles fromT009
.- Parameters:
activity (pandas.DataFrame) – From
T003
.stock (pandas.DataFrame) – From
T009
.