message_ix_models.tools.iea.web

Tools for IEA (Extended) World Energy Balance (WEB) data.

Module Attributes

DIMS

Dimensions of the data.

FILES

Mapping from (provider, year, time stamp) → set of file name(s) containing data.

Functions

fwf_to_csv(path[, progress])

Convert the IEA fixed-width file format to CSV.

generate_code_lists(provider, edition[, ...])

Extract structure from the data itself.

iea_web_data_for_query(base_path, ...)

Load data from base_path / filenames in IEA WEB formats.

load_data(provider, edition[, query_expr, path])

Load data from the IEA World Energy Balances.

unpack_zip(path)

Unpack a ZIP archive.

Classes

IEA_EWEB(source, source_kw)

Provider of exogenous data from the IEA Extended World Energy Balances.