Skip to content

Computing climate impacts from CO2 emissions #49

@marcogambarini

Description

@marcogambarini

Hi,
I've been using RIME for some scenarios that don't report temperature, running process_tabledata.py with mode = "CO2". I was getting some unexpected results, and they seem to me due to the fact that these lines

dfp = prepare_cumulative(df_scens_in, years=years, use_dask=True)
ts = dfp.timeseries().apply(co2togwl_simple)
ts = pyam.IamDataFrame(ts)
ts.rename(
{
"variable": {ts.variable[0]: "RIME|GSAT_tcre"},
"unit": {ts.unit[0]: "°C"},
},
inplace=True,
)
# Export data to check error and relationships
# ts.append(dfp).to_csv('c://users//byers//downloads//tcre_gwl_output.csv')
dfp = ts
dfp.meta = df_scens_in.meta.copy()

compute temperature outcomes by region, considering only each region's contribution to the global CO2 emissions. I've tried to fix this in my fork, here marcogambarini@486d50f. Testing the fix on scenarios where I also have results obtained from temperature data, they look reasonable (these are hazard scores weighted by population for the Rest of Asia (R10) region):

Image Image Image

Was this behavior expected and is then the user supposed to handle the mode==CO2 case differently (or not use it all)? Otherwise I hope this can be useful.

Thanks a lot for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions