Skip to main content

Visualisation tool for Calliope.

Project description

Calligraph: Calliope model result graphing and visualisation tool

Calligraph is a tool to interactively explore and visualise Calliope model results.

[!IMPORTANT] Note that this is pre-release software and there are likely to bugs. Please report issues and feedback on GitHub!

[!CAUTION] Calligraph only works with Calliope 0.7 or higher. If you are running Calliope 0.6 or lower, use the built-in visualisation tools instead.

Installation

pip install calligraph

Use

Save a solved Calliope model to a NetCDF file with model.to_netcdf() or by using the appropriate settings with the Calliope command-line interface. Then run calligraph in the command line:

$ calligraph your_model_results.nc

This launches Calligraph's web interface in the default web browser on your system. To use a custom port, supply the --port PORTNUMBER option; if you do not want the default web browser to open, specify -nb or --no-browser.

To experiment with the built-in urban-scale model:

import calliope
m = calliope.examples.urban_scale(time_subset=None)
m.run()
m.to_netcdf("urban_scale.nc")

Then:

$ calligraph urban_scale.nc

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

calligraph-0.1.1.dev2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

calligraph-0.1.1.dev2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file calligraph-0.1.1.dev2.tar.gz.

File metadata

  • Download URL: calligraph-0.1.1.dev2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for calligraph-0.1.1.dev2.tar.gz
Algorithm Hash digest
SHA256 3d9475dc228c96703b4d1613ba0373a63c0a4cce3b2dcbdb43e35831401e05bf
MD5 ac9673445a1007576a2fd294febe43e6
BLAKE2b-256 268f4bf642ebd8611aff8f4a272fc105e3670f8c346c62b15e8cbc7877e8d45b

See more details on using hashes here.

File details

Details for the file calligraph-0.1.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for calligraph-0.1.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4624ad27bd48f6a225c13a7220fd6d0485347c94d12d8fd36ee44d301733fd0
MD5 4fa54a684565a76d87f1f25ee3aafff8
BLAKE2b-256 882c7ff9bb8c9ff532d9834c3c3c7f62bb79272b6c5e7ed18bff658f43378429

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