You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster · Scientific & multidimensional

GRIB — WMO GRIdded Binary (GRIB/GRIB2)

WMO-standard binary format for gridded meteorological and oceanographic data such as weather forecasts and analyses.

Type
Raster · Scientific & multidimensional
Extension
.grb, .grib, .grb2, .grib2
Converter
Read only
Coordinate system
Any (georeferenced)
Bands
Many variables/bands across time/levels; treated as multiple bands or subdatasets.

What is a GRIB file?

GRIB (GRIdded Binary) is a binary format standardised by the World Meteorological Organization for storing and exchanging gridded meteorological and oceanographic data. Two editions are in common use: GRIB edition 1 and the more flexible GRIB edition 2. Weather services and forecasting centres use it to distribute numerical weather prediction output, analyses and reanalyses of fields such as temperature, wind, pressure and precipitation.

A GRIB file is a sequence of self-contained messages. Each message holds one two-dimensional field for a single parameter, level and time. It is divided into sections describing the originating centre, the grid and its projection (for example regular latitude/longitude, Gaussian, Lambert conformal or polar stereographic), the product and the packed values. Simple and complex packing, and in GRIB2 also JPEG 2000 and PNG compression, keep files compact. Parameters are identified through code tables, including centre-specific local tables, so correct interpretation depends on the decoder having matching tables.

GRIB files are mostly exchanged by national weather services, forecasting centres and researchers who work with model output, analyses and reanalyses. A single file often holds hundreds of messages for many parameters, levels and forecast times, so check which fields you actually need. Grids may be non-regular, and parameter names depend on the code tables used, including centre-specific local tables.

Typical uses

  • Distributing numerical weather prediction output between forecasting centres.
  • Supplying wind and pressure forecasts to marine and aviation routing tools.
  • Archiving atmospheric and ocean reanalyses for climate research.
  • Extracting temperature or precipitation grids for GIS analysis.
Files: Meteorological container with many records for variables, levels, and times; irregular grids possible.

Sample GRIB files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena elevation model st-helena-dem.grib2

Elevation (GRIB2)

Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. 631×505 px, 1 arc-second (≈30 m) grid, WGS 84. GRIB2 message, discipline 2 (land surface), parameter 0.7 model terrain height.

  • 1 band · Float64
  • 631 × 505 px
  • 1 arc-second (~30 m)
  • EPSG:4326
  • 505.9 kB

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

Each message stores one field for a single parameter, level and time. Software that reads the file as a raster therefore shows every message as a separate band or subdataset, so a forecast file can contain hundreds of them.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.