Khet Mapper — back to the site

Does the method hold up?

This page is the honest version, not the pitch version. It covers what was tested, two real bugs that were found and fixed along the way, and exactly what the result does and doesn't support.

What was being tested

Khulna's rice fields go weeks at a time without a usable cloud-free satellite image during the monsoon. A reconstruction method tries to fill those gaps — but a method that looks convincing on a smooth chart isn't the same as one that's actually reliable. This study tested three reconstruction approaches against each other by hiding real, already-observed satellite data points and checking whether each method could recover the hidden values: plain linear interpolation, Whittaker smoothing (the approach used in this project), and STMS, a published 2025 method built specifically for this exact problem.

Three sites in the Khulna rice belt, each a single fixed point (not a blended area average), selected by scoring a grid of candidate points on seasonal signal strength and then manually checking true-color imagery to rule out villages and sandbars masquerading as farmland. 2022-2024, Sentinel-2 and Landsat 8/9, all free data.

Two bugs, found and fixed before trusting any result

1. Missing data was silently read as "clear sky"

The first pass used Sentinel-2's own cloud flag, which showed almost 100% "clear" skies even in peak monsoon months for 2022 and 2023 — not plausible. Checked against Earth Engine's own documentation: that cloud flag was discontinued for over two years and silently defaulted to "no cloud detected" while it was missing, rather than "unknown." Fixed by switching to a probability-based cloud mask plus explicit cloud-shadow detection, and verified the fix by confirming monsoon cloud dropout now shows up consistently across all three years, not just the one year the old method happened to get right.

2. One oversized test case was quietly skewing a result

Re-running the comparison under a looser cloud-detection setting appeared to reverse the entire finding — plain interpolation suddenly looked better. Investigating why found the real cause: one single test window happened to contain a quarter of one site's entire sample, and it was being weighted by how many data points it contained rather than counted as one test case among many. Fixed by weighting every independent test case equally. The original result came back — and came back more confirmed, not less, because the bug had been caught and corrected rather than quietly reported as a finding.

The result, checked three ways

The full comparison was re-run under three different cloud-detection strictness settings, not just the one that happened to look best. Lower numbers are better (they measure how far off the reconstructed values were from the real hidden ones).

Cloud-detection settingLinear interpolationWhittaker smoothingSTMS (2025)
Strict0.1540.1370.157
Baseline0.1540.1440.178
Loose0.1420.1380.170

Whittaker smoothing wins at every setting tested. STMS, the more sophisticated published method, is weakest at every setting — likely because it's designed around a much larger reference network (the original study used 2,460 sites; this one had 3) rather than being a weaker method in general.

What this doesn't claim

  • Not field-validated planting or harvest dates — the comparison is against other satellite observations, not ground visits.
  • Not a representative sample of "typical" Khulna rice fields — three locations were deliberately picked for strong seasonal signal.
  • Two of the nine monsoon-season site-years didn't have enough surrounding data to support a reliable growth-peak estimate even after adding a second satellite — rather than patch that gap, it's documented and dropped as a claim.
  • Not a peer-reviewed paper. It's a bounded independent study, built and checked solo.
Second study · October 2026

Flood detection, tested against 10 documented floods

Monsoon cloud hides the ground exactly when floods happen, so flood detection leans on Sentinel-1 radar, which sees through cloud. To find out whether it works, the pipeline was run against 10 dated floods and waterlogging events in Satkhira and Khulna from 2024 to 2026, each taken from press and official reports with its source (Cyclone Remal, the Betna embankment breach, the Bichhat and Dargahpur breaches, and urban waterlogging in Khulna City and Satkhira town). Each test was also run on the same dates a year earlier, to catch a method that just fires every monsoon. The detection rule was fixed before the first run and not adjusted afterwards.

Three bugs, found by running it on real data

Running the pipeline on real imagery for the first time exposed three problems, each fixed before any flood result was counted:

The result: a seasonal radar check sees large floods; a fixed threshold doesn't

Three ways of flagging a flood were compared. The one that holds up compares radar water with the same weeks in the five previous years, so permanent shrimp ponds and normal monsoon wetting drop out. It flagged the largest flood in the set in both radar orbit directions with a quiet control year, rarely fired when there was no flood, and caught 4 of the 10 events overall. Comparing only against water just before the event also caught 4, on weaker evidence. The original fixed flag (40% of the area wet for 14 days) caught none and fired just as often in years with no flood, wherever ponds already cover half the land, so it is being replaced by the seasonal check.

The clearest result: Satkhira Sadar and Tala, September 2024
Each dot is one radar pass. Every flood pass sits above every pass from the same weeks in the five years before, in both orbit directions.
Satkhira flood, September 2024: unusually wet area by radar pass In both Sentinel-1 orbit directions, every radar pass during the September 2024 Satkhira flood showed more unusually wet area than any pass from the same weeks in 2019 to 2023, and crossed the detection threshold. Same weeks, 2019–2023 September 2024 flood detection threshold DESCENDING ORBIT 6.0% Same weeks, 2019–23 Sep 2024 flood 8.3% ASCENDING ORBIT 5.4% Same weeks, 2019–23 Sep 2024 flood 6.9% 0% 2% 4% 6% 8% 10% Share of the area unusually wet for the time of year (Sentinel-1 radar)
Satkhira flood, September 2024: unusually wet area by radar pass In both Sentinel-1 orbit directions, every radar pass during the September 2024 Satkhira flood showed more unusually wet area than any pass from the same weeks in 2019 to 2023, and crossed the detection threshold. Same weeks, 2019–23 September 2024 flood threshold DESCENDING ORBIT Same weeks, 2019–23 Sep 2024 flood 6.0% 8.3% ASCENDING ORBIT Same weeks, 2019–23 Sep 2024 flood 5.4% 6.9% 0% 2% 4% 6% 8% 10% Share of area unusually wet (radar)
EventKindOriginal flagvs. water before the eventvs. same weeks, past 5 years
Satkhira Sadar/Tala, Sep 2024breach + rainmissedmissed (just under)caught, both orbits
Cyclone Remal, Satkhira, May 2024cyclone surgemissedcaught ¹caught
Cyclone Remal, Khulna, May 2024cyclone surgemissedcaught ¹missed (just under)
Ashashuni, Jul 2025prolonged rainfires every year ²caughtcaught, not specific ²
Satkhira town, Jul 2025urbanmissedmissedcaught
Satkhira town, Jul 2026urbanmissedcaughtmissed
Bichhat breach, Mar 2025breachfires every year ²missedmissed
Dargahpur breach, May 2025breachfires every year ²missedmissed
Khulna City, Sep 2024urbanmissedmissedmissed
Khulna City, Jul 2026urbanmissedmissedmissed
Caught0 of 104 of 104 of 10

¹ Rests on a single radar pass before the event, so weak evidence. ² Also fires on the same dates a year earlier, so it can't tell this flood from a normal year. "Caught" means detected in at least one of the two radar orbit directions.

What it can see: large rural floods that leave water standing across a wide area, like the September 2024 Satkhira flood. What it can't, yet: embankment breaches that flood a few hundred hectares inside a much larger search area, and urban waterlogging, where shallow street water between buildings doesn't look like water to radar and often drains before the next satellite pass.

What the flood test doesn't claim

  • Not checked against mapped flood extents, only against reports that a flood happened somewhere in a broad search area.
  • 4 of 10 is not good enough for a payout trigger, and isn't presented as one. The plan is to report unusual water as a measurement, not a yes/no flag.
  • Ten events is a small test. Two of the control years turned out to contain floods of their own, which muddies those comparisons.
  • The radar threshold was calibrated on one small area in one year.

The event list, code and every number are in the open repository.

← Back to Khet Mapper Khet Mapper, started by Nabid Sheikh.