Skip to content

Cannot get impacts from latest pymrio #166

@drosenfeld-technopolis

Description

@drosenfeld-technopolis

Hello,

I am trying to get D_cba and D_pba from the latest exiobase 3, and it does not seem to be working.

This is the code:

`download_exiobase_folder = PROJECT_DATA_PATH + '/EXIOBASE/raw_exiobase'

exio_downloadlog = pymrio.download_exiobase3(
storage_folder=download_exiobase_folder, system="ixi", years=range(2010,2023)
)

exio_path = PROJECT_DATA_PATH + f'/EXIOBASE/raw_exiobase2/IOT_2010_ixi.zip'

exio3 = pymrio.parse_exiobase3(path = exio_path)

exio3.calc_all()

exio3.impact.D_cba`

I get the following error: AttributeError: 'IOSystem' object has no attribute 'impact'.

Any idea why that might be? I know that the D_cba and D_pba dataframes are no longer included in the zip files, is that why? But I would have thought pymrio would re-calculate those.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions