Skip to main content

Package for managing codelists & attributes for IAMC-format datasets

Project description

nomenclature - Working with IAMC-format project definitions

Copyright 2021-2023 IIASA

This repository is licensed under the Apache License, Version 2.0 (the "License"); see the LICENSE for details.

license DOI python Code style: ruff pytest ReadTheDocs

Overview

The nomenclature package facilitates validation and processing of scenario data. It allows managing definitions of data structures for model comparison projects and scenario analysis studies using the data format developed by the Integrated Assessment Modeling Consortium (IAMC).

A data structure definition consists of one or several "codelists". A codelist is a list of allowed values (or "codes") for dimensions of IAMC-format data, typically regions and variables. Each code can have additional attributes: for example, a "variable" has to have an expected unit and usually has a description. Read the SDMX Guidelines for more information on the concept of codelists.

The nomenclature package supports three main use cases:

  • Management of codelists and mappings for model comparison projects
  • Validation of scenario data against the codelists of a specific project
  • Processing of scenario results, e.g. aggregation and renaming from "native regions" of a model to "common regions" (i.e., regions that are used for scenario comparison in a project).

The documentation is hosted on Read the Docs.

Integration with the pyam package

pyam logo

The nomenclature package is designed to complement the Python package pyam, an open-source community toolbox for analysis & visualization of scenario data. The pyam package was developed to facilitate working with timeseries scenario data conforming to the format developed by the IAMC. It is used in ongoing assessments by the IPCC and in many model comparison projects at the global and national level, including several Horizon 2020 & Horizon Europe projects.

The validation and processing features of the nomenclature package work with scenario data as a pyam.IamDataFrame object.

Read the pyam Docs for more information!

Getting started

To install the latest release of the package, please use the following command:

pip install nomenclature-iamc

Alternatively, it can also be installed directly from source:

pip install -e git+https://github.com/IAMconsortium/nomenclature#egg=nomenclature-iamc

See the User Guide for the main use cases of this package.

Acknowledgement

openENTRANCE logo

This package is based on the work initially done in the Horizon 2020 openENTRANCE project, which aims to develop, use and disseminate an open, transparent and integrated modelling platform for assessing low-carbon transition pathways in Europe.

Refer to the openENTRANCE/openentrance repository for more information.

EU logo This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 835896.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nomenclature_iamc-0.21.0.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

nomenclature_iamc-0.21.0-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

File details

Details for the file nomenclature_iamc-0.21.0.tar.gz.

File metadata

  • Download URL: nomenclature_iamc-0.21.0.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nomenclature_iamc-0.21.0.tar.gz
Algorithm Hash digest
SHA256 b8c4fc583b32f460e629174cf519e4d982aac95fde88344dfc0514ef0e53d844
MD5 c2247bcbc9a4a8ef16992f22ed89da5d
BLAKE2b-256 fffe0e1438a4529188a65ca535f4c0631830a84388ed2cb846984ba812d2faee

See more details on using hashes here.

Provenance

The following attestation bundles were made for nomenclature_iamc-0.21.0.tar.gz:

Publisher: publish.yaml on IAMconsortium/nomenclature

Attestations:

File details

Details for the file nomenclature_iamc-0.21.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nomenclature_iamc-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06f9877404ec8b8a9f8f437cf762e1a914fa18240389401a92f6f822655457e2
MD5 00617737f9c4ea8488286a2f32989377
BLAKE2b-256 f10881ea9cc06fefc59558a7aaf2c954ba72806e43ac660652a278f2104b5552

See more details on using hashes here.

Provenance

The following attestation bundles were made for nomenclature_iamc-0.21.0-py3-none-any.whl:

Publisher: publish.yaml on IAMconsortium/nomenclature

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page