gdromops
Load reservoir operation rules (CT + modules) from GitHub on demand and simulate releases/storage.
Install (editable dev)
pip install -e .
Quick start
from gdromops import RuleEngine
import pandas as pd
# Timeseries must include columns: Date, Inflow, Storage, DOY, PDSI
df = pd.read_csv("your_timeseries.csv", parse_dates=["Date"])
eng = RuleEngine(grand_id=41) # downloads rules from GitHub (cached locally)
out = eng.simulate_release_and_storage(df)
print(out.head())
Configuration
Default rules base (GitHub raw) is set in gdromops/config.py. Set env var GDROMOPS_CACHE
to change the cache directory.
Metadata
Release files for gdromops 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gdromops-0.1.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gdromops-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / gdromops-0.1.0.tar.gz
| Download URL | gdromops-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5b10d34cd227f81b8b08785fba5ca3cbae2afcf075edfbe0d683e05a24dd708
|
|
BLAKE2b-256 checksum How to use checksums |
59bf266b49d23b9b61a29e0a2003ea37b42fa77a3bb600d774938fe519d6c874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / gdromops-0.1.0-py3-none-any.whl
| Download URL | gdromops-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9812a7a009e460a94773e051b7d84672478f193fc86f766608350c6e72c64c4
|
|
BLAKE2b-256 checksum How to use checksums |
d3c8a394db2d3755f57be7c42a4cfcac7f435060f86a24a997184bf1b54e7ce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|