You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand, this reads in a file and maps the REGION_GEA column with the countries. This function could be more versatile if the region mapping could be provided as an argument to the function, either as a filename or a df
Also reading, wasn't clear to me why UKESM file is used for the population.. # merge with UKESM1-0-LL population data so that all gcms use the same population data
Thanks for this! Agreed that it would be better to have files read as inputs instead of hard-coded when possible, so this is on my TODO list.
Also reading, wasn't clear to me why UKESM file is used for the population.. # merge with UKESM1-0-LL population data so that all gcms use the same population data
# merge with UKESM1-0-LL population data so that all gcms use the same population data
Yes so to clarify, when we moved to running multiple GCMs there was a bug in the code that led to there being different population values across GCMs (which I don't think should be the case), which in turn led to strange energy intensities. At that time, due to time constraints, my tempfix was to just use the UKESM "population" data (which I don't think is really the UKESM's population data, but rather the SSP population data that got merged with the UKESM CHILLED run) across all GCMs in one of the more downstream calculations/aggregations.
Not a good practice though -- would be better if I can track down what was causing that issue to begin with upstream and fix it there.
message-ix-buildings/message_ix_buildings/chilled/analysis/aggregate.py
Lines 102 to 104 in 6cde97d
As I understand, this reads in a file and maps the REGION_GEA column with the countries. This function could be more versatile if the region mapping could be provided as an argument to the function, either as a filename or a df
@measrainsey
Also reading, wasn't clear to me why UKESM file is used for the population..
# merge with UKESM1-0-LL population data so that all gcms use the same population data
message-ix-buildings/message_ix_buildings/chilled/analysis/aggregate.py
Line 178 in 6cde97d
The text was updated successfully, but these errors were encountered: