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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file calligraph-0.1.1.dev0.tar.gz
.
File metadata
- Download URL: calligraph-0.1.1.dev0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee8c4fe1b57c9f264179a75a2bfdcefb32d2b90e5635b8b73ced534f89d9a975 |
|
MD5 | f27d1b62b5b9cd93ab0aa0720d21672f |
|
BLAKE2b-256 | 86ddfd97bef2dfd3e765169e1787b0173ea05055b5d0cf4641d6f4e5586dee94 |
File details
Details for the file calligraph-0.1.1.dev0-py3-none-any.whl
.
File metadata
- Download URL: calligraph-0.1.1.dev0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b51616f5ec878d49c7524621db67279909963ab91cc5d2150900d24017fe7867 |
|
MD5 | 2329082d628f68c062086ad82538c914 |
|
BLAKE2b-256 | 93cd496ec9ea02ff7b92740059bea4542bb0e494381263e440b36e7ca58f8292 |