IAMconsortium / pyam

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

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

Closed rongqizhu closed 1 month ago

rongqizhu commented 1 month 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 1 month 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 1 month 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()