What if we checked future heat before planting coral?

Coralytics: ranking 18,445 coral reefs by whether restoration will survive the heat

Runs on
Web
Status
Hackathon build
First released
Updated
Award
Winner, EcoHack (Nucleate UK and ARIA, London)

Across the 304 coral restoration projects in Boström-Einarsson et al.’s global database, none lists future heat or bleaching as a reason for choosing its site. Projects go where diving is practical, where a nursery already sits, or where a storm recently hit. When we checked the 224 projects within 25 km of a scored reef against our bleaching model, 66% sat on reefs that grow too hot for today’s coral under just 0.5 °C of extra warming, roughly 2040 at today’s pace.

Over a weekend in London at EcoHack (20–22 November 2026), hosted by Nucleate UK and ARIA around ecosystem resilience, we built Coralytics to check the heat before anyone plants coral, and won.

Heron Island in Coralytics: a real 3D reef scan coloured by the model's 2020 heat risk, with 47% of coral left.

Why we threw away our first metric

Our first prototype ranked every reef by “heat margin”: how much extra warming a reef could absorb at its last three years’ peak before crossing 50% bleaching risk. It sounded tidy until the numbers came back. Because the 2023–24 global bleaching event sits inside every three-year window, 87% of the world’s reefs scored zero. A metric that flattens almost every reef to zero cannot triage anything.

We switched to bleaching years: how many years in the last decade our model put a reef past 50% risk of severe bleaching at its hottest month. Fast-growing corals need 10 to 15 years to recover (Hughes et al. 2018), so a reef only holds if it bleaches at most two years in ten.

To give coral breeding programmes a concrete target, Coralytics reruns the same model on each of the 18,445 reef cells in cooler water, stepping down in 0.25 °C increments until the reef holds. At today’s climate, 29% of scored reefs hold with wild coral. Flip the +0.5 °C warming switch and wild coral fails on 18,435 of 18,445 reefs, while coral bred +0.5 °C tougher still holds 5,281 of them.

Surviving a heatwave isn’t enough if runoff or overfishing smothers recovery, so the “Best places to restore” ranking layers local human pressures (Andrello et al. 2022) and larval supply from neighbouring reefs. Each reef panel also shows what nearby communities stand to lose within 25 to 50 km. Counted once across all scored reefs, that comes to $30.6 billion a year in reef tourism and 3.0 million flood-protected residents (TNC Mapping Ocean Wealth), plus 369 million neighbours (GHS-POP 2020).

Beating NOAA on years it never saw

The tree model trains on 40 years of daily 5 km NOAA sea temperatures (since 1985) and 17,332 diver surveys from the Global Coral Bleaching Database, frozen at the end of 2013 so every test year sits cleanly in the future.

Our first run looked weirdly off until we spotted why: NOAA’s heat-alert and climatology grids store latitude north-to-south, while its daily temperature grid stores it south-to-north. We had been feeding the model upside-down oceans. After fixing the flip, the model beat NOAA’s standard same-day heat alert across every severity level on 2,771 unseen diver surveys from 2016 to 2020 (measured by AUROC, where 1.0 is a perfect ranking):

Bleaching severity Coralytics NOAA heat alert
10% or more 0.869 0.797
30% or more 0.935 0.906
50% or more 0.939 0.917

We also checked the deployed model on 201 open MERMAID diver surveys collected between 2021 and 2025 across 10 countries, all after our training window ended, where it scored 0.840 AUROC for 30% bleaching. Across 3,385 MERMAID coral-cover surveys compared within the same country, each extra bleaching year in the past decade went with 1.9 fewer points of hard coral cover, while no-take reserves held 3.2 points more and roughly twice the fish.

A small transformer trained from scratch scored 0.69 to 0.73 and lost to NOAA, so the gradient-boosted trees shipped.

Seeing a reef bleach over forty years

Click any reef on the spinning globe and Coralytics opens the nearest of 17 real 3D reef scans: Maldives restoration plots, Galapagos point clouds, and diver photogrammetry from around the world, all CC BY 4.0. An 18th scan from Maui didn’t make the cut after visual checks showed it was mostly a stretched base skirt with the reef tucked on one edge.

When you press play, the 3D view steps through 1988 to 2025, whitening living colonies as modelled heat risk climbs and fading bleached patches into algae-covered rock. A second view rebuilds the seafloor from Allen Coral Atlas habitat maps and Smithsonian coral scans.

What it can’t tell you

Diver surveys cluster heavily in Australia, the Caribbean and Southeast Asia, so the model is least certain everywhere else. The 3D view’s yearly coral loss (40% mortality on bleached coral, 14% regrowth a year) is an illustration rather than a dive survey; only the bleaching risk comes from the trained model.

A few ideas we tested over the weekend didn’t hold up cleanly on held-out data: predicting total coral cover, estimating recovery speed from repeat dives, and testing whether heat-hardy outlier reefs stay ahead across multiple heatwaves. None passed our checks, so we left them out. Tougher coral buys time for selected sites; it does not replace cutting emissions, and local communities decide which reefs to protect.

Try it

Explore the live globe at coralytics.pages.dev, or run the web client locally against the public Modal API:

git clone https://github.com/hridaya423/reef-margin && cd reef-margin/web
npm install
echo "VITE_API_URL=https://hridayahoney--reef-response-api-web.us-east.modal.run" > .env.local
npm run dev

Site: coralytics.pages.dev. Source: github.com/hridaya423/reef-margin (MIT).