Skip to main content

Visualization of SciGRID_gas networks structures

Project description

qplot
=============


`qplot` is matplotlib based Python library to visualize `SciGRID_gas data  <https://www.gas.scigrid.de/downloads.html>`_ 

It is independent of the `SciGRID_gas main library <https://www.gas.scigrid.de/downloads.html>`_ or 
the `osmscigrid library  <https://www.gas.scigrid.de/downloads.html>`_.


Features
--------

What it provides:

- Automatic and customisable visualisation of SciGRID_gas data
- Visualisation of a backgroundmap for Europe or one of its states
- Piperoutes can be colormapped to parameters
- The thickness of Piperoute can be mapped to parameters 
- Components other than Piperoutes can be made clickable to provide meta information (beta)
- A mechanism to read SciGRID_gas data from CSV files into a SciGRID_gas network class.



Installation
------------

``qplot`` depends on a Python version of 3.6 or above as well as the
following libraries:

-   "matplotlib==3.3.3",
-   "mplcursors>=0.3",
-   "PyShp",
-   "numpy==1.19.4",
-   "pathlib>=1.0.1",
-   "descartes==1.1.0",
-   "adjustText==0.7.3",
-   "Unidecode==1.1.1",
-   "Shapely==1.7.1"

Use ``pip`` to install ``qplot``:

.. code:: bash

    $ pip install qplot

From there you can import the quickplot function via:

.. code:: bash

    $from qplot.qplot import quickplot

Download of WorldBorders
------------------------

In the next step you need to navigate to

https://thematicmapping.org/downloads/world_borders.php

and download the TM_WORLD_BORDERS-zipfile.

You can pass the variable 'TM_Borders_filename'
to the quickplot function.

The presetting is: 
TM_Borders_filename='../TM_World_Borders/TM_WORLD_BORDERS-0.3.shp'
Please remember to use '\' as folder separator if you are a Windows user ;)

Documentation
-------------
For more details, jump to the
[documentation](https://dlr-ve-esy.gitlab.io/qplot/).

License
-------

``qplot`` is licensed under the `GNU General Public License version
3.0 <https://www.gnu.org/licenses/gpl-3.0.html>`_.


The Team
--------

``qplot`` is developed at the
`DLR <https://www.dlr.de/EN/Home/home_node.html>`_ Institute of
`Networked Energy Systems
<https://www.dlr.de/ve/en/desktopdefault.aspx/tabid-12472/21440_read-49440/>`_
in the departement for `Energy Systems Analysis (ESY)
<https://www.dlr.de/ve/en/desktopdefault.aspx/tabid-12471/21741_read-49802/>`_.

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

qplot-1.1.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qplot-1.1.0-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file qplot-1.1.0.tar.gz.

File metadata

  • Download URL: qplot-1.1.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for qplot-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bc66e4380221201f8fab938064169f2853332ab1f12ebfd077a5101202a6daec
MD5 d40bfd9a28fc2d27140f2581ca1bd6c1
BLAKE2b-256 476697450126f7401d3a06c03d4d66e745726085449a143c07c1b66f0541f701

See more details on using hashes here.

File details

Details for the file qplot-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qplot-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for qplot-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da9b4eb8d6a4be52b152a1efa0fc6d120ba2e8bd33b483978ef8333835752810
MD5 f7c0804858f8767b49124d6e5122c56e
BLAKE2b-256 dcd0fb0f5b6a7a557d9f0707aa6bb39cde2d7109456caeb2d38819b0d71b7769

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page