Every weather forecast you see, from the TV meteorologist to the app on your phone, starts from the same raw ingredient: numbers from a computer weather model. Those numbers travel around the world in a format called GRIB. It’s worth knowing about, and for hams and sailors it’s something you can pull down yourself, even over HF radio.
What is GRIB?
GRIB stands for “General Regularly distributed Information in Binary form.” It’s the World Meteorological Organization’s standard for sharing gridded weather data. Picture a huge sheet of graph paper laid over the map. At every point where the lines cross, the model stores a value, such as the temperature or wind, for a given height and time. A GRIB file packs millions of those values into a compact binary file.
- GRIB1 is the older edition; GRIB2 is the current one, with more precision and a more flexible way of describing what each field is.
- Files usually end in .grib, .grb or .grib2.
Canada’s own models are free to download
Environment and Climate Change Canada publishes its model output in GRIB2 on its open-data server, the MSC Datamart (dd.weather.gc.ca). Three of the main ones:
- HRDPS (High Resolution Deterministic Prediction System): a 2.5 km grid over Canada, run four times a day, forecasting 48 hours ahead. The fine grid helps with terrain-driven weather like ours, near the mountains.
- RDPS (Regional Deterministic Prediction System): the middle step, covering North America in more detail than the global model.
- GDPS (Global Deterministic Prediction System): the whole planet at about 15 km, run twice a day, out to 10 days.
The U.S. GFS model, which most free weather apps use, is published in GRIB2 as well.
What’s inside: the variables forecasters look at
A model doesn’t just predict “rain tomorrow.” It calculates the state of the whole atmosphere, layer by layer. The fields forecasters lean on most:
- Sea-level pressure: where the highs and lows are, and how tightly packed the isobars are (tight lines mean wind).
- Temperature and dew point at the surface and aloft: how warm, how moist, and whether snow or rain will reach the ground.
- Wind at the surface and at many heights, stored as two parts (west-to-east and south-to-north) that combine into speed and direction. Our chinooks show up clearly here.
- 500 hPa height, about 5.5 km up: the “steering level.” Ridges and troughs here decide where the weather systems go.
- Relative humidity by layer, for cloud and fog.
- Precipitation amount and type, and snow depth.
- CAPE (convective available potential energy): the fuel for thunderstorms. High CAPE on a summer afternoon is a hail-season warning sign.
- Cloud cover, which also matters for frost and overnight lows.
Forecasters compare several models, check them against what radar, satellites and ground stations are actually showing, and adjust. The model is the starting point, not the final word.
How to open a GRIB file
GRIB is binary, so you need a decoder. Some common ones:
- Easy viewers: zyGrib and its successor XyGrib draw GRIB files as weather maps, which is popular with sailors. Panoply (from NASA) is another free viewer.
- For tinkerers: ecCodes (from the European Centre for Medium-Range Weather Forecasts) reads GRIB1 and GRIB2 and works from Python; wgrib2 (from NOAA) is a command-line tool for GRIB2.
The ham connection: GRIB over the radio
Because GRIB packs so much into so little, it’s ideal for slow links. Sailors far from shore, and hams in the backcountry, request small GRIB files by email over HF radio (for example through Winlink) or satellite phone. A free service called Saildocs answers a plain email request, such as
send gfs:40N,60N,0W,20W/0.5,0.5/0,24,48,72/
with a GRIB file of wind and pressure for that box, at those forecast hours. Keep the area and the time steps small, and a useful forecast can be only a few tens of kilobytes. That’s well within reach of an HF link from a campsite or a boat. (Change the coordinates to cover the area you care about.)
For conditions on the bands themselves, see PropMap. For what the weather is doing in Lethbridge right now, see West Lethbridge Weather.
Sources
- What are GRIB files and how can I read them?, ECMWF
- HRDPS data on the MSC Datamart, Environment and Climate Change Canada
- RDPS data on the MSC Datamart, Environment and Climate Change Canada
- GDPS data on the MSC Datamart, Environment and Climate Change Canada
- Saildocs free GRIB files, Mailasail
Questions or ideas about this post? Email us at help@drhd.com. We read every one.