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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calligraph-0.1.1.dev7.tar.gz.
File metadata
- Download URL: calligraph-0.1.1.dev7.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
578343f8f2cf93d0e29690d3f4ca4371de40c81d4a3e08c8a1883339d397c361
|
|
| MD5 |
4b65737f9af7e32daaa5162a989d5566
|
|
| BLAKE2b-256 |
e65f7701c8026638b33b5bbd9934efcba87cf0d707e6ca55d54c3f67cc344486
|
File details
Details for the file calligraph-0.1.1.dev7-py3-none-any.whl.
File metadata
- Download URL: calligraph-0.1.1.dev7-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e87a0af65be6897b5b8d19acb28bdc475ba9df9c495cad87885461c029314a1c
|
|
| MD5 |
0986c291badb0fd4d8f3676e23990de4
|
|
| BLAKE2b-256 |
9584fe11049d7df1985e090f4cefb2354ebad439e522b73a3096278f16afc27e
|