IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
236 stars 120 forks source link

read_iiasa() - run too long when ignoring 'variable' #855

Closed rongqizhu closed 6 months ago

rongqizhu commented 6 months ago

I want to load all model-scenarios in "ar6-public" when ignoring variable, but it seems to run for a long time. What should I do to solve it? Thanks a lot. image

danielhuppmann commented 6 months ago

For large queries, it‘s better to download the file from the AR6 Scenario Explorer. Or you get the list of model-scenario combinations using

conn = pyam.iiasa.Connection(“ar6-public”)
scenario_list = conn.properties()

and then iterate over the individual model-scenario combinations.

rongqizhu commented 6 months ago

For large queries, it‘s better to download the file from the AR6 Scenario Explorer. Or you get the list of model-scenario combinations using

conn = pyam.iiasa.Connection(“ar6-public”)
scenario_list = conn.properties()

and then iterate over the individual model-scenario combinations.

Thanks @danielhuppmann, I got the initial IamDataFrame from your method, and I will continue to work on it. conn = pyam.iiasa.Connection(“ar6-public”) scenario_list = conn.properties()