Coder Social home page Coder Social logo

yasirhassan2 / climate-assessment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iiasa/climate-assessment

0.0 0.0 0.0 233.8 MB

Home Page: https://climate-assessment.readthedocs.io/en/latest

License: MIT License

Shell 0.03% Python 87.34% Makefile 0.49% Jupyter Notebook 11.99% Dockerfile 0.15%

climate-assessment's Introduction

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


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.

Attention!

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

climate-assessment's People

Contributors

danielhuppmann avatar gabriel-abrahao avatar jkikstra avatar lewisjared avatar phackstock avatar znicholls avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.