← Browse all episodes·Below the Surface
Deep Tech & Climate

When the Rain Gauge Lies to Everyone

Below the Surface

Trust as infrastructurePhysics of verificationData chain integrity
“The sensor read correctly. The hash confirmed it. The farmer still didn't believe it. That's not a data problem — that's a physics of trust problem.”

Listen

Play episode📱 Shorter version

Let me start with a scene that I think captures the whole problem better than any technical diagram could. It's the Sahel region of West Africa. A smallholder farmer — let's call him Amadou — has planted sorghum on about four hectares. He's taken out a parametric insurance policy, which means he doesn't have to prove his crop failed. He just has to wait for a rainfall sensor about twelve kilometers away to confirm that precipitation fell below a certain threshold over a defined period. If it did, he gets a payout automatically. No adjuster, no claim form, no waiting six months while someone drives out to look at his field. The sensor triggers, the money moves, done. Except the sensor triggered. The money moved. And Amadou didn't believe it was real. Not because he didn't get paid. He did get paid. He didn't believe the number the sensor reported was an honest number. He thought maybe someone had tampered with it. Maybe the insurance company had a reason to make the reading look higher than it was so they wouldn't have to pay. Maybe the government agency that owns the weather station had fudged the data. He didn't know who controlled that sensor, who could access its readings, or whether the number he was told was the number the sensor actually produced. And here's the thing — he wasn't being irrational. He was being completely rational given his lived experience with institutions. This is the engineering problem I want to talk about today. Not the commercial problem, not the market access problem, not the distribution problem of getting insurance products to people in rural Sub-Saharan Africa or rural India or the Philippine archipelago. Those are real problems, but they're not the one I'm interested in right now. The one I'm interested in is this: how do you build a system where a piece of data — a sensor reading, a satellite measurement, a rainfall figure — carries with it a mathematically verifiable proof that it hasn't been touched between the moment it was recorded and the moment it's being used to make a financial decision? And how do you make that proof legible to someone like Amadou who has no reason to trust the institutions behind the system? That's the hard engineering problem. And it's genuinely hard in a physical, mathematical sense, not just in a this-takes-time-and-money sense. Let me back up and explain what parametric insurance actually is, because I think people hear the word and nod along without really understanding what makes it structurally different from conventional insurance. Conventional crop insurance works on indemnity. You suffer a loss, you prove the loss, you get compensated for the loss. An adjuster comes to your field, or you submit photographs, or you go through some process of verification that establishes what you actually lost. The payout is tied to your specific, individual, documented damage. Parametric insurance doesn't work that way at all. Parametric insurance says: we're going to agree in advance on a proxy measurement — rainfall, temperature, wind speed, some observable physical quantity — and we're going to agree that if that measurement crosses a certain threshold, a payout happens, full stop, regardless of what actually happened to your specific crop. The measurement is the trigger. The measurement is the proof. You don't prove your loss. You prove the parameter. The beauty of this for underserved markets is obvious. You don't need an adjuster to drive four hours on a dirt road to look at a field. You don't need the farmer to have records or photographs or a relationship with a claims department. You just need the measurement. The whole system runs on data. But that beauty is also the source of the entire trust problem, because now everything depends on the integrity of a single number produced by a device the farmer has never seen, maintained by an organization he may never have heard of, transmitted through infrastructure he has no visibility into, processed by software he can't inspect, and used by an insurance company that has a direct financial interest in whether that number is high or low. Every single one of those links in the chain is a place where, from Amadou's perspective, something could have gone wrong — intentionally or accidentally. And he has no way to verify any of them. Now, the naive technical answer to this is: just make the data public. Publish all the sensor readings on a website. Let anyone look them up. Transparency solves trust. And that answer is wrong, or at least radically incomplete, and here's why. Publishing data on a website doesn't tell you anything about whether the data on that website matches the data the sensor originally produced. Someone could have edited a CSV file. Someone could have a database with write access. Someone could have made an error in the pipeline between the sensor and the public-facing portal. The website shows you what someone chose to put on the website. It doesn't show you the ground truth. What you actually need is a way to prove that the data you're looking at now is identical — bit for bit, byte for byte — to the data that came off the sensor at a specific moment in time. And more than that, you need to be able to prove that nothing in the chain between that moment and this moment could have altered the data without leaving an unambiguous, detectable trace. This is where cryptographic hashing enters the picture, and I want to spend some time here because I think most explanations of this technology skip over the part that makes it physically interesting. A cryptographic hash function — SHA-256 is the one most people have heard of, it's part of the SHA-2 family of algorithms — is a mathematical function with a very specific set of properties that, taken together, make it uniquely useful for the problem we're describing. Here's what it does. You feed it any piece of data — could be three characters, could be the entire collected works of Shakespeare, could be a sensor reading of 14.7 millimeters of rainfall on a Tuesday in October. It produces a fixed-length output. With SHA-256, that output is always 256 bits long, which is 64 hexadecimal characters. Always. Doesn't matter how big or small the input is. And here's the property that matters: that output is deterministic and effectively unique. If you run the exact same input through SHA-256 a million times, you get the exact same output every single time. But if you change even one bit of the input — one character, one decimal place, one timestamp — the output changes completely and unpredictably. You can't look at two hashes and tell which input was bigger or which was more recent. They're just different strings. And the property that makes this cryptographically interesting is that the function is essentially one-way. Given a hash output, you cannot reverse-engineer the input. You can't look at the 64-character string and figure out what data produced it. You can only verify — by running the same data through the function yourself — that this specific data produces this specific hash. So here's how this applies to our sensor problem. When the sensor records a reading — let's say 14.7 millimeters of rainfall at 06:00 UTC on October 12th at station ID 4471 — you immediately run that data string through SHA-256. You get a 64-character hash. You record both the data and the hash. Now anyone, anywhere, with any implementation of SHA-256 — and it's an open standard, anyone can run it — can take that same data string, run it through the function, and confirm that they get the same hash. If the data had been changed in any way — if someone had altered 14.7 to 16.2, or changed the timestamp, or changed the station ID — they would get a completely different hash. The tampering would be immediately, mathematically detectable. But here's where it gets more interesting, because a single hash on a single reading is still not enough. It proves that this specific piece of data hasn't been altered since the hash was computed. But it doesn't prevent someone from computing a fraudulent hash on fraudulent data. If you can modify the sensor reading and then recompute the hash, you haven't changed the math, you've just applied it to bad data. So the next layer is chaining. Instead of hashing each reading in isolation, you hash it together with the hash of the previous reading. Each new hash incorporates the hash of everything that came before it. This is the fundamental structure of a blockchain, though you don't need a blockchain specifically to do this — you just need the chaining property. What chaining gives you is temporal integrity. If you want to go back and alter reading number 847, you have to also recompute hash 847, which means you also have to recompute hash 848 because it incorporated hash 847, which means you have to recompute 849, and so on, all the way to the present. The computational cost of retroactively falsifying historical data grows with the length of the chain. And if the current tip of the chain is publicly known — published somewhere immutable, or held by multiple independent parties — then recomputing the entire chain to hide a historical modification becomes effectively impossible. This is what cryptographers mean when they talk about an immutable audit log. Not that it's physically impossible to alter the data in some absolute sense — of course you can edit a database, of course you can mess with a file. Immutability means that any alteration is mathematically detectable by anyone who holds the hash of the chain tip. The integrity check is distributed. It doesn't require you to trust any single party. It requires you to trust the math. And the math, unlike institutions, doesn't have a financial interest in the outcome. Now I want to talk about where this solution actually runs into hard physical constraints, because I don't want to make this sound like a solved problem where you just implement SHA-256 and go home. There are real engineering challenges here that are not just about cost or regulatory approval. The first one is: where do you compute the hash? This sounds like a software question, but it's actually a hardware question with significant physical implications. If you compute the hash in the cloud — if the sensor sends a raw reading to a server somewhere, and the server computes the hash, and the server records the hash — then you've introduced a gap. Between the sensor and the server, someone could intercept the reading and substitute a different value. The hash that gets recorded would be the hash of the tampered value, not the original. The chain would be internally consistent but built on corrupted data. You'd have mathematical integrity on top of a physical lie. To close that gap, you need to compute the hash at the sensor itself, at the moment of measurement, before the data leaves the device. This is called edge computing in the hardware sense — the computation happens at the edge of the network, not at the center. And this creates immediate physical engineering constraints. Sensors in the field — rainfall gauges, temperature stations, soil moisture sensors — are typically designed to be extremely low power. They run on solar panels the size of a paperback book, or sometimes on batteries that get replaced once a year. They communicate over low-bandwidth networks because that's what exists in rural Sahel or rural Maharashtra. They're not designed to run cryptographic operations. SHA-256 is not computationally expensive by the standards of a modern server. But it is measurably more expensive than just storing a number. When you're running on a microcontroller drawing microamps of current from a small solar cell, those extra cycles matter. They affect battery life, they affect the thermal envelope of the device, they affect the cost of the hardware you need to put in the field. And then there's the question of secure storage. Once you've computed a hash on the device, you need to store the private signing key — the piece of cryptographic material that lets you sign the hash and prove it came from this specific sensor and not a counterfeit — somewhere on the device that an attacker can't read it out. This requires a hardware security module, or at least a secure element chip, which is a piece of hardware specifically designed to hold cryptographic keys in a way that resists physical extraction. Those chips exist. They're used in credit cards and smartphones. But they add cost and complexity to field sensor design, and they have to be provisioned correctly at manufacturing time, which is a supply chain and operational challenge on top of the technical one. So the physical engineering problem is: how do you build a sensor that is cheap enough to deploy at the density you need — we're talking potentially tens of thousands of stations across a country — that is durable enough to survive years in harsh outdoor environments, that runs on minimal power, and that also performs real-time cryptographic signing of its own outputs with a key that can't be physically extracted by an adversary? That is genuinely hard. It's not hard like building a nuclear reactor is hard, but it's hard in the sense that every one of those constraints pushes in a different direction, and optimizing for all of them simultaneously is a serious engineering design problem. The second hard physical constraint is network connectivity. For the hash chain to provide the integrity guarantees we're describing, the chain needs to be propagated — the hashes need to get from the sensor to some external record that isn't controlled by the party who might want to tamper with them. Otherwise you're just trusting that the person holding the chain is also holding the real chain. In the regions where parametric insurance is most needed — rural Sub-Saharan Africa, parts of South Asia, Pacific island nations — connectivity is intermittent at best. A sensor might be able to send data once a day via a low-power wide-area network. It might be able to reach a satellite uplink once every few hours. Or it might go offline for days at a time during the exact weather events — heavy rain, flooding, severe storms — when you most need accurate readings. This creates a problem called the connectivity gap in the integrity chain. If the sensor is offline, it's still computing hashes locally and storing them. But those hashes haven't been propagated to an external witness. During the offline period, an attacker with physical access to the sensor could potentially alter stored readings and recompute the local hash chain before the device comes back online. The external record wouldn't see the gap, because from its perspective the device just wasn't transmitting. Dealing with this requires a combination of approaches. You need tamper-evident physical enclosures so that physical access to the device is detectable. You need cryptographic timestamps — specifically, you want the device to incorporate a trusted time source so that the timestamps in the hash chain can't be backdated. And you want redundancy: multiple sensors in the same area so that a reading from one can be cross-validated against readings from others, and an anomalous gap or anomalous value stands out statistically. None of these are perfect solutions. They're layers of defense, each one closing some attack surface and opening others, requiring careful thought about what the actual threat model is. Who is most likely to try to tamper with data, under what circumstances, with what level of physical access, and what's the incentive structure? The engineering answer changes depending on whether the attacker is a farmer trying to trigger a payout, an insurance company trying to avoid one, a corrupt government official, or just a hardware failure that looks like tampering. This threat model question is often underspecified in proposals for cryptographic data integrity in climate tech, and I think it's where a lot of technically sound implementations fall apart in practice. Let me come back to Amadou now, because I want to close the loop on the trust problem with something that I think is underappreciated. Even if you solve all the engineering problems I've described — edge hashing, secure key storage, tamper-evident enclosures, redundant networks, cross-validation — you still have to make the verification legible to a farmer in the Sahel. And this is a problem that looks like a communication problem but is actually an interface engineering problem with deep physical roots. Amadou doesn't have a laptop. He may have a basic smartphone. He almost certainly has intermittent data connectivity. He may or may not be comfortable with abstract numerical representations. The cryptographic proof that his payout was based on real, unaltered data exists as a 64-character hexadecimal string. Even if you showed it to him on a screen and explained what it meant, the explanation would require him to trust your explanation of the cryptographic system, which is just one more thing to trust. The engineering challenge is: how do you make cryptographic verification tactile? How do you compress a mathematical proof into something that can be experienced rather than explained? Some approaches that people are working on: QR codes that encode the hash, which can be scanned with any phone and compared against a public registry, without requiring the user to understand what a hash is. Voice-based verification systems where you can call a number, read out your claim ID, and get a spoken confirmation of the sensor reading and hash that were used. Community validators — trusted local individuals who run verification software on behalf of a group of farmers, whose role is to translate the cryptographic proof into a social vouching process that fits existing trust structures. None of these are purely cryptographic solutions. They all involve social and institutional design. But the engineering constraint that makes them necessary is real: the cryptographic layer is meaningless if it's inaccessible to the people it's supposed to protect. Accessibility is a technical requirement, not an afterthought. I want to zoom out here and say something about why I think this particular problem — sensor data integrity for parametric insurance — is a useful lens for thinking about a much broader class of engineering challenges in climate technology. A huge amount of climate tech depends on measurement. Carbon credits depend on measuring sequestration. Renewable energy certificates depend on measuring generation. Biodiversity offsets depend on measuring ecological health. Disaster risk finance depends on measuring weather and environmental conditions. In every one of these cases, the mechanism only works if people trust the measurement. And in most of these cases, the measurement is being taken in a place or in a quantity that makes direct human verification impractical. The physical world is hard to measure at scale. Sensors fail, drift, get vandalized, report plausible-but-wrong values that are hard to distinguish from correct values without a reference. The data pipeline between sensor and decision is long and has many points of potential corruption, intentional or accidental. And the financial stakes create adversarial incentives that don't exist in purely scientific measurement contexts. Cryptographic data integrity — the whole family of techniques around hashing, chaining, signing, and distributed witnessing — is the engineering discipline that addresses this specific class of problem. It doesn't solve the physical measurement problem. It doesn't make sensors more accurate or more reliable. What it does is make the chain of custody from measurement to decision verifiable. It creates a mathematically grounded answer to the question: is this the number the sensor produced, or is this a number someone decided the sensor should have produced? That distinction — between what the world produced and what someone says the world produced — is the fundamental engineering problem underneath an enormous amount of climate finance, climate insurance, and climate accountability infrastructure. And it is genuinely hard to solve in a way that is cheap, robust, accessible, and tamper-resistant simultaneously. The fact that Lloyd's of London research identifies trust in automated triggers as the single biggest barrier to parametric insurance adoption in emerging markets isn't a cultural observation about skeptical farmers. It's an engineering requirements document. It's saying: the system you've built doesn't have an adequate verification layer. The cryptography exists. The hardware components exist. The challenge is integrating them into field-deployable sensors at a cost point and usability level that actually serves the people the product is supposed to serve. And when that challenge is met — not if, when, because the physics and mathematics are on the side of the solution — the downstream effects are significant. Parametric insurance at scale in climate-vulnerable regions means smallholder farmers can take on more risk, invest more in their land, use higher-yield seeds that require higher upfront investment because they're not managing existential downside risk with no safety net. It means reinsurers can underwrite these products with confidence because the data chain is auditable and defensible. It means the whole mechanism of using financial instruments to help people adapt to climate variability actually functions, rather than functioning on paper and failing in the field. I'll leave you with this. The sensor read correctly. The hash confirmed it. The farmer still didn't believe it. That's not a data problem. That's a physics of trust problem. And solving the physics of trust is what makes all the rest of it work. The math has been there for decades. SHA-256 was standardized in 2001. The hardware to run it at the edge is getting cheaper every year. The network infrastructure to propagate hashes to immutable public records exists and is expanding. The remaining work is the integration work — the unglamorous, technically demanding, contextually specific work of putting all these pieces together in a form that works at twelve kilometers from the nearest paved road, runs on a small solar panel, survives a West African rainy season, and produces a verification output that a farmer with a basic phone can act on. That work is being done. It's being done by engineers who care about both the cryptography and the context. And I think in the next five to seven years, we're going to see it start to show up not just as pilot programs but as the underlying infrastructure of a genuinely new category of climate-adaptive financial product. The parameter will trigger. The hash will confirm it. And eventually — this is the goal — Amadou will believe it, not because someone explained it to him, but because the system has earned that belief through consistent, verifiable, mathematically grounded behavior over time. That's the engineering problem. That's why it's hard. And that's why it matters.

More from Below the Surface

Infrastructure Blind Spots

Where Warning Systems Go Dark

Dead Zones

Deep Tech & Climate

Sensing the Dark: Underwater Tech Explained

Below the Surface

Deep Tech & Climate

The Salt Lake Lithium Extraction Trap

Below the Surface

Get early access →