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 at least Three (3) data sets
DATA A - Discharge data
The Date in the first column of the CSV file
DATA B - DATES
The discharge data should be saved in a in the second column of the CSV file
DATA C - DATES
The concentration on the third column of the CSV file. if you do not have the concentration, fill up the column with '1's.
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!!!!
- MISSING DATA DOES NOT AFFECT THE PLOT SO DO NOT WORRY ABOUT CLEANING MISSING DATA
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file event_package-0.1.9.tar.gz.
File metadata
- Download URL: event_package-0.1.9.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
462cff01fb7d43cebf393f5bc87be4cc859f22a418b94b7318ed28fbed462a74
|
|
| MD5 |
d33c3e537e4d9d1f5fbe50321274abb4
|
|
| BLAKE2b-256 |
74cd49b378c814caa841aa71f6806c7a7ea890cfde06b9827aed216b980c03b7
|
File details
Details for the file event_package-0.1.9-py3-none-any.whl.
File metadata
- Download URL: event_package-0.1.9-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
638574e202bbc7104436653be415b8ae5533af9336d5434c2c8fd72edbbfc9ee
|
|
| MD5 |
f135883a9f0f16f4321f46dd5edcd2f3
|
|
| BLAKE2b-256 |
1bf91f5719c0d38ac9b787cc6d6072bb479606c286dcd4f4460adc1329f989a2
|