Skip to main content

An interactive visualisation ananlyis tool for flow and input-output-storage data

Project description

Quickstart

pip install flowplot

from flowplot import cycle
cycle(r".\user-inputs\cycles\Overall.csv", delimiter=';')

Overview

flowplot is a visualisation and analysis tool for hydrological and general flow-stock, input-output-storage data for Python 🐳

Diagrams include

  • Cycle, including Circles, Bar graphs, and Line graphs
  • TSCompare Time series of multiple simulations and observations, with statistics
  • ExceedanceProb Exceedance probability and comparison, multiple simulations
  • BoxWhisker Box-whisker plots, multiple simulations
  • HeatSeason Seasonality, multiple simulations

flowplot_portfolio

User inputs

user-inputs folder includes:

cycles:

  • associates the cycle flows as in, out, storage, and sub-flows

flow time series:

  • Contains three columns for the date: YYYY, MM, DD
  • Column names match those indicated in the cycles csv above
  • There can be several csv files holding flow time series
  • Columns hold daily values of flows, with name and unit indicated in cycle csv

Units

  • standard
    • m3 (meaning m3/day)
    • m3s
      (meaning m3/second)
  • with option num_cells_domain:
    • mmcell (meaning mm/day/averaged across all cells)

    • m3cell (meaning m3/day averaged across all cells)

    • m3scell (meaning m3/second averaged across all cells)

  • with option cellsize_m2, assuming all cells are the same size in square metres
    • mm (meaning mm/day)
cycle(r".\user-inputs\cycles\Overall.csv", delimiter=';', cellsize_m2=1000*1000, num_cells_domain=153451)

Creates the following diagrams for a user-determined cycle:

  1. Circles, showing the partitioned inputs, outputs, net storage changes, and balance, aggregated spatiotemporally;
  2. Bar graphs, showing the partitioned inputs, outputs, net storage changes, and balance, aggregated spatiotemporal;
  3. Line graphs, overall, showing the inputs, outputs, net storage changes, and balance through time, aggregated spatially;
  4. Line graphs, partitioned, showing the partitioned flows through time, aggregated spatially. flowplot

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

flowplot-0.0.15.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

flowplot-0.0.15-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file flowplot-0.0.15.tar.gz.

File metadata

  • Download URL: flowplot-0.0.15.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for flowplot-0.0.15.tar.gz
Algorithm Hash digest
SHA256 aa31e554461cb5baaf5631994d5ce0a33d5676cbd38473342a35dc84d765eebd
MD5 58826f3c3f4122bb833254a51c9b806b
BLAKE2b-256 62e91acba99e9a75942c018c6197e564893f953446c67a71ddeab3abc9ec13af

See more details on using hashes here.

File details

Details for the file flowplot-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: flowplot-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for flowplot-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 4a2b373dd8684faaba254fb24a5ebb5e11bba991e18849431e553ce2c35f6d7e
MD5 f5ce866f945275b57757debe5610a13b
BLAKE2b-256 600eb833cda8f8cd38ebed8721eebcb0c0bba779239183ad6edf7c2d1c07b86a

See more details on using hashes here.

Supported by

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