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 Date Format

hourly data should be of the form mm/dd/yy hh:mm 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 Date Format

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

Files names

The program asks for the name of the CSV file. Note!! - the file type ".csv" is important Example: if the file name is data.csv the code input should be 'data.csv' (Including the file type)

DATA ORGANIZATION IN THE CSV FILE

Daily

for daily data analysis, the data should be arranged in the format below

| Date | Drainage Discharge | Concentration | Water Table | Water Temp |

Note: You might not input all the date if for example you do not have Water table depth and/or Water Temp.

However, you must input the first 3 data columns must be filled.

If you do not have the Concentration data, fill up the column with '1'.

Example: Concentration 1 1 1 ...

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

hourly data

for hourly data analysis, the data should be arranged in the format below

| Date | Drainage Discharge | Concentration | Water Table | Water Temp |

Note: You might not input all the date if for example you do not have Water table depth and/or Water Temp.

However, you must input the first 3 data columns must be filled.

If you do not have the Concentration data, fill up the column with '1'.

Example: Concentration 1 1 1 ...

Location of txt file

The CSV files should be save in the same folder as the code (Running script)

EXCUTE THE CODE

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

For 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.8.tar.gz (21.7 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.8-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for event_package-0.1.8.tar.gz
Algorithm Hash digest
SHA256 b5aea62f277f18395223cb34e72fa28f256ab07785d4c98b359e0ed9ac5565ba
MD5 574053160a44e5f178bf3025de10b627
BLAKE2b-256 3b322a55ccaed4a62a566d0acde4f5c747e1ad235977050f0decf40294632031

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for event_package-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 293c82d25114172461c9c3d69ed3f9be1047365846b98684194b9888e9aeb3c3
MD5 0c58b8952f93d1d65b995fe2777bba06
BLAKE2b-256 ea59714d5fbf11ef93018ab0667bf6749b5fc19f8bbf10a4ab8ef1b22e30bdc1

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