Surface water from headwaters to lagoon: rainfall, soil moisture and flooding
Rainfall, soil moisture and radar flooding, 2019–2024
Abstract
The Ogun River drains about 22,165 km² of south-west Nigeria into the Lagos Lagoon. Rainfall and soil wetness are plausible controls on how much of its floodplain floods. We assembled a monthly satellite record for January 2019 to December 2024 of rainfall (CHIRPS), shallow soil moisture (ERA5-Land), radar floodplain inundation (Sentinel-1), an optical comparison series (Dynamic World) and lagoon turbidity (Sentinel-2), averaged over four sub-basins and a lagoon zone, and tested whether rainfall and soil moisture are associated with inundation, and inundation with turbidity, at lags of zero to two months for rainfall and soil moisture against inundation, and in the same month for inundation against turbidity. Associations were measured with Spearman's rho and autocorrelation-adjusted p-values, and the five headline relationships on month-to-month anomalies were corrected once for multiple testing. The main finding is about the radar index itself: it is nearly as high in February–March as in October and lowest in June–August, which points to dry-season detections, possibly because its dry-season baseline is built from the same months it is tested against. Its associations with rainfall and soil moisture on raw monthly values (ρ = −0.43 two months apart and ρ = −0.38 in the same month) follow the seasons, so they are not evidence about flooding, and their p-values are optimistic because the autocorrelation adjustment does not allow for the annual cycle. Once the seasonal cycle is removed, none of the headline relationships is significant (the largest, between inundation and lagoon turbidity, is ρ = +0.32, q = 0.15). The radar index and the Dynamic World series agree in their seasonal pattern (ρ = +0.42) but not in their anomalies (ρ = +0.14). Both are high in the dry season and Dynamic World shows almost no water in the wet season, so both seasonal patterns are artefacts and their agreement supports neither, and Dynamic World is not a usable flood reference here. Rainfall and soil moisture follow the seasons, but the radar index has not been shown to measure flooding, so the study cannot yet say how flooding responds to them. It is best read as a test of a satellite flood index, which the index did not pass.
- Months of satellite data
- 72
- Analytical units
- 5
- Catchment area, km²
- 22,165
Keywords: Ogun River; hydrology; floodplain inundation; soil moisture; Sentinel-1; CHIRPS; ERA5-Land; Dynamic World; lagoon turbidity; Nigeria
1 Introduction
Floodplains store water and sediment between a river and its estuary. How much of a floodplain goes under water in a given month depends on rainfall, on how wet the soil already is, and on any reservoir upstream. Radar satellites can map inundation through cloud. The Sentinel-1 processing chain developed for automated flood mapping (Twele et al., 2016) is one such approach, and Dynamic World provides an optical land-cover record that includes open water and flooded vegetation (Brown et al., 2022).
In our review, limited evidence was found for a single satellite record that combines rainfall, soil moisture, floodplain inundation and lagoon turbidity at monthly resolution. This study asks whether such a record can show how rainfall and soil moisture relate to floodplain inundation, and whether inundation relates to turbidity in the lagoon, over 2019 to 2024.
2 Study area
The Ogun River drains about 22,165 km² of south-west Nigeria. The catchment is divided into four hydrological sub-basins, Z1 to Z4, derived from HydroBASINS level 9 (Lehner & Grill, 2013). They run from the upland headwaters in the north, through the Oyan tributary and the mainstem, to an alluvial corridor on the lower floodplain. The fifth unit, Z5, is the part of a lagoon box at the river's outlet that lies outside the catchment. It is not a watershed, and it is used mainly for turbidity; rainfall and soil moisture are reported for it in the tables for completeness.
Figure 1 is an interactive map. Choose a variable to recolour the units. Table 1 gives the same values as text. The band in Figure 2 shows the order of the units from headwaters to lagoon.
Loading map…
| Unit | Area (km²) | Rain (mm/month) | Soil moisture (m³/m³) | Radar index (km²) | Dynamic World (km²) |
|---|---|---|---|---|---|
| Z1 Upper Ogun Headwaters | 9,574 | 109 | 0.29 | — | 27.6 |
| Z2 Oyan–Ofiki Tributary | 9,334 | 106 | 0.30 | — | 49.5 |
| Z3 Middle Ogun Mainstem | 2,413 | 111 | 0.31 | 0.41 | 11.4 |
| Z4 Lower Ogun Alluvial Corridor | 843 | 124 | 0.31 | 0.15 | 7.2 |
| Z5 Northwest Lagos Lagoon Estuary | 283 | 139 | 0.18 | — | — |
- Z1Headwaters9,574 km²109 mm/month
- Z2Oyan–Ofiki9,334 km²106 mm/month
- Z3Mainstem2,413 km²111 mm/month
- Z4Alluvial corridor843 km²124 mm/month
- Z5Lagoon zone283 km²139 mm/month
3 Methodology
- 1AcquireSentinel-1 radar, Sentinel-2 optical, CHIRPS rainfall, ERA5-Land soil moisture, Dynamic World land cover
- 2MaskKeep only ground with JRC occurrence below 80%, height above drainage below 15 m, slope below 5°
- 3ThresholdRadar water: VV below −16.5 dB and at least 3 dB darker than the January–March reference
- 4AggregateRadar is reduced at 120 m and Dynamic World at 60 m, rainfall and soil moisture at their native resolution, turbidity at 30 m; areas in km²; radar not interpreted for Z1 and Z2
- 5TestSpearman ρ on monthly values, adjusted for autocorrelation, with false-discovery-rate correction
Table 2 lists the data sources. Radar and Dynamic World are summed over Z3 and Z4 only, the two units in the export's floodplain domain. Radar values are not interpreted for Z1 and Z2, where dry-season radar artefacts make them unreliable; this follows the explorer.
| Variable | Product | Resolution | Processing |
|---|---|---|---|
| Rainfall | CHIRPS pentad (Funk et al., 2015) | 0.05° | Monthly total; kept when at least five pentads exist |
| Shallow soil moisture | ERA5-Land monthly (Muñoz-Sabater et al., 2021) | 0.1° | Volumetric water, 0–7 cm |
| Floodplain inundation (index) | Sentinel-1 GRD, VV, IW, ascending | 10 m, focal 50 m | Radar water index; uncalibrated |
| Flooding reference | Dynamic World V1 (Brown et al., 2022) | 10 m | Water or flooded vegetation, same domain |
| Lagoon turbidity | Sentinel-2 SR | 10 m | NDTI = (B4 − B3)/(B4 + B3) over open water (MNDWI > 0) |
| Reservoir | Sentinel-1 open water, Oyan Reservoir | 10 m | Area used as a regulation proxy; dam releases not available |
| Catchment and units | HydroBASINS level 9 (Lehner & Grill, 2013) | Vector | Upstream units traced from the Ogun mouth |
3.1 Satellite data
All series come from Google Earth Engine (export v2.4.0), monthly from January 2019 to December 2024, giving 72 months. Every published value was exported by script version 2.4.0, as recorded in each row of the monthly data file. The Earth Engine script in this repository is labelled 2.5.0 and has not been re-run on these exports, so the two versions are not yet reconciled. Rainfall is the Climate Hazards Group InfraRed Precipitation with Stations product (CHIRPS; Funk et al., 2015) at 0.05°, summed to monthly totals, and a month is kept only where at least five pentads are available. The map's annual rainfall per unit comes from the annual export; twelve times the mean of the monthly series agrees within 3 mm for the other units but gives 1,667 mm instead of 1,698 mm for Z5, the smallest unit, where few rainfall grid cells fall inside the boundary. Shallow soil moisture is the volumetric water content of the 0–7 cm layer from ERA5-Land (Muñoz-Sabater et al., 2021) at 0.1°. The radar inundation index uses Sentinel-1 GRD backscatter in VV polarisation, ascending IW passes, with a focal filter of 50 m. The processing is related to the automated approach of Twele et al. (2016) but is not the same chain, and the index is not calibrated against gauge or optical water extent. Dynamic World V1 (Brown et al., 2022) gives an optical comparison series over the same floodplain domain, available in 67 months. Lagoon turbidity is the normalised difference turbidity index (NDTI) from Sentinel-2 surface reflectance over open water (modified NDWI above zero), which is available in 62 months. NDTI is an uncalibrated spectral indicator; it is not in NTU or mg/L. All 10 missing months fall between June and September, the cloudy wet season.
The upstream reservoir is represented by the Sentinel-1 open-water area of Oyan Reservoir. This is a proxy for regulation, not a release record: no dam-release data were available.
3.2 Detection rules and reduction scales
Radar water is counted only where four conditions hold: VV backscatter is below −16.5 dB; it is at least 3 dB darker than the January–March reference for 2019–2024; the slope is below 5°; and the pixel is outside permanent water (JRC occurrence below 80%) and less than 15 m above the nearest drainage (MERIT Hydro). A fixed threshold alone may flag some dry-season ground as water, which is why the reference and the slope and drainage conditions are used. The monthly radar series is summed over the floodplain (Z3 and Z4) at 120 m. Dynamic World water and flooded-vegetation labels use the same permanent-water and drainage masks. Turbidity is the NDTI over open water (JRC occurrence of at least 50%), reduced at 30 m. These thresholds are choices made for this study, not values taken from the cited literature.
Two context layers are shown on the map, not used in any statistic. Terrain is the Copernicus DEM GLO-30 at 30 m, shown as a hillshade. Land cover is ESA WorldCover 2021 at 10 m, with an overall accuracy of 76.5% for Africa (Zanaga et al., 2022). Both are read through Microsoft Planetary Computer. Permanent water in the land-cover layer shows the Oyan Reservoir.
3.3 Spatial aggregation
Each variable is averaged over the pixels of its unit. Radar values are not used for Z1 and Z2, the upland units, following the rule applied in the explorer. Dynamic World and turbidity are available only where those units have valid observations, and the number of valid months is kept with every mean.
3.4 Seasonal cycle and anomalies
Two forms of each series are analysed. The raw monthly series show any seasonal co-variation. The anomaly series remove the seasonal cycle by subtracting, from each month, the mean for that calendar month across the six years. An anomaly therefore measures how much wetter, drier, more or less flooded than usual a given month was. With six years, each calendar month has only six values, so the climatology is itself uncertain.
3.5 Association and correction for multiple testing
Association is measured with Spearman's rank correlation (rho). Rho is used because the series are not normally distributed, and the diagnostics record that choice. Pearson's r and its confidence interval are reported for transparency, but they do not decide significance, because a single extreme month can dominate Pearson's r. Each p-value is adjusted for autocorrelation with an effective sample size. Pairs are tested at lags of zero, one and two months, so that a response within the same or the next two months can be seen.
The five headline relationships on anomalies form one family, and their p-values are corrected together with the Benjamini–Hochberg false discovery rate (Benjamini & Hochberg, 1995). The corrected value is reported as q. A relationship is called significant only if q is below 0.05.
3.6 Robustness
Robustness was tested for one pair only, rainfall against radar inundation at lag zero, by leaving out each month in turn and by removing the single month that most affects the result. The reservoir control was tested by removing the linear effect of reservoir area before testing rainfall against inundation.
3.7 Scope of inference
The analysis uses satellite proxies, not measurements. Rainfall is not groundwater recharge, and soil wetness in the top 7 cm is not groundwater availability. The study has no discharge observations, so it makes no claim about river flow. It has no groundwater observations, so it makes no claim about aquifers. Coastal position is not evidence of coastal vulnerability. The results are associations at monthly resolution, not causes.
4 Results
4.1 Seasonal pattern
Averaged by calendar month, rainfall peaks in October, soil moisture in September and the radar inundation index in October. The radar index also has a February–March peak, comparable to its October peak. The largest radar value is 3.58 km², in October 2024. The optical Dynamic World series reaches 283 km² in its largest month, so the two are on very different scales (Figure 3).
Loading the monthly series…
4.2 Associations on raw values and on anomalies
On raw monthly values, rainfall and radar inundation are negatively associated two months apart: rain two months earlier goes with less flooding now (ρ = −0.43, q = 0.006). A one-month lag is borderline (ρ = −0.29, q = 0.052). Soil moisture and flooding in the same month show a negative association too (ρ = −0.38, q = 0.037). Two series that followed the same annual cycle would correlate positively; these correlations are negative. The most likely reading is that dry-season radar detections drive them, which would be an artefact rather than a hydrological link. Once the seasonal cycle is removed, none of them is significant (Figure 4). The seasonal relationships are therefore not evidence that rainfall drives flooding.

4.3 Month-to-month anomalies
With the seasonal cycle removed, rainfall and flooding in the same month show a weak, non-significant rank correlation (ρ = +0.11, q = 0.44), and one month later (ρ = +0.15, q = 0.44). Neither is significant after correction. The Pearson correlation for the same month is +0.38, with a 95% interval of +0.17 to +0.57, but it depends on one month: leaving out October 2024 gives r = +0.19 (95% interval −0.05 to +0.41). Soil moisture and flooding give ρ = −0.07 (q = 0.65). None of the 5 headline relationships is significant after correction. Figure 5 shows the same comparison as scatter plots.
The Oyan Reservoir control leaves the same-month anomaly association almost unchanged (ρ = +0.12, against +0.11 without the control). The reservoir proxy does not explain the absence of a month-to-month link. Because no release records were available, the regulation effect is only partly tested.
4.4 Flooding, lagoon turbidity and the optical reference
Lagoon turbidity and radar inundation anomalies show a weak, non-significant rank correlation (ρ = +0.32, q = 0.15), the largest association among the headline relationships, but not significant after correction. The radar index ranks months like Dynamic World over the seasonal cycle (ρ = +0.42), but not in anomalies (ρ = +0.14, q = 0.44). Its values are far smaller than the optical extent, so its values should be read as uncalibrated detections, not as a measured flood area (Figure 3).

5 Wet–dry season contrasts and what a groundwater test would need
Figure 6 shows the four links the study measures or models, from rainfall to lagoon turbidity. Arrows give the order of the chain. They are not tested water transfers.
- RainfallCHIRPS, satellite estimate adjusted with gauge data
- Soil moisture0–7 cm, ERA5-Land (modelled)
- Floodplain waterRadar and Dynamic World extent (satellite)
- LagoonTurbidity index (satellite, uncalibrated)
Satellite estimateModelled
Table 3 compares wet and dry seasons for the units where the data can be read. Soil moisture is higher in the wet season in every unit. Dynamic World water is much higher in the dry season in every unit, including the floodplain units Z3 and Z4. In Z2 it averages 107.7 km² in the dry season and 2.3 km² in the wet season; in Z1, 55.3 km² and 5.1 km². Only water present in at least 80% of the JRC record is masked; seasonal water bodies, including reservoir margins, remain and may contribute. Possible explanations include few usable wet-season images and dry-season misclassification. The study cannot separate them, so Dynamic World does not show wet-season flooding here.
| Unit | Soil moisture (wet) | Soil moisture, dry | Dynamic World km², wet | Dynamic World km², dry |
|---|---|---|---|---|
| Z1 Upper Ogun Headwaters | 0.35 | 0.21 | 5.1 | 55.3 |
| Z2 Oyan–Ofiki Tributary | 0.36 | 0.22 | 2.3 | 107.7 |
| Z3 Middle Ogun Mainstem | 0.37 | 0.22 | 1.2 | 24.0 |
| Z4 Lower Ogun Alluvial Corridor | 0.37 | 0.24 | 2.9 | 12.6 |
| Z5 Northwest Lagos Lagoon Estuary | 0.23 | 0.11 | no data | no data |
Where to look next for groundwater. Surface water that persists through the dry season would be the signal most worth testing against groundwater discharge. The present data cannot establish that persistence, because the dry-season Dynamic World signal is not validated. A test needs a validated persistent-water layer and dry-season water-level or spring observations, which this repository does not contain. No unit is ranked here.
6 Discussion
The raw correlations are negative and probably reflect dry-season radar detections rather than flooding. Once the seasonal cycle is removed, no headline relationship survives correction. With the radar index unproven, the record cannot show whether rainfall drives flooding, at the seasonal or the month-to-month scale. Longer records are the first requirement, because they would give more years from which to estimate the seasonal cycle.
The radar index is the weakest part of the chain. Its seasonal pattern agrees with the optical reference (Dynamic World water), but both are high in the dry season, so both seasonal patterns are artefacts and that agreement supports neither; their anomalies do not agree, and the radar magnitude is much smaller. Until the index is rebuilt with a baseline outside the months it tests and checked against an independent flood map or river discharge, the radar series should not be read as flooding.
7 Limitations
- Six years give only six values per calendar month, so the anomalies depend on the six-year climatology and on individual years.
- Monthly resolution is coarser than the travel time of water across the upland catchment. Lagged results may reflect storage in soil and floodplain rather than flood routing.
- The radar inundation index is uncalibrated and far smaller than the optical reference. It is not interpreted for the upland units.
- NDTI is an uncalibrated indicator. Ten of the 24 June-to-September months are missing, all cloud-related, so the core wet season is under-represented and the gaps are not random.
- No dam-release records were available; the reservoir control uses only the open-water area of the reservoir.
- CHIRPS (about 5 km) and ERA5-Land (about 9 km) are coarse relative to the floodplain of the sub-basins.
- The autocorrelation adjustment is an approximation based on an effective sample size.
8 Conclusion
Over 2019–2024, rainfall and soil moisture follow the seasons in the Ogun catchment, but the radar index is nearly as high in the dry season as in the flood season, so it has not been shown to measure flooding. Its raw correlations follow the seasons, and once the seasonal cycle is removed no headline relationship is significant after correction. Dynamic World water is not a usable flood reference here. Testing how flooding responds to rainfall needs a radar index rebuilt with a baseline outside the months it tests, a check against an independent flood map or river discharge, and a longer record.
Preview
Monthly explorer
Every unit's rainfall, soil moisture and flooding, with the map, the series and the statistics behind them.
Open the explorerKey terms
- Sub-basin
- The land area that drains to one point on the river. Z1–Z4 are built from HydroBASINS level-9 units.
- Floodplain
- Low, flat land beside a river that goes under water when the river overflows. Here, mainly Z3–Z4.
- Radar (SAR)
- Sentinel-1 synthetic aperture radar sends microwaves that pass through cloud. Smooth open water reflects little back and looks dark, which is how flooding is detected. Smooth dry ground can also look dark, and flooded vegetation can look bright, so dark pixels are not always water.
- Dynamic World
- A Google land-cover map made from every Sentinel-2 image. Used as an optical cross-check on the radar flooding, not as independent validation; it cannot see through cloud.
- NDTI
- Normalized Difference Turbidity Index, (red − green) / (red + green) from Sentinel-2. Higher means murkier water; below 0 means relatively clear. A relative index, not a lab measurement.
- Height above drainage
- How high a point sits above the river channel it drains to (MERIT Hydro). Flooding is only counted below 15 m.
- CHIRPS
- A rainfall dataset combining satellite estimates and rain gauges, at about 5 km resolution.
- ERA5-Land
- A weather-model reconstruction of past conditions; here, the water held in the top 7 cm of soil.
- Deseasonalized
- Each month minus the average for that calendar month, so the normal wet and dry seasons do not create false correlations.
- Spearman ρ
- A rank correlation from −1 to 1: do higher values of one go with higher values of the other? Not swayed much by a single extreme month.
- Effective n
- The number of independent months the test really has. Neighbouring months are similar, so it can be smaller than the number of months.
Data, code and citation
The ZIP holds the monthly series, the unit series, the unit boundaries, the unit means and the statistics behind every number on this page.
How to cite
Oloyede, D. O. (2026). Surface water from headwaters to lagoon: rainfall, soil moisture and flooding. https://github.com/oloyededavid/Ogun-Catchment-Coast-Observatory
A note from me
I started this because I was excited by a simple question: could free satellite records show how rain, soil moisture and flooding move together, from the headwaters all the way to the lagoon? Getting the data into one consistent record took a lot of studying, from unfamiliar radar processing to the statistics of short, seasonal series, and I learned more from the parts that did not work than from the parts that did.
The seasons came through clearly. Over six years, though, the month-to-month links did not hold up under testing, and I would rather report that honestly than stretch it into something it is not. The radar index is the weakest part, because it is uncalibrated, and the page says so wherever it appears.
If you know this catchment and something here does not match what you see on the ground, I would really like to hear it, through the repository issues.
David
Was this research useful?
One reaction per browser. Counts are anonymous and kept by a public counter.
References
- Benjamini, Y., & Hochberg, Y. (1995). Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society: Series B, 57(1), 289–300. doi:10.1111/j.2517-6161.1995.tb02031.x
- Brown, C. F., et al. (2022). Dynamic World, Near real-time global 10 m land use land cover mapping. Scientific Data, 9(1), 251. doi:10.1038/s41597-022-01307-4
- Funk, C., Peterson, P., Landsfeld, M., et al. (2015). The climate hazards infrared precipitation with stations—a new environmental record for monitoring extremes. Scientific Data, 2, 150066. doi:10.1038/sdata.2015.66
- 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. doi:10.1002/hyp.9740
- Muñoz-Sabater, J., Dutra, E., Agustí-Panareda, A., et al. (2021). ERA5-Land: a state-of-the-art global reanalysis dataset for land applications. Earth System Science Data, 13, 4349–4383. doi:10.5194/essd-13-4349-2021
- Zanaga, D., et al. (2022). ESA WorldCover 10 m 2021 v200. Zenodo. doi:10.5281/zenodo.7254221
- Twele, A., Cao, W., Plank, S., & Martinis, S. (2016). Sentinel-1-based flood mapping: a fully automated processing chain. International Journal of Remote Sensing, 37(13), 2990–3004. doi:10.1080/01431161.2016.1192304
