Skip to main content

cbm_runner is a python package for running carbon budget simulations.

Project description

# cbm_runner version 0.2.0

Here, cbm_runner is a python package for dealing with the automation and running of a complex series of models involving the European economy, carbon budgets and their interactions. Notably in relation to the CBM-CFS3 model developed by Canada.

## Warnings

This package is currently under heavy development and the master branch is subject to breaking changes at each commit. If you are interested in using this package in your own installation, please contact the authors.

## Installing

No automated installation has been developed for the cbm_runner package yet. In the meantime, following this document and typing these commands on your command-line interface should get you started. If you cannot get a functional installation set up, contact the authors.

#### Step 1: Cloning the repository Here you will download a copy of the code from github and place it in your file system.

$ cd / $ mkdir repos $ cd repos $ git clone https://emsincllu@webgate.ec.europa.eu/CITnet/stash/scm/bioeconomy/cbm_runner.git

NB: Currently the access to this repository is restricted.

#### Step 2: Modify your python search path Here you will edit your .bashrc or .bash_profile to add a reference to the module you just downloaded. If you are on Windows, you can change your environment variables with the setx command.

$ vim ~/.bash_profile export PYTHONPATH=”/repos/cbm_runner/”:$PYTHONPATH

When you type import cbm_runner python will know where to look.

#### Step 4: Install all required python packages cbm_runner uses many third party python libraries. You can get them by running these commands:

$ pip install –user autopaths $ pip install –user plumbing $ pip install –user pymarktex $ pip install –user pbs

#### Step 3: Follow other instructions

Setting up the machine and installing the required programs is covered in hte gcbmio repository.

## Data Flowchart Below is drawn the flowchart describing the data processing along all the steps of cbm_runner:

![Flowchart](documentation/data_flowchart.png)

## Objects Diagram Below is presented a tentative UML-style diagram detailing not the inheritance of the classes but the use of the composition design pattern between the objects created.

![Diagram](documentation/objects_diagram.png)

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

cbm_runner-0.2.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

cbm_runner-0.2.0-py2-none-any.whl (6.3 kB view details)

Uploaded Python 2

File details

Details for the file cbm_runner-0.2.0.tar.gz.

File metadata

  • Download URL: cbm_runner-0.2.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.10

File hashes

Hashes for cbm_runner-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4d33d2c0955d655fc7c55a1b5e9b0e8ce3676d2dd75e4f2e6f168baa4aa155cf
MD5 0d79c26974c0f7e555b7e5a19951f03c
BLAKE2b-256 e8dd7a87304d1f0fa17b098abc5a783b4a8d7026a99b62681faed3bc3dbaef2f

See more details on using hashes here.

File details

Details for the file cbm_runner-0.2.0-py2-none-any.whl.

File metadata

  • Download URL: cbm_runner-0.2.0-py2-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.10

File hashes

Hashes for cbm_runner-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4ae9408d44375ca262eb93cc533e4ca543365a58192e611e32f0b0768c8bd83b
MD5 3e198a5829fb3d21ab3997011797f271
BLAKE2b-256 1e7bf3c5a4914932da5393b034e99f4242a414bc19424dfd7c8d57e5eba489b4

See more details on using hashes here.

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