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 ;)



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.0.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

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

qplot-1.0.0-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qplot-1.0.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • 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.0.0.tar.gz
Algorithm Hash digest
SHA256 fa9743fc219250429c5a91a3b45fe82b102d578de973da268d9c1d95e2133785
MD5 ed4c06668e409cec5916731323b8ba06
BLAKE2b-256 6f0681d5b9ee1df5ed291ff001d10a31d9040d86b5a3b7853ceb0271addff7db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qplot-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 344114cee85c130665ba6c5cbac7b778beb3b441f075a4dc5415490e35d30fee
MD5 ce54f46eef2e4f1582ff4b605f641543
BLAKE2b-256 268d707c34acf945c7c5ebc44703125644695046d0bf7428395022d4142ad7b3

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