ageraustine commited on
Commit
683ebff
·
verified ·
1 Parent(s): 4bb7968

Delete datasets/README.md

Browse files
Files changed (1) hide show
  1. datasets/README.md +0 -320
datasets/README.md DELETED
@@ -1,320 +0,0 @@
1
- # Datasets Documentation
2
-
3
- **Project:** Physics-Informed KARST-Aware GNN for Streamflow Prediction
4
- **Study Area:** La Risle and La Eure River Systems, Seine Basin, France
5
- **Period:** 1960-2026 (historical data)
6
-
7
- ## Directory Structure
8
-
9
- ```
10
- datasets/
11
- ├── station_list.csv # 27 stations metadata (coordinates, names)
12
- ├── selected_stations.csv # 27 selected station codes
13
- ├── IDPR_values.csv # BRGM infiltration/runoff index (27 stations)
14
- ├── ADES/ # Groundwater data (KARST connectivity)
15
- │ ├── groundwater_stations.csv # 114 groundwater monitoring wells
16
- │ ├── groundwater_levels_watershed.csv# 272,379 groundwater level measurements
17
- │ ├── stations_metadata.csv # 10,001 stations (full ADES database)
18
- │ └── ADES_data_fetching.py # Data collection script
19
- ├── Watersehd_risle/ # La Risle watershed boundary
20
- │ └── Watershed_Risle.shp # Shapefile (EPSG:2154)
21
- ├── Watershed_Eure/ # La Eure watershed boundary
22
- │ └── Watershed_Eure.shp # Shapefile (EPSG:2154)
23
- ├── Risle_Eure_watershed/ # Merged watershed boundary
24
- │ └── Risle_Eure_Watershed.shp # Combined shapefile (EPSG:2154)
25
- └── River Images/ # Reference maps
26
- ├── Carte-de-la_Seine-390x305.png
27
- ├── Eure_(rivière).png
28
- └── Risle.png
29
- ```
30
-
31
- ## Available Data
32
-
33
- ### 1. Hydrometric Stations (`station_list.csv`)
34
-
35
- **File:** `station_list.csv`
36
- **Rows:** 27 stations
37
- **Columns:**
38
- - `X`, `Y` - Lambert 93 coordinates (EPSG:2154)
39
- - `station_code` - Unique station identifier (e.g., H602021010)
40
- - `region_name` - NORMANDIE
41
- - `departament_name` - ORNE or EURE
42
- - `station_name` - Full station name
43
- - `municipality` - Municipality name
44
- - `INSEE` - INSEE code
45
- - `id_root` - Root identifier
46
- - `lon`, `lat` - WGS84 coordinates
47
- - `lon-lat-ID` - Combined identifier
48
-
49
- **Basin Distribution:**
50
- - **La Risle:** 12 stations (e.g., La Risle à Rai, La Risle à Brionne, etc.)
51
- - **La Eure:** 13 stations (e.g., L'Eure à Chartres, L'Eure à Louviers, etc.)
52
- - **Tributary:** 1 station (Le bras de l'Eure à Lormaye)
53
-
54
- **Sample Stations:**
55
- ```
56
- H602021010 - La Risle à Rai (48.749°N, 0.582°E)
57
- H605641401 - La Risle à Barquet (49.034°N, 0.808°E)
58
- H620021010 - La Risle à Brionne
59
- H4202010 - L'Eure à Chartres
60
- H4522010 - L'Eure à Louviers
61
- ```
62
-
63
- ### 2. Selected Stations (`selected_stations.csv`)
64
-
65
- **File:** `selected_stations.csv`
66
- **Rows:** 27 stations
67
- **Content:** List of selected station codes for analysis
68
-
69
- ### 3. IDPR Data (`IDPR_values.csv`)
70
-
71
- **File:** `IDPR_values.csv`
72
- **Source:** BRGM (Bureau de Recherches Géologiques et Minières)
73
- **Rows:** 27 stations
74
- **Purpose:** Infiltration vs runoff tendency (KARST indicator)
75
-
76
- **Columns:**
77
- - `fid` - Feature ID
78
- - `X`, `Y` - Original coordinates
79
- - `X_lambert`, `Y_lambert` - Lambert 93 coordinates
80
- - `station_id` - Station identifier
81
- - `basin_name` - "La Risle" or "La Eure"
82
- - `latitude`, `longitude` - WGS84 coordinates
83
- - `IDPR` - **Infiltration Dominance vs Precipitation Runoff index**
84
- - Higher values → More infiltration (karst behavior)
85
- - Lower values → More surface runoff
86
-
87
- **IDPR Range in Dataset:**
88
- - La Risle: 885 - 2000
89
- - Indicates varying karst influence across the basin
90
-
91
- ### 4. ADES Groundwater Data
92
-
93
- **Source:** ADES (Accès aux Données sur les Eaux Souterraines)
94
- **Purpose:** Karst groundwater connectivity, subsurface flow pathways
95
-
96
- #### 4.1 Groundwater Stations (`ADES/groundwater_stations.csv`)
97
-
98
- **Rows:** 114 groundwater monitoring wells in watershed
99
- **Columns:**
100
- - `code_bss` - BSS code (unique well identifier)
101
- - `urn_bss` - URN identifier
102
- - `date_debut_mesure`, `date_fin_mesure` - Measurement period
103
- - `code_commune_insee`, `nom_commune` - Municipality
104
- - `x`, `y` - Coordinates
105
- - `bss_id` - Short BSS ID
106
- - `altitude_station` - Well altitude (m)
107
- - `nb_mesures_piezo` - Number of piezometric measurements
108
- - `code_departement`, `nom_departement` - Department (61=Orne, 27=Eure)
109
- - `profondeur_investigation` - Investigation depth (m)
110
-
111
- **Sample Wells:**
112
- - BSS000TTRG (Le Mage, Orne) - 137 measurements, depth 38m, altitude 231m
113
- - BSS000TTRB (Longny les Villages) - 9 measurements, depth 55m, altitude 235m
114
-
115
- #### 4.2 Groundwater Levels (`ADES/groundwater_levels_watershed.csv`)
116
-
117
- **Rows:** 272,379 piezometric measurements
118
- **Period:** Various (e.g., 2013-present for some wells)
119
- **Columns:**
120
- - `code_bss`, `bss_id`, `urn_bss` - Well identifiers
121
- - `date_mesure` - Measurement date
122
- - `timestamp_mesure` - Unix timestamp
123
- - `niveau_nappe_eau` - Groundwater level (m above reference)
124
- - `profondeur_nappe` - Depth to water table (m below surface)
125
- - `mode_obtention` - Measurement method
126
- - `statut` - Data status ("Donnée contrôlée niveau 2")
127
- - `qualification` - Data quality ("Correcte", etc.)
128
- - `code_producteur`, `nom_producteur` - Data producer
129
-
130
- **Note:** This is time series data for groundwater levels, crucial for understanding subsurface karst connectivity.
131
-
132
- #### 4.3 ADES Metadata (`ADES/stations_metadata.csv`)
133
-
134
- **Rows:** 10,001 stations (full ADES database, not filtered)
135
- **Purpose:** Reference metadata for all groundwater stations in France
136
-
137
- ### 5. Watershed Shapefiles
138
-
139
- #### 5.1 La Risle Watershed (`Watersehd_risle/Watershed_Risle.shp`)
140
-
141
- **CRS:** EPSG:2154 (Lambert 93 - French national projection)
142
- **Features:** 1 multipolygon
143
- **Attributes:**
144
- - `ID_INTERNE` - Internal ID (e.g., Sav21_226)
145
- - `ID_FONCTIO` - Functional ID
146
- - `NOM` - Watershed name
147
- - `SITUATION_` - Situation/status
148
-
149
- #### 5.2 La Eure Watershed (`Watershed_Eure/Watershed_Eure.shp`)
150
-
151
- **CRS:** EPSG:2154 (Lambert 93)
152
- **Features:** 1 multipolygon
153
- **Attributes:** Same as La Risle
154
-
155
- #### 5.3 Merged Watershed (`Risle_Eure_watershed/Risle_Eure_Watershed.shp`)
156
-
157
- **CRS:** EPSG:2154 (Lambert 93)
158
- **Features:** 1 multipolygon (merged boundary)
159
- **Attributes:**
160
- - `FID` - Feature ID
161
- - `geometry` - Geometry
162
-
163
- **Note:** This merged shapefile covers both La Risle and La Eure basins for basin-wide analysis.
164
-
165
- ### Hydrometric Data (Hub'Eau API)
166
-
167
- **Status:** Downloaded and available datasets/hydrometric
168
- **Expected:** JSON and CSV files for 27 stations (1960-2026)
169
-
170
- **Historical Statistics (Daily/Monthly):**
171
- - `QmnJ` / `QmM` - Mean discharge (m³/s)
172
- - `QIXnJ` / `QIXM` - Maximum instantaneous discharge (m³/s)
173
- - `QINnJ` / `QINM` - Minimum instantaneous discharge (m³/s)
174
- - `HIXnJ` / `HIXM` - Maximum water level (m)
175
-
176
- **Real-Time Observations (5-min interval, ~1 month):**
177
- - `H` - Water level (m)
178
- - `Q` - River discharge (m³/s)
179
-
180
- ### Meteorological Data (SAFRAN Reanalysis)
181
-
182
- **Status:** datasets/safran
183
- **Expected:** JSON and CSV files for 27 stations (1960-2026)
184
-
185
- **Variables (12):**
186
- - `DLI_Q` - Atmospheric radiation (W/m²)
187
- - `DRAINC_Q` - Drainage (mm)
188
- - `ETP_Q` - Potential evapotranspiration (mm)
189
- - `FF_Q` - Wind speed (m/s)
190
- - `HU_Q` - Relative humidity (%)
191
- - `PRELIQ_Q` - Liquid precipitation (mm)
192
- - `PRENEI_Q` - Solid precipitation (mm)
193
- - `RESR_NEIGE_Q` - Snowpack water equivalent (mm)
194
- - `RUNC_Q` - Runoff (mm)
195
- - `SSI_Q` - Visible radiation (W/m²)
196
- - `SWI_Q` - Soil moisture index
197
- - `T_Q` - Average air temperature (°C)
198
-
199
- ### DEM and Topographic Data
200
-
201
- **Status:** datasets/station_elevations.csv
202
- **Required for:**
203
- - Elevation statistics (mean, min, max)
204
- - Basin slope calculation
205
- - Drainage density
206
- - Topographic Wetness Index (TWI)
207
- - River network topology extraction (QGIS hydrology tools)
208
-
209
- **Recommended Source:**
210
- - IGN RGE ALTI (French national DEM, 1m or 5m resolution)
211
- - EU-DEM (25m resolution)
212
-
213
- ### River Network Topology
214
-
215
- **Status:** ❌ Not yet in repository
216
- **Required:** `station_edges.csv` for graph construction
217
-
218
- **Expected Format:**
219
- ```csv
220
- source,target,distance,elevation_gradient,basin_id
221
- H602021010,H605641401,15.2,10.0,0
222
- H605641401,H620021010,12.5,-5.0,0
223
- ...
224
- ```
225
-
226
- **Generation Method:**
227
- - Use QGIS DEM hydrology processing tools
228
- - Extract upstream-downstream relationships
229
- - Calculate river distances and elevation gradients
230
- - Ensure no cross-basin edges (La Risle ≠ La Eure)
231
-
232
- ### Basin Attributes (To Be Extracted)
233
-
234
- **Status:** ❌ Not yet extracted from shapefiles/DEM
235
-
236
- **Topological:**
237
- - Elevation, slope, drainage density, TWI, basin area
238
-
239
- **Soil Properties:**
240
- - Soil type, texture, hydraulic conductivity, porosity, depth
241
-
242
- **Land Use:**
243
- - Forest/agricultural/urban cover %, NDVI
244
-
245
- **Geological/KARST:**
246
- - Aquifer characteristics, lithology, permeability, sinkhole density
247
-
248
- ## Data Processing Notes
249
-
250
- ### Basin Assignment
251
-
252
- Based on station names in `station_list.csv`:
253
-
254
- **La Risle Stations (basin_id = 0):**
255
- - 12 stations with names starting with "La Risle"
256
- - Station codes: H60*, H62*
257
-
258
- **La Eure Stations (basin_id = 1):**
259
- - 13 stations with names starting with "L'Eure"
260
- - Station codes: H42*, H45*, H46*, H47*
261
- - Includes tributary: "Le bras de l'Eure"
262
-
263
- ### Coordinate Systems
264
-
265
- **All geospatial data uses:**
266
- - **Projected:** EPSG:2154 (Lambert 93) for distances/areas
267
- - **Geographic:** EPSG:4326 (WGS84) for lat/lon
268
-
269
- **Conversion needed for:**
270
- - Station coordinates (already in both systems in `station_list.csv`)
271
- - Shapefiles (already in EPSG:2154)
272
-
273
- ### Data Size Summary
274
-
275
- | File | Rows | Size | Notes |
276
- |------|------|------|-------|
277
- | `station_list.csv` | 27 | 4.1 KB | Station metadata |
278
- | `selected_stations.csv` | 27 | 338 B | Station codes only |
279
- | `IDPR_values.csv` | 27 | 2.6 KB | KARST infiltration index |
280
- | `ADES/groundwater_stations.csv` | 114 | ~50 KB | Groundwater wells |
281
- | `ADES/groundwater_levels_watershed.csv` | 272,379 | ~50 MB | **Large!** Time series |
282
- | `ADES/stations_metadata.csv` | 10,001 | ~2 MB | Full ADES database |
283
-
284
- **⚠️ Note:** `groundwater_levels_watershed.csv` is the largest file (272K rows). Use efficient processing (chunking, filtering by date range).
285
-
286
- ## Next Steps
287
-
288
- 1. **Collect Hydrometric Data**
289
- - Use Hub'Eau API to download discharge/water level data
290
- - Store in `datasets/hydrometric/` (JSON and CSV)
291
-
292
- 2. **Collect SAFRAN Data**
293
- - Download meteorological reanalysis for 27 station coordinates
294
- - Store in `datasets/safran/` (JSON and CSV)
295
-
296
- 3. **Acquire DEM**
297
- - Download IGN RGE ALTI or EU-DEM for study area
298
- - Store in `datasets/DEM/`
299
-
300
- 4. **Extract River Topology**
301
- - Use QGIS DEM hydrology tools
302
- - Generate `datasets/station_edges.csv`
303
-
304
- 5. **Extract Basin Attributes**
305
- - Use DEM to calculate topological features
306
- - Use soil/land use databases for additional features
307
- - Store in `datasets/basin_features/`
308
-
309
- 6. **Process Data Through Pipeline**
310
- - Run `example_pipeline.py` once all data is available
311
- - Generate fused datasets, graphs, and tensors
312
-
313
- ## Data Sources & References
314
-
315
- - **Hub'Eau API:** https://hubeau.eaufrance.fr/
316
- - **SAFRAN Reanalysis:** Météo-France
317
- - **ADES:** https://ades.eaufrance.fr/ (groundwater data)
318
- - **BRGM IDPR:** Bureau de Recherches Géologiques et Minières
319
- - **IGN:** https://geoservices.ign.fr/ (DEM, elevation data)
320
- - **Watersheds:** Digitized from official French hydrographic boundaries