mario.parse_exiobase_rex(
path: str,
table: str = 'IOT',
year: int | None = None,
labels_path: str | None = None,
ghg_path: str | None = None,
download: bool = False,
overwrite_download: bool = False,
model: str = 'Database',
name: str | None = None,
calc_all: bool = False,
**kwargs,
)#

Parse the REX3 global monetary MRIO and its environmental extensions.

REX3 yearly tables and labels are distributed through Zenodo record 10354283. The detailed greenhouse-gas companion comes from record 14724086 and is always required and imported.

The five production-side coefficient rows for coal, oil, gas, biogenic emissions, and calcination are converted to absolute flows before MARIO constructs the database. LULUCF is read from its published absolute flow account so emissions assigned to zero-output sectors are not lost.

Parameters:
  • path (str) – local REX3 bundle root or one extracted REX3_<year> directory. If download=True, this is the download/cache directory.

  • table (str, optional) – only "IOT" is supported.

  • year (int, optional) – year to select. Required for automatic download and when a local root contains multiple yearly bundles.

  • labels_path (str, optional) – explicit companion directories. Normally they are auto-detected next to the yearly bundle or recursively under the common root. The economic and GHG records may be extracted into separate version subdirectories. Archives must be extracted before local parsing.

  • ghg_path (str, optional) – explicit companion directories. Normally they are auto-detected next to the yearly bundle or recursively under the common root. The economic and GHG records may be extracted into separate version subdirectories. Archives must be extracted before local parsing.

  • download (bool, optional) – download and extract the year, labels, and GHG companion automatically.

  • overwrite_download (bool, optional) – replace an existing local download/extraction.

  • calc_all (bool, optional) – whether to materialize derived MARIO blocks after parsing.

Notes

REX3 is always imported as the complete 189-region MRIO. Region slicing is intentionally unsupported because dropping the excluded trade blocks would produce an economically open and internally inconsistent sub-table.

See EXIOBASE REX3 for source files, directory layouts, memory requirements and the downloadable notebook. The two Zenodo records are pinned; later record versions are not substituted.

See EXIOBASE REX3 for source files and directory layouts.