Skip to main content

No project description provided

Project description

DRAINAGE DISCHARGE EVENT ANALYSIS

Catches EVENTS separating the event flow from base flow

Instructions

''' pip install EVENT_PACKAGE - This allows you install the package in shells like anaconda and powershell '''

There are two such categories to this package

a. You have the daily event data that can be called when the discharge data is in the daily data resolution 'from EVENT_PACKAGE import daily_event'

b. You have the hourly event data that can be called when the discharge data is in the hourly data resolution 'from EVENT_PACKAGE import hourly_event'

DATA TYPES

This code would require that you input 2 datas

DATA A - Discharge data

The discharge data should be saved in a txt file in a single column (i.e you can copy and paste the data column from excel)

DATA B - DATES

The dates should also be put in a txt file like in the same manner as the discharge data. (single column of dates)

Hourly

hourly data should be of the form mm/dd/yy hh example: 10/03/2025 2:00 (for October 3rd 2025 second hour (2nd hour)))

Note the time resolution is in the 24 hours scale 0:00 - 23:00

Daily

daily date should be in the form dd/mm/yy example: 10/01/2023 (for 10th January 2023)

file names

The files names should be

Daily data

a. Daily_Dates.txt for the daily dates TXT file

b. event_data.txt for the daily drainage discharge TXT file

hourly data

a. Hourly_Dates.txt for the hourly dates TXT file

b. hourly_event.py for the hourly drainage discharge TXT file

Location of txt file

The txt files should be save in the external folder holding the code

EXCUTE THE CODE

To excute the code you need to just call the module depending on what data you want to analyse

Daily Event Analysis

from EVENT_PACKAGE import daily_event

hourly Event Analysis

from EVENT_PACKAGE import hourly_event

NOTES!!!!

  1. MISSING DATA DOES NOT AFFECT THE PLOT SO DO NOT WORRY ABOUT CLEANING MISSING DATA

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

event_package-0.1.5.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

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

event_package-0.1.5-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file event_package-0.1.5.tar.gz.

File metadata

  • Download URL: event_package-0.1.5.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for event_package-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6a56345ecfdf8136d8cfcc35a37adc572f1292464889967e70322288e08ed8fc
MD5 961dca4c9bf6a7ef57a3af5a6b8de6b1
BLAKE2b-256 0fdfddcbca755341782528cef34ffee0434cfb3c91a801556b5fb21d7a1c5862

See more details on using hashes here.

File details

Details for the file event_package-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: event_package-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for event_package-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2720bbd6e09c32273e65f4856b5e28379ef5798e0154a7f79a859da24f3dbda2
MD5 9783894efe69a230e31b981bf4c13b4b
BLAKE2b-256 1ac60039b58a949419d187aea8e669acfdbc70dd4b78ef737f31416af04d5d8a

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