We've trained a computer (AI) to predict future water levels using historical data ([1] and [2]) from rivers. We're also analyzing satellite images [3] to measure the weight of the water in rivers. By comparing this weight to known water levels, we can estimate the current depth of the river at any point.
To do this, we're using images from Sentinel-2 satellites and processing them to highlight water bodies. We then measure the distance between the water's edge and the riverbank on these images.
Data that we are using:
- River Water Level 2002-present (vector), global, Near Real Time – version 2
- Water Level Rivers 2002-present (vector), global, per overpass - version 2
- Normalized Difference Water Index Sentinel-2 images
Data that we collected for this project: 4. River Water Level Data in the EU
Live scripts:
- https://www.kaggle.com/code/sndorburian/get-the-shoreline-on-satellite-images?scriptVersionId=209282505
- https://www.kaggle.com/code/sndorburian/measure-distances-on-satellite-images/edit/run/209167117
- https://www.kaggle.com/code/sndorburian/using-sentinel-satellite-images/edit/run/209140110
The NDWI is used in
using-sentinel-satellite-images.ipynb
to monitor changes related to water content in water bodies. As water bodies strongly absorb light in the visible to the infrared electromagnetic spectrum, NDWI uses green and near-infrared bands to highlight water bodies. It is sensitive to built-up land and can result in over-estimating water bodies.
$$NDWI = \frac{green-nir}{green+nir}$$ Values Description: Index values greater than 0.5 usually correspond to water bodies. Vegetation usually corresponds to much smaller values and built-up areas between zero and 0.2.
more: https://custom-scripts.sentinel-hub.com/custom-scripts/hls/ndwi/
Distance measurements are crucial for analyzing spatial relationships in satellite images. By calculating the distance between various points of interest, we can derive meaningful insights about the geographical features and their spatial distribution.
In the measure-distances.ipynb
notebook, we utilize several methods to measure distances:
Geodesic Distance: This is the shortest distance between two points on the Earth's surface, considering the Earth's curvature. It is often calculated using the Haversine formula:
These distance measurements help in various applications such as mapping water bodies, monitoring environmental changes, and urban planning.
For more details, refer to the measure-distances.ipynb
notebook.