Skip to main content

The Ember Factory

Objective

The purpose of this software is to facilitate the (re)production of burning ember diagrams of the style used in IPCC reports. An example is figure 2 from the Summary for Policymakers of the Special Report on a global warming of 1.5°C: SR15 Figure SPM.2.

The Ember Factory is a small web application ('the factory') that relies on the related EmberMaker project (...'the machine') to produce the diagrams. While the EmberFactory produces diagrams in just a few clicks, EmberMaker can be integrated into other applications as a library.

The ability of this software to reproduce many of the figures published to date by the IPCC has been carefully tested (however, the IPCC would not be responsible for any errors in this software).

How to use

This software (hereafter 'the EF') is designed to work as a web application. However, it is relatively easy to run it "locally":

  • The application is publicly available here: https://climrisk.org/emberfactory

  • To run it on your own computer, you need to have Python >= 3.10 installed, then install the EF with pip: pip3 install emberfactory Then set the environment variable needed by flask: export FLASK_APP=emberfactory (for Windows: $env:FLASK_APP = "emberfactory") and start with flask run. You should receive an url to open in your browser and access the EF, such as for example http://127.0.0.1:5000/

  • To run the app on a server, you need a WSGI server such as Gunicorn (not included in the required packages because you do not need it to run the EF locally, and you may have another WSGI server).
    If you want a root path such as /emberfactory, the EF is written so that you should set this path in the APPLICATION_ROOT variable within a file called emberfactory.cfg that needs to be located in your /instance folder (this is not entirely standard).

Development history

This software was created by philippe.marbaix -at- uclouvain.be at the end of 2019. The first objective was to produce figure 3 of Zommers et al. 2020 (doi.org/10/gg985p). Improvements were regularly provided during 2020 and this will likely continue if there are needs. Some aspects of the coding may still reflect the logic of the first versions rather than what would be done if starting from scratch; changes are done when they become useful, as experience also drives further development. Any feedback is thus very helpful!

Help is welcome to further improve the application. All contributions will be recognised :-).

No tracking

I am making efforts to avoid anything that could result in user tracking: no fonts, icons or libraries downloaded from third-parties by the user. I would like this to continue in the future. Advice would be welcome. It is also why the code is hosted by framasoft using gitlab. I thank them both.

Metadata

Release files for EmberFactory 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EmberFactory 2.2.0
File Size Uploaded
emberfactory-2.2.0.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for EmberFactory 2.2.0
File Interpreter ABI Platform
emberfactory-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / emberfactory-2.2.0.tar.gz

Download URL emberfactory-2.2.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
93608a4fd3c343d3c642419b6b4a10755882bc5375ab0b2b1da4eef8ba5b2dca
BLAKE2b-256 checksum
How to use checksums
9273bdfa1e5b15785949d946840d0144fe4697c395e3f02c62b7fccd5ad6b1e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / emberfactory-2.2.0-py3-none-any.whl

Download URL emberfactory-2.2.0-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cbe69e3272f6d2b569af32b1358cc069423e4b2e64e101c303d6dd1dda8453fa
BLAKE2b-256 checksum
How to use checksums
a9b8895176c7c0c876ae80c79bcf439814c739291ea9fc3e44bbbee78f84fffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.0

1 release file

1.5.1

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page