Grib Natten
   HOME

TheInfoList



OR:

GRIB (GRIdded Binary or General Regularly-distributed Information in Binary form) is a concise data format commonly used in
meteorology Meteorology is a branch of the atmospheric sciences (which include atmospheric chemistry and physics) with a major focus on weather forecasting. The study of meteorology dates back millennia, though significant progress in meteorology did not ...
to store historical and forecast weather data. It is standardized by the
World Meteorological Organization The World Meteorological Organization (WMO) is a specialized agency of the United Nations responsible for promoting international cooperation on atmospheric science, climatology, hydrology and geophysics. The WMO originated from the Internati ...
's Commission for Basic Systems, known under number GRIB FM 92-IX, described in WMO Manual on Codes No.306. Currently there are three versions of GRIB. Version 0 was used to a limited extent by projects such as TOGA, and is no longer in operational use. The first edition (current sub-version is 2) is used operationally worldwide by most meteorological centers, for
Numerical Weather Prediction Numerical weather prediction (NWP) uses mathematical models of the atmosphere and oceans to predict the weather based on current weather conditions. Though first attempted in the 1920s, it was not until the advent of computer simulation in th ...
output (NWP). A newer generation has been introduced, known as GRIB second edition, and data is slowly changing over to this format. Some of the second-generation GRIB are used for derived product distributed in Eumetcast of
Meteosat Second Generation The Meteosat series of satellites are geostationary meteorological satellites operated by EUMETSAT under the Meteosat Transition Programme (MTP) and the Meteosat Second Generation (MSG) program. The MTP program was established to ensure the opera ...
. Another example is the NAM (North American Mesoscale) model.


Format

GRIB files are a collection of self-contained records of 2D data, and the individual records stand alone as meaningful data, with no references to other records or to an overall schema. So collections of GRIB records can be appended to each other or the records separated. Each GRIB record has two components - the part that describes the record (the header), and the actual binary data itself. The data in GRIB-1 are typically converted to integers using scale and offset, and then bit-packed. GRIB-2 also has the possibility of compression.


GRIB History

GRIB superseded the Aeronautical Data Format (ADF). The World Meteorological Organization (WMO) Commission for Basic Systems (CBS) met in 1985 to create the GRIB (GRIdded Binary) format. The Working Group on Data Management (WGDM) in February 1994, after major changes, approved revision 1 of the GRIB format. GRIB Edition 2 format was approved in 2003 at Geneva.


Problems with GRIB

There is no way in GRIB to describe a collection of GRIB records * Each record is independent, with no way to reference the GRIB writer's intended schema * No foolproof way to combine records into the multidimensional arrays from which they were derived. * The use of external tables to describe the meaning of the data. * No authoritative place for centers to publish their local tables. * Inconsistent and incorrect methods of versioning local tables. * No machine-readable versions of the WMO tables (now available for GRIB-2, but not GRIB-1)


GRIB 1 Header

There are 2 parts of the GRIB 1 header - one mandatory (Product Definition Section - PDS) and one optional (Grid Description Section - GDS). The PDS describes who created the data (the research / operation center), the involved numerical model / process (can be NWP or GCM), the data that is actually stored (such as
wind Wind is the natural movement of air or other gases relative to a planet's surface. Winds occur on a range of scales, from thunderstorm flows lasting tens of minutes, to local breezes generated by heating of land surfaces and lasting a few hou ...
,
temperature Temperature is a physical quantity that expresses quantitatively the perceptions of hotness and coldness. Temperature is measured with a thermometer. Thermometers are calibrated in various temperature scales that historically have relied o ...
,
ozone Ozone (), or trioxygen, is an inorganic molecule with the chemical formula . It is a pale blue gas with a distinctively pungent smell. It is an allotrope of oxygen that is much less stable than the diatomic allotrope , breaking down in the lo ...
concentration etc.), units of the data (meters,
pressure Pressure (symbol: ''p'' or ''P'') is the force applied perpendicular to the surface of an object per unit area over which that force is distributed. Gauge pressure (also spelled ''gage'' pressure)The preferred spelling varies by country and e ...
etc.), vertical system of the data (constant height, constant pressure, constant
potential temperature The potential temperature of a parcel of fluid at pressure P is the temperature that the parcel would attain if adiabatically brought to a standard reference pressure P_, usually . The potential temperature is denoted \theta and, for a gas well-a ...
), and the time stamp. If a description of the spatial organization of the data is needed, the GDS must be included as well. This information includes spectral (harmonics of
divergence In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the quantity of the vector field's source at each point. More technically, the divergence represents the volume density of the ...
and
vorticity In continuum mechanics, vorticity is a pseudovector field that describes the local spinning motion of a continuum near some point (the tendency of something to rotate), as would be seen by an observer located at that point and traveling along wit ...
) vs gridded data (Gaussian, X-Y grid), horizontal resolution, and the location of the
origin Origin(s) or The Origin may refer to: Arts, entertainment, and media Comics and manga * Origin (comics), ''Origin'' (comics), a Wolverine comic book mini-series published by Marvel Comics in 2002 * The Origin (Buffy comic), ''The Origin'' (Bu ...
.


Software


Applications

A number of application software packages have been written which make use of GRIB files. These range from
command line A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invoking executables and pro ...
utilities to graphical visualisation packages.
ATMOGRAPH ModelVis
Commercial numerical weather model data visualization software capable of decoding and displaying both GRIB 1 and GRIB 2 data formats

Market leading GIS software
Expedition
– Expedition is the Sailing navigation and weather application. Grib display and download from many sources is free.

cfGrib is a State-Of-the-Art grib parsing tool for python based on ecCodes from ECMWF.
WGRIB
Command line based program to manipulate, inventory and decode GRIB1 files *
GrADS The Grid Analysis and Display System (GrADS) is an interactive desktop tool that is used for easy access, manipulation, and visualization of earth science data. The format of the data may be either binary, GRIB, NetCDF, or HDF-SDS (Scientific Da ...
, free command line based desktop application that directly handles GRIB1 and GRIB2 files http://cola.gmu.edu/grads/gadoc/grib.html
Picogrib
GRIB 1 C-language (FORTRAN callable) free decoding package compatible to some extent with ECMWF GRIBEX routine
NCEP codes
free software (C and FORTRAN library) for decoding and encoding data in GRIB 1 format
NCEP codes
free software (C and FORTRAN library) for decoding and encoding data in GRIB 2 format (some template only)
JGrib
- Jgrib is a free library for reading GRIB files in Java.
Meteosatlib
- Meteosatlib is a free software C++ library and set of tools to convert satellite images between various formats; it can read and write GRIB data, and its GRIB encoding/decoding library can be used standalone. *
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimizat ...
, a general mathematical, statistical, and presentation application directly handles GRIB files and can map them with many projections * The
NCAR Command Language The US National Center for Atmospheric Research (NCAR ) is a US federally funded research and development center (FFRDC) managed by the nonprofit University Corporation for Atmospheric Research (UCAR) and funded by the National Science Foundatio ...
can be used to read, analyze and visualize GRIB data, as well convert it to other gridded data formats.
PyNIO
is a
Python programming language Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Python is dynamically-typed and garbage-collected. It supports multiple programming p ...
module that allows read and/or write access to a variety of data formats using an interface modelled on netCDF.
degrib
(AKA NDFD GRIB2 Decoder) is a reader for GRIB 1 and GRIB 2 files.

is a reader for GRIB 2 files.
GRIB API
is an
API An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software Interface (computing), interface, offering a service to other pieces of software. A document or standa ...
developed at ECMWF to decode and encode GRIB edition 1 and 2 data. Note: this package has now been replaced b
ecCodes
which is a superset of GRIB API. A useful set o
command line tools
is also included. ECMWF also offers the plotting packag
Magics
and the
Metview Metview is a meteorological workstation and batch system developed at the European Centre for Medium-Range Weather Forecasts. History Developments were started at ECMWF in 1990 in co-operation with the National Institute for Space Research of ...
workstation/batch system to handle/visualise GRIB files.
QGIS
- QGIS is a graphical open source software that can visualise GRIB files.
Ugrib
– Ugrib is a no cost graphical GRIB viewer designed for reading GRIB 1 files. The website GRIB.US also aims to provide education on the prudent and safe use of GRIB data for forecasting weather. ''This link is not working as of 20 May 2017.''

- SmartMet is a Windows tool that reads, writes and visualises GRIB data.
Xconv/Convsh
– Xconv is a graphical tool for displaying and converting gridded data, and is available for most operating systems. Convsh is the command-line equivalent. * Th
NetCDF-Java Common Data Model
is a Java library that can read GRIB 1 and GRIB 2 files.
zyGrib
a graphical software for Linux, Mac OS X and Windows (GPL3, Qt) to download and display GRIB 1 and GRIB 2 (since v8.0) files.
XyGrib
started as a fork of zyGirb 8.0.1. It is a multiplatform software also. *
GDAL The Geospatial Data Abstraction Library (GDAL) is a computer software library for reading and writing raster and vector geospatial data formats (e.g. shapefile), and is released under the permissive X/MIT style free software license by the Open ...
, a popular open source reading and writing library for geospatial data
PredictWind Offshore App
A multi platform app designed for boats heading offshore with a need to download forecast GRIB data on a Satellite or SSB connection .
LuckGrib
an app available on
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
,
iOS iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating system that powers many of the company's mobile devices, including the iPhone; the term also includes ...
and
iPadOS iPadOS is a mobile operating system developed by Apple Inc. for its iPad line of tablet computers. It is a rebranded variant of iOS, the operating system used by Apple's iPhones, renamed to reflect the diverging features of the two product l ...
, designed for sailors and other weather enthusiasts. LuckGrib provides easy access to many GRIB weather models. In addition, several ocean current and wave models are provided. Data can be downloaded via the internet, satellite or email.
PyGrib
A python language extension module which allows one to read and write GRIB 1 and GRIB 2 formats.
PolarView
A navigation application that includes a GRIB viewer, supporting both GRIB 1 and GRIB 2. PolarView includes
GRIB download
service for GFS (wind/atmospheric pressure), NWW3 (wave height/direction) and RTOFS (Atlantic currents) data from NOAA. Available for Linux, Mac and Windows.
OpenCPN
Open Source Chart Plotter / Marine Navigator. For day to day cruising or advance route planning. (NOTE: GRIB support is available since versio


CDO
(Climate Data Operators) is an analysis tool for geoscientific data with GRIB support
IDV
is a meteorologically oriented, platform-independent application for visualization and analysis of GRIB1, GRIB2 and NetCDF files.
SoftwareOnBoard
A marine navigation application for Windows that includes GRIB overlays on the chart.
GribAE
A freeware Windows interface for WGRIB.
qtVlm
a free software for linux, windows, mac, android, raspberryPi and iOS, with an interface with GPS and routing functions (+ an interface with virtual sailing gam
VLM

PyNDFD
an open source Python module for retrieving real-time forecast data from the US National Weather Service. GRIB formatted data is cached and parsed to give the developer access to dozens of up-to-date weather forecast variables. Data is available for the next 7 days for any coordinate within the United States.
Weather4D
This application processes GRIB files (about 35 weather/wave/current models available) to create weather forecasts which can be animated in 3D HD. The "Routing" version provides also weather routing capabilities based on selected models and polar data, location management. The "Routing & Navigation" version adds navigation features such as NMEA interface, AIS, nautical charts, instrument panels, track recording.
glgrib
This application displays GRIB2 fields with OpenGL. Raster, contour, vector, colorbar, mapscale, coastlines, borders. Lat/lon, lambert, gaussian grid. It is possible to look at fields interactively (move, zoom, etc.). High resolution fields (2.5 km and 1.25 km global) have been displayed using glgrib.


Mobile Apps


iOS

Several
iOS iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating system that powers many of the company's mobile devices, including the iPhone; the term also includes ...
Apps support the GRIB format, including:
iGrib

PocketGrib

WeatherTrack

Weather4D

PredictWind Offshore App

LuckGrib

qtVlm

mazu


Android

Several Android Apps support the GRIB format, including:
mobileGRIB

PocketGrib

qtVlm

SailGrib

Weather4D

PredictWind Offshore App


See also

*
Common Data Format Common Data Format (CDF) is a library and toolkit that was developed by the National Space Science Data Center (NSSDC) at NASA started in 1985. The software is an interface for the storage and manipulation of multi-dimensional data sets. See al ...
(CDF) *
Hierarchical Data Format Hierarchical Data Format (HDF) is a set of file formats (HDF4, HDF5) designed to store and organize large amounts of data. Originally developed at the U.S. National Center for Supercomputing Applications, it is supported by The HDF Group, a non-p ...
(HDF) *
NetCDF NetCDF (Network Common Data Form) is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data. The project homepage is hosted by the Unidata ...
*
PP-format The PP-format (Post Processing Format) is a proprietary file format for meteorological data developed by the Met Office, the United Kingdom's national weather service. Simulations of the weather are performed by the Met Office's Unified Model, whi ...
*
Global Forecast System The Global Forecast System (GFS) is a global numerical weather prediction system containing a global computer model and variational analysis run by the United States' National Weather Service (NWS). Operation The mathematical model is run f ...
*
GrADS The Grid Analysis and Display System (GrADS) is an interactive desktop tool that is used for easy access, manipulation, and visualization of earth science data. The format of the data may be either binary, GRIB, NetCDF, or HDF-SDS (Scientific Da ...


References

{{reflist


External links


WMO manual on Codes No 306GRIB Edition 2 (01/2003)GRIB Edition 2 (binary only 11/2003)
of
Environment Canada Environment and Climate Change Canada (ECCC; french: Environnement et Changement climatique Canada),Environment and Climate Change Canada is the applied title under the Federal Identity Program; the legal title is Department of the Environment ( ...

NCEP Office Note 388, GRIB1What is GRIB API?

What is ecCodes(?)On the suitability of BUFR and GRIB for archiving data
Meteorological data and networks Earth sciences data formats