Skip to content

Repository for definitions and mappings in model comparison projects

License

Notifications You must be signed in to change notification settings

witch-team/common-definitions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common definitions for model comparison projects

License: CC0-1.0 Code style: black

Overview

This repository holds definitions and mappings for model-comparison projects. The aim is to provide a central location to facilitate reuse of definitions and mappings across projects.

Project nomenclature

The folder definitions contains the project nomenclature, i.e., list of allowed variables and regions, for use in the validation workflow. See the nomenclature package for more information (link).

The folder mappings contains models-specific region-processing mappings.

Model registration

This is the step-by-step guide to registering your model:

  1. Fork this repository

  2. Follow the instructions from the nomenclature documentation here: https://nomenclature-iamc.readthedocs.io/en/stable/user_guide/model-registration.html. Please make sure to follow the instructions completely, both the Model mapping and the Region definitions part. You'll have to end up with two files.

  3. Open a pull request into this repository. Make sure that the tests run through and correct any potential issues. If the tests are failing you can view the details by clicking on the failed test run.

  4. Set @danielhuppmann and @phackstock as reviewers.

  5. Once everything is in order we will merge your pull request and your model will be registered.

Workflow

The module workflow.py has a function main(df: pyam.IamDataFrame) -> pyam.IamDataFrame:.

Per default, this function takes an IamDataFrame and returns it without modifications. Read the docs for more information about the pyam package for scenario analysis and data visualization.

Important: Do not change the name of the module workflow.py or the function main as they are called like this by the Job Execution Service. Details can be found here.

About

Repository for definitions and mappings in model comparison projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published