Skip to main content

Climate assessment of long-term emissions pathways: IPCC AR6 WGIII version

Project description

climate-assessment - Assessing the climate outcomes of future emissions scenarios

image


Please note that climate-assessment is still in early developmental stages, thus all interfaces are subject to change.

The package climate-assessment provides the possibility to reproduce the climate variable data for the working group III (WGIII or WG3) contribution to the IPCC Sixth Assessment (AR6) report, using climate emulators that were used in the working group I (WGI or WG1) contribution to AR6. It also allows for assessing new emissions pathways in a way that is fully consistent with AR6.

Installation

Note: the package's requirements are currently extremely strict. This is done to make it more likely that installation will result in a valid environment. If you want a fully specified environment, please use the poetry.lock or requirements.txt file provided in this repository. We hope to make the package more libary-like, with looser requirements, in future.

Using pip

pip is Python's default package management system.

[!CAUTION] Due to the better dependency resolution installing with pip>=22 is recommended.

If you install Anaconda, then pip is also usable. pip can also be used when Python is installed directly, without using Anaconda.

  1. Ensure pip is installed ---with Anaconda, or according to the pip documentation.
  2. Open a command prompt and run:
  pip install climate-assessment

From source

(Optional) If you intend to contribute changes to climate-assessment, installing directly from source is the way to go.

Detailed instructions on how to do this can be found in the documentation under https://climate-assessment.readthedocs.io/en/latest/install.html.

Documentation

All documentation, including installation instructions, can be found at https://climate-assessment.readthedocs.io/.

License

Licensed under an MIT License. See the LICENSE file for more information.

Development

Raising an issue

If you have a suggestion for development, or find a bug, please report this under: https://github.com/iiasa/climate-assessment/issues.

Running the tests

The tests can be run with pytest. On a Linux system, you should run something like MAGICC_PROBABILISTIC_FILE=path/to/probabilistic-file pytest tests. Note that for the tests to work properly, you must set up your .env file (see "Environment" section above). On Windows, the environment variables (like MAGICC_PROBABILISTIC_FILE=path/to/probabilistic-file) should be set system-wide, and the command reads pytest tests.

Formatting code

Before committing or merging code, the following lines should be run to ensure that the formatting is consistent with what is expected by the Continuous Integration setup (for users with make installed, make checks will run these for you):

black src scripts tests setup.py
isort src scripts tests setup.py
flake8 src scripts tests setup.py

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

climate_assessment-0.1.6.tar.gz (458.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

climate_assessment-0.1.6-py3-none-any.whl (464.3 kB view details)

Uploaded Python 3

File details

Details for the file climate_assessment-0.1.6.tar.gz.

File metadata

  • Download URL: climate_assessment-0.1.6.tar.gz
  • Upload date:
  • Size: 458.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for climate_assessment-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4beb79fcc3983710ad4f4241804857cbd2c354d624b6c4de8a5e28ab70500cb0
MD5 41008e51e4ef239dfbdc026152c160e4
BLAKE2b-256 71a0ba9509ba2b309f9d6fc4efef9c80fa129f0d49a277876d9e719d02caff73

See more details on using hashes here.

Provenance

The following attestation bundles were made for climate_assessment-0.1.6.tar.gz:

Publisher: publish.yaml on iiasa/climate-assessment

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climate_assessment-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for climate_assessment-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 99de7bc0f3d772b3bc2af0a5634364d22d7ea7799277d7229010362c54c79c85
MD5 5621f70c8443843d7e1bb81a380e04b3
BLAKE2b-256 75f3ac010adc2042c9f714bc90c98371dfbd071af40c163dbb148a98fabb94f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for climate_assessment-0.1.6-py3-none-any.whl:

Publisher: publish.yaml on iiasa/climate-assessment

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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