Skip to content

Simple functions to load the mixed-unit Exiobase input-output tables as pyMRIO object

Notifications You must be signed in to change notification settings

majeau-bettez/mixedunit_pymrio_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mixed-unit PyMRIO Loader

A simple module (one fonction, really) to load the mixed-unit version of Exiobase as a PyMRIO object.

Only applies to the symmetric input-output (HIOT) version 3.3.17 of Hybrid Exiobase.

Usage with Exiobase files as downloaded

import mixedunit_pymrio_loader as ml

io = ml.load_pxp_io('path-to-data-directory', version='3.3.17')

Note that, as the original exiobase files are saved as .xlsb file, the function depends on version~1.0 of pandas and on pyxlsb.

Alternative, compatibility option

If we save the original files (.xlsb) as OfficeOpen XML files (.xls):

import mixedunit_pymrio_loader as ml

io = ml.load_pxp_io('path-to-data-directory', version='3.3.17', file_format='xlsx')

About

Simple functions to load the mixed-unit Exiobase input-output tables as pyMRIO object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages