Work in progress. BOWG is an early research prototype, built in the open. Its correction is validated at one station, in summer only. Follow along or give feedback on GitHub.

Bahrain Open Weather Gateway

ERA5, a widely used global climate dataset, sees Bahrain as open sea, so it reads summer afternoons several degrees too cool. BOWG corrects it against a real Bahraini thermometer, and says how far to trust the result.

The problem

ERA5, the global reanalysis behind much climate research and many historical-weather services, is published on a grid of squares about 25–28 km across. Bahrain's main island is about 15 km wide.

Bahrain under ERA5's grid

How much of each cell is really land, and what ERA5 assumes

Bahrain's islands drawn under six ERA5 grid cells. The cell over Zallaq and Awali is 55 percent land in reality but 18 percent in ERA5's land-sea mask, while a cell of open sea south-east of Sitra gets 20 percent. No cell over Bahrain is above 20 percent land, and ECMWF's model treats any cell that is half land or less as water, so to ERA5 Bahrain is open sea.

Each square is one ERA5 cell (0.25°). The cell over Zallaq and Awali is about half land, but ERA5's mask counts 18%, while open sea south-east of Sitra gets 20%. ECMWF's model treats any cell that is half land or less as water, so to ERA5 Bahrain is open sea. Coastline © OpenStreetMap contributors (ODbL), via geoBoundaries.

An average summer day at the airport

Mean temperature by hour, June–August 2016–2025 (°C, Bahrain time)

ThermometerGlobal data (ERA5)

ERA5 puts sea air over the airport. The sea barely warms during the day, so ERA5 stays near 34 °C while the land heats to about 39 °C. At night the two nearly agree.

Show as a table

What BOWG does

It learns, from ten summers of the airport thermometer, how far ERA5 is off at each hour of the day, and corrects for it. Here is one real day it was not trained on.

19 July 2023, Bahrain International Airport

Hourly temperature (°C, Bahrain time). BOWG's values come from a correction trained on the other nine summers.

ThermometerBOWGGlobal data (ERA5)

BOWG closes most of the afternoon gap. It can't see that a particular day will be unusually hot: at 4 pm the thermometer read 44 °C and BOWG said 39.2 °C.

Show as a table

How accurate is it?

Tested at the airport on the same summer hours, 2017–2025. Each summer is predicted by a correction trained on the other summers:

3.22 °C
typical error of raw ERA5
1.36 °C
typical error after BOWG's correction
1.75 °C
Open-Meteo's default historical data (ECMWF's 9 km IFS model)

Not a like-for-like contest: BOWG is tuned to this station and Open-Meteo isn't. Applying BOWG's correction to the same 9 km model gives about the same error, 1.37 °C (E19–E20).

Try it

Limits, stated plainly