Skip to content

Add mapping for IFs v8.54 - #23

Merged
danielhuppmann merged 5 commits into
mainfrom
mappings/IFs_v8.54
Jun 9, 2026
Merged

Add mapping for IFs v8.54#23
danielhuppmann merged 5 commits into
mainfrom
mappings/IFs_v8.54

Conversation

@danielhuppmann

Copy link
Copy Markdown
Member

This PR implements the mapping started by @VassilisDaioglou in IAMconsortium/common-definitions#410, but it omits the model-name-prefix because the native regions are all countrIy names.

I double-checked the codes used by IFs v8.54 against the nomenclature.countries module (read the docs) and found the following inconsistencies:

  • IFs code -> alpha_3 code (country name)
  • KSV -> KOS (Kosovo)
  • ROM -> ROU (Romania)
  • TMP -> TLS (Timor-Leste)
  • WBG -> PSE (Palestine)

Any chance to harmonise the IFs v8.54 reporting to use the correct alpha-3 codes?

Also, there is a discrepancy: in the mapping, the code "COG" is mapped to "Democratic Republic of the Congo", but according to https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3, COG stands for Congo and COD stands for "Democratic Republic of the Congo". Please double-check.

FYI @dc-almeida @lisahligono

Updated inconsistencies:

KSV -> KOS (Kosovo)
ROM -> ROU (Romania)
TMP -> TLS (Timor-Leste)
WBG -> PSE (Palestine)

Renamed "Democratic Republic of Congo" to "Congo" as required.
Make changes from previous commit consistent across aggregation levels.
@VassilisDaioglou

Copy link
Copy Markdown
Contributor

Hi @danielhuppmann , can you check (and approve?) the corrections i have made in #24? Thanks!

@danielhuppmann

Copy link
Copy Markdown
Member Author

Thanks for the PR and ping @VassilisDaioglou. While double-checking, I noticed that at least these small countries only appear in the "World" mapping, not the R5/R9/R10 aggregates. If it is only those, it probably doesn't matter - or do you want to take another look?

@VassilisDaioglou

Copy link
Copy Markdown
Contributor

@danielhuppmann thanks for checking this. Indeed a deeper check showed multiple problems with quite a few countries missing from R5/9/10 aggregation, as well as some mistakes. I think i have fixed them all in #25 - please check.

Corrected mutliple issues with aggregation to R5/9/20 regions.
@danielhuppmann

Copy link
Copy Markdown
Member Author

Thanks @VassilisDaioglou for checking carefully. I trust that this is ok now. And once @dc-almeida will implement a proper country-to-Rx-aggregation Processor, this will never be as tedious again... IAMconsortium/nomenclature#587

@danielhuppmann
danielhuppmann merged commit 7e1857c into main Jun 9, 2026
3 checks passed
@danielhuppmann
danielhuppmann deleted the mappings/IFs_v8.54 branch June 9, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants