--- license: cc-by-4.0 task_categories: - tabular-classification - feature-extraction tags: - environment - rivers - pollution - geospatial - europe size_categories: - 100K 0, z > 3, prev-z > 1.5) | Column | Type | Description | |--------|------|-------------| | `facility_id` | int | Facility identifier | | `date` | datetime | 10-day bin start | | `quarter` | int | Calendar quarter (1–4), used for seasonal baseline | | `poly_hash_upstream` | string | Upstream polygon hash | | `poly_hash_downstream` | string | Downstream polygon hash | | `ndci_mean_upstream` / `_downstream` | float | NDCI means per direction | | `ndci_n_valid_upstream` / `_downstream` | int | Valid pixel counts | | `turb_mean_upstream` / `_downstream` | float | Turbidity means | | `turb_n_valid_upstream` / `_downstream` | int | Valid pixel counts | | `valid_bin_ndci` / `valid_bin_turb` | bool | Passes pixel-count quality filter | | `delta_ndci_raw` | float | Raw downstream − upstream NDCI | | `date_median_ndci` | float | Cross-facility median NDCI delta on this date (removed artifact) | | `delta_ndci` | float | Spatially detrended NDCI delta | | `delta_turb_raw` / `delta_turb` | float | Same for turbidity | | `baseline_med_ndci` / `baseline_mad_ndci` | float | Seasonal baseline median and MAD | | `z_delta_ndci` / `z_delta_turb` | float | Robust z-scores of detrended deltas | | `z_delta_ndci_prev` / `z_delta_turb_prev` | float | Previous-bin z (persistence) | | `low_baseline_data` | bool | True if < 8 bins in the seasonal group | | `high_confidence_ndci` / `high_confidence_turb` | bool | Anomaly flag per signal | | `any_anomaly` | bool | Either signal flagged | | `event_key` | string | Links to event in `facility_anomalies_events.parquet` (null if not in a kept event) | **Coverage:** 4.26 M rows · 20,755 facilities · 255 unique dates ### `facility_anomalies_events.parquet` (tiny) Consolidated pollution events — one row per unique (upstream polygon, downstream polygon, time window) after deduplication. Single-bin events and events where the downstream signal is not worse than upstream are excluded. | Column | Type | Description | |--------|------|-------------| | `event_id` | string | Unique event key (e.g. `12345_e3`) | | `facility_id` | int | Representative facility for this polygon pair | | `start_date` | datetime | First flagged bin | | `end_date` | datetime | Last flagged bin | | `duration_bins` | int | Number of flagged 10-day bins | | `peak_z_ndci` | float | Maximum z-score (NDCI) across bins in event | | `peak_z_turb` | float | Maximum z-score (turbidity) across bins in event | | `mean_z_ndci` / `mean_z_turb` | float | Mean z-scores over event | | `signal_type` | string | `"ndci"`, `"turb"`, or `"both"` | | `poly_hash_upstream` / `poly_hash_downstream` | string | Physical polygon pair (dedup key) | **Coverage:** 42 events · 36 unique polygon pairs · 2017–2023 **Thresholds used:** z > 3.0, prev-bin z > 1.5, ≥ 2 consecutive bins, detrended delta > 0, seasonal MAD baseline requires ≥ 8 bins per quarter. ## License CC-BY-4.0. See source datasets for their respective licenses. ## Citation If you use this dataset, please cite the source datasets: - Lehner, B., Grill G. (2013): Global river hydrography and network routing: baseline data and new approaches to study the world's large river systems. Hydrological Processes, 27(15): 2171–2186. - European Environment Agency (EEA) Industrial Emissions Database - Copernicus EU-Hydro River Network Database