Coder Social home page Coder Social logo

claraluisa / pyam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamconsortium/pyam

0.0 2.0 0.0 3.51 MB

an open-source Python package for IAM scenario analysis and visualization

Home Page: https://software.ene.iiasa.ac.at/pyam/

License: Apache License 2.0

Batchfile 0.01% Python 23.45% Jupyter Notebook 76.54%

pyam's Introduction

pyam: a Python toolkit for Integrated Assessment Modeling

The pyam package is still under heavy development; public and private APIs are subject to change.

Questions? Start a discussion on our listserv

Overview and scope

The pyam package provides a range of diagnostic tools and functions
for analyzing and working with IAMC-format timeseries data.

Features:

  • Summary of models, scenarios, variables, and regions included in a snapshot.
  • Display of timeseries data as pandas.DataFrame with IAMC-specific filtering options.
  • Simple visualization and plotting functions.
  • Diagnostic checks for non-reported variables or timeseries data to identify outliers and potential reporting issues.
  • Categorization of scenarios according to timeseries data or meta-identifiers for further analysis.

The package can be used with timeseries data that follows the data template convention of the Integrated Assessment Modeling Consortium (IAMC). An illustrative example is shown below; see data.ene.iiasa.ac.at/database for more information.

model scenario region variable unit 2005 2010 2015
MESSAGE V.4 AMPERE3-Base World Primary Energy EJ/y 454.5 479.6 ...
... ... ... ... ... ... ... ...

Tutorial

A comprehensive tutorial for the basic functions is included in tutorial/pyam_first_steps using a partial snapshot of the IPCC AR5 scenario database.

Documentation

The documentation pages can be built locally. See the instruction in doc/README.

Authors

This package was developed and is currently maintained by Daniel Huppmann (@danielhuppmann) and Matthew Gidden (@gidden).

License

Copyright 2017 IIASA Energy Program

The pyam package is licensed under the Apache License, Version 2.0 (the "License"); see LICENSE and NOTICE for details.

Python dependencies

  1. pandas v0.21.0 or higher
  2. matplotlib
  3. seaborn
  4. geopandas (optional)
  5. cartopy (optional)

Documentation Building Depedencies

  1. Sphinx <http://sphinx-doc.org/>_ v1.1.2 or higher
  2. sphinxcontrib.bibtex
  3. sphinxcontrib-fulltoc
  4. sphinx-gallery

Installation instructions

  1. Fork this repository and clone the forked repository (<user>/pyam) to your machine. To fork the repository, look for the fork icon in the top right at iiasa/pyam. Add iiasa/pyam as upstream to your clone.

    We recommend GitKraken for users who prefer a graphical user interface application to work with Github (as opposed to the command line).

Windows Users

  1. Double click on install.bat in the local folder where you cloned your fork.

*nix Users

  1. In a command prompt, execute the following command

    python setup.py install
    

pyam's People

Contributors

danielhuppmann avatar gidden avatar ofr-iiasa avatar znicholls avatar

Watchers

James Cloos avatar Clara 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.