Cleaning, validation and visualisation of daily hydrological data (river flow, water level) from Poland's national service (IMGW-PIB). Domain-aware quality control turns raw, messy public data into a trustworthy dataset.
- Parses a non-standard CSV (
cp1250, double-quoted, no header) - Detects and neutralises missing-value codes
- Validates against physically impossible values, with domain-based decisions
- Builds a date axis correcting for the hydrological year
- Plots flow and water level over time
Source: IMGW-PIB open data — file codz_2024. Free for private/educational use. A single-station sample in data/ lets the notebook run out of the box.
pip install pandas numpy matplotlib jupyterlab
jupyter lab imgw_hydro_2024.ipynbPython · pandas · numpy · matplotlib
