Computer Laboratory

Introduction to Joule

Sankey Diagrams

Tree Map Diagrams

File Formats

Recovering Carbon Information

Configuration File

On start up, Joule reads a configuration file. This can be provided via a URL that indirects into Joule. Here is an example of such an indirection (this is http:/www.cl.cam.ac.uk/meters/vis/index.html):

(You will need to scroll.) This passes the configuration file from the local directory (http://www.cl.cam.ac.uk/meters/vis/config.json) to Joule. If Joule is not passed a configuration file in this way it will prompt the user for a configuration file. If this method is used, the configuration file must contain the tree file information as well.

Here is http://www.cl.cam.ac.uk/meters/vis/config.json (you will need to scroll to see all of it):

The fields you are most likely to change are the root URL for the meter information, the URL for the tree information, and possibly the default initial chart type. The json description for each item is hopefully clear. A config file with the tree file information embedded has a treeData object rather than a treeUrl object as shown here:

treeData objects are described here.