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):
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!
Hi,
I've been using RIME for some scenarios that don't report temperature, running
process_tabledata.pywithmode = "CO2". I was getting some unexpected results, and they seem to me due to the fact that these linesrime/rime/process_tabledata.py
Lines 105 to 118 in 141dda8
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):
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!