pymrio.load

pymrio.load(path, include_core=True)

Loads a IOSystem or Extension previously saved with pymrio

This function can be used to load a IOSystem or Extension specified in a ini file. DataFrames (tables) are loaded from text or binary pickle files. For the latter, the extension .pkl or .pickle is assumed, in all other case the tables are assumed to be in .txt format.

Parameters:
  • path (string) – path or ini file name for the data to load
  • include_core (boolean, optional) – If False the load method does not include A, L and Z matrix. This significantly reduces the required memory if the purpose is only to analyse the results calculated beforehand.
Returns:

  • IOSystem or Extension class depending on systemtype in the json file
  • None in case of errors