Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion definitions/create_grib2_codetables.pl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@
$filename = "$codetable.$discipline.table";
WriteFile($filename, $subtitle, $codeFlag, $meaning, $unit);
}
elsif ($subtitle eq "") {
else {
# No subtitle, or a subtitle which is not a discipline/category
# (e.g. "Risk category" in Code table 4.256)
$filename = "$codetable.table";
WriteFile($filename, $title, $codeFlag, $meaning, $unit);
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/grib2/boot.def
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# This gets updated twice a year by WMO.
# See https://community.wmo.int/en/wis/latest-version
# https://wmo.int/latest-version
constant tablesVersionLatestOfficial = 37 : edition_specific;
constant tablesVersionLatestOfficial = 38 : edition_specific;
# If this is different from the official version, then it is the pre-operational version
constant tablesVersionLatest = 37 : edition_specific;
constant tablesVersionLatest = 38 : edition_specific;

constant false = 0 : hidden;
constant true = 1 : hidden;
Expand Down
5 changes: 3 additions & 2 deletions definitions/grib2/tables/1.0.table
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
35 35 Version implemented on 19 May 2025
36 36 Version implemented on 17 November 2025
37 37 Version implemented on 8 June 2026
38 38 Pre-operational to be implemented by next amendment
# 39-254 Future versions
38 38 Version implemented on 1 December 2026
39 39 Pre-operational to be implemented by next amendment
# 40-254 Future versions
255 255 Missing
6 changes: 3 additions & 3 deletions definitions/grib2/tables/37/4.0.table
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@
154 154 Individual large ensemble reforecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time
155 155 Individual large ensemble reforecast, control and perturbed, at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
156 156 Average, accumulation, extreme values or other statistically processed values at a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol
157 157 Individual ensemble forecast, control and perturbed at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol
157 157 Individual ensemble forecast, control and perturbed at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol
158 158 Average, accumulation, extreme values or other statistically processed values at a continuous or non-continuous time interval for optical properties of aerosol with source or sink
159 159 Individual ensemble forecast, control and perturbed at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol with source or sink
159 159 Individual ensemble forecast, control and perturbed at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol with source or sink
160 160 Derived forecasts based on all ensemble members at a horizontal level or in a horizontal layer at a point in time for waves selected by period range
161 161 Derived forecasts based on all ensemble members at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for waves selected by period range
162 162 Probability forecasts at a horizontal level or in a horizontal layer at a point in time for waves selected by period range
Expand Down Expand Up @@ -182,7 +182,7 @@
197 197 Probability forecasts at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol
198 198 Probability forecasts at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for optical properties of aerosol with source or sink
199 199 Derived products of post-processed forecasts based on all ensemble members at a horizontal level or in a horizontal layer at a point in time
200 200 Derived products of post-processed forecasts based on all ensemble members at a horizontal level or in a horizontal layer  in a continuous or non-continuous time interval
200 200 Derived products of post-processed forecasts based on all ensemble members at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
201 201 Probability of post-processed forecast at a horizontal level or in a horizontal layer at a point in time
202 202 Probability of post-processed forecast at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
203 203 Satellite product with channel, bandwidth and polarization
Expand Down
10 changes: 5 additions & 5 deletions definitions/grib2/tables/37/4.2.0.7.table
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
20 20 Thunderstorm intensity index (Code table 4.246)
21 21 Storm severity index (Numeric)
22 22 Reciprocal Obukhov length (m-1)
23 23 Storm relative helicity – right moving storm (J/kg)
24 24 Storm relative helicity – left moving storm (J/kg)
25 25 Effective storm relative helicity – mean flow (J/kg)
26 26 Effective storm relative helicity – right moving storm (J/kg)
27 27 Effective storm relative helicity – left moving storm (J/kg)
23 23 Storm relative helicity - right moving storm (J/kg)
24 24 Storm relative helicity - left moving storm (J/kg)
25 25 Effective storm relative helicity - mean flow (J/kg)
26 26 Effective storm relative helicity - right moving storm (J/kg)
27 27 Effective storm relative helicity - left moving storm (J/kg)
# 28-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
10 changes: 10 additions & 0 deletions definitions/grib2/tables/37/4.254.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Code table 4.254 - Polarization of satellite band
0 0 Unpolarized (-)
1 1 Quasi-horizontal (QH) (-)
2 2 Quasi-vertical (QV) (-)
3 3 Horizontal (H) (-)
4 4 Vertical (V) (-)
5 5 Right-Hand Circular Polarization (RHCP) (-)
6 6 Left-Hand Circular Polarization (LHCP) (-)
# 7-254 Reserved
255 255 Missing
14 changes: 14 additions & 0 deletions definitions/grib2/tables/38/0.0.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Code table 0.0 - Discipline of processed data in the GRIB message, number of GRIB Master table
0 0 Meteorological products
1 1 Hydrological products
2 2 Land surface products
3 3 Satellite remote sensing products (formerly Space products)
4 4 Space weather products
# 5-9 Reserved
10 10 Oceanographic products
# 11-19 Reserved
20 20 Health and socioeconomic impacts
# 21-190 Reserved
191 191 Computational parameters
# 192-254 Reserved for local use
255 255 Missing
43 changes: 43 additions & 0 deletions definitions/grib2/tables/38/1.0.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Code table 1.0 - GRIB master tables version number
0 0 Experimental
1 1 Version implemented on 7 November 2001
2 2 Version implemented on 4 November 2003
3 3 Version implemented on 2 November 2005
4 4 Version implemented on 7 November 2007
5 5 Version implemented on 4 November 2009
6 6 Version implemented on 15 September 2010
7 7 Version implemented on 4 May 2011
8 8 Version implemented on 2 November 2011
9 9 Version implemented on 2 May 2012
10 10 Version implemented on 7 November 2012
11 11 Version implemented on 8 May 2013
12 12 Version implemented on 14 November 2013
13 13 Version implemented on 7 May 2014
14 14 Version implemented on 5 November 2014
15 15 Version implemented on 6 May 2015
16 16 Version implemented on 11 November 2015
17 17 Version implemented on 4 May 2016
18 18 Version implemented on 2 November 2016
19 19 Version implemented on 3 May 2017
20 20 Version implemented on 8 November 2017
21 21 Version implemented on 2 May 2018
22 22 Version implemented on 7 November 2018
23 23 Version implemented on 15 May 2019
24 24 Version implemented on 6 November 2019
25 25 Version implemented on 6 May 2020
26 26 Version implemented on 16 November 2020
27 27 Version implemented on 15 June 2021
28 28 Version implemented on 15 November 2021
29 29 Version implemented on 15 May 2022
30 30 Version implemented on 15 November 2022
31 31 Version implemented on 15 May 2023
32 32 Version implemented on 30 November 2023
33 33 Version implemented on 15 May 2024
34 34 Version implemented on 18 November 2024
35 35 Version implemented on 19 May 2025
36 36 Version implemented on 17 November 2025
37 37 Version implemented on 8 June 2026
38 38 Version implemented on 1 December 2026
39 39 Pre-operational to be implemented by next amendment
# 40-254 Future versions
255 255 Missing
4 changes: 4 additions & 0 deletions definitions/grib2/tables/38/1.1.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code table 1.1 - GRIB local tables version number
0 0 Local tables not used. Only table entries and templates from the current master table are valid
# 1-254 Number of local tables version used
255 255 Missing
11 changes: 11 additions & 0 deletions definitions/grib2/tables/38/1.2.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Code table 1.2 - Significance of reference time
0 0 Analysis
1 1 Start of forecast
2 2 Verifying time of forecast
3 3 Observation time
4 4 Local time
5 5 Simulation start
6 6 Start of data assimilation
# 7-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
22 changes: 22 additions & 0 deletions definitions/grib2/tables/38/1.3.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Code table 1.3 - Production status of data
0 0 Operational products
1 1 Operational test products
2 2 Research products
3 3 Re-analysis products
4 4 THORPEX Interactive Grand Global Ensemble (TIGGE)
5 5 THORPEX Interactive Grand Global Ensemble test (TIGGE)
6 6 S2S operational products
7 7 S2S test products
8 8 Uncertainties in Ensembles of Regional ReAnalyses project (UERRA)
9 9 Uncertainties in Ensembles of Regional ReAnalyses project test (UERRA)
10 10 Copernicus regional reanalysis (CARRA/CERRA)
11 11 Copernicus regional reanalysis test (CARRA/CERRA)
12 12 Destination Earth
13 13 Destination Earth test
14 14 Lead Centre for Global Climate Reanalyses (LC-GCR)
15 15 Lead Centre for Global Climate Reanalyses test (LC-GCR)
16 16 Machine Learning Model Intercomparison Project (MLMIP)
17 17 Machine Learning Model Intercomparison Project test (MLMIP)
# 18-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
16 changes: 16 additions & 0 deletions definitions/grib2/tables/38/1.4.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Code table 1.4 - Type of data
0 an Analysis products
1 fc Forecast products
2 af Analysis and forecast products
3 cf Control forecast products
4 pf Perturbed forecast products
5 cp Control and perturbed forecast products
6 sa Processed satellite observations
7 ra Processed radar observations
8 ep Event probability
9 9 Experimental data
10 10 ML based forecast
11 11 Multi-model ensemble forecast products
# 12-191 Reserved
# 192-254 Reserved for local use
255 missing Missing
7 changes: 7 additions & 0 deletions definitions/grib2/tables/38/1.5.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Code table 1.5 - Identification template number
0 0 Calendar definition
1 1 Paleontological offset
2 2 Calendar definition and paleontological offset
# 3-32767 Reserved
# 32768-65534 Reserved for local use
65535 65535 Missing
8 changes: 8 additions & 0 deletions definitions/grib2/tables/38/1.6.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Code table 1.6 - Type of calendar
0 0 Gregorian
1 1 360-day
2 2 365-day
3 3 Proleptic Gregorian
# 4-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
6 changes: 6 additions & 0 deletions definitions/grib2/tables/38/3.0.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Code table 3.0 - Source of grid definition
0 0 Specified in Code table 3.1
1 1 Predetermined grid definition (Defined by originating centre)
# 2-191 Reserved
# 192-254 Reserved for local use
255 255 A grid definition does not apply to this product
57 changes: 57 additions & 0 deletions definitions/grib2/tables/38/3.1.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Code table 3.1 - Grid definition template number
0 0 Latitude/longitude (Also called equidistant cylindrical, or Plate Carree)
1 1 Rotated latitude/longitude
2 2 Stretched latitude/longitude
3 3 Stretched and rotated latitude/longitude
4 4 Variable resolution latitude/longitude
5 5 Variable resolution rotated latitude/longitude
# 6-9 Reserved
10 10 Mercator
# 11 Reserved
12 12 Transverse Mercator
13 13 Mercator with modelling subdomains definition
# 14-19 Reserved
20 20 Polar stereographic projection (Can be south or north)
# 21-22 Reserved
23 23 Polar stereographic with modelling subdomains definition
# 24-29 Reserved
30 30 Lambert conformal (Can be secant or tangent, conical or bipolar)
31 31 Albers equal area
# 32 Reserved
33 33 Lambert conformal with modelling subdomains definition
# 34-39 Reserved
40 40 Gaussian latitude/longitude
41 41 Rotated Gaussian latitude/longitude
42 42 Stretched Gaussian latitude/longitude
43 43 Stretched and rotated Gaussian latitude/longitude
# 44-49 Reserved
50 50 Spherical harmonic coefficients
51 51 Rotated spherical harmonic coefficients
52 52 Stretched spherical harmonic coefficients
53 53 Stretched and rotated spherical harmonic coefficients
# 54-60 Reserved
61 61 Spectral Mercator with modelling subdomains definition
62 62 Spectral polar stereographic with modelling subdomains definition
63 63 Spectral Lambert conformal with modelling subdomains definition
# 64-89 Reserved
90 90 Space view perspective or orthographic
# 91-99 Reserved
100 100 Triangular grid based on an icosahedron
101 101 General unstructured grid
# 102-109 Reserved
110 110 Equatorial azimuthal equidistant projection
# 111-119 Reserved
120 120 Azimuth-range projection
# 121-139 Reserved
140 140 Lambert azimuthal equal area projection
# 141-149 Reserved
150 150 Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)
# 151-999 Reserved
1000 1000 Cross-section grid with points equally spaced on the horizontal
# 1001-1099 Reserved
1100 1100 Hovmoller diagram grid with points equally spaced on the horizontal
# 1101-1199 Reserved
1200 1200 Time section grid
# 1201-32767 Reserved
# 32768-65534 Reserved for local use
65535 65535 Missing
8 changes: 8 additions & 0 deletions definitions/grib2/tables/38/3.10.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Flag table 3.10 - Scanning mode for one diamond
1 0 Points scan in +i direction, i.e. from pole to Equator
1 1 Points scan in -i direction, i.e. from Equator to pole
2 0 Points scan in +j direction, i.e. from west to east
2 1 Points scan in -j direction, i.e. from east to west
3 0 Adjacent points in i direction are consecutive
3 1 Adjacent points in j direction are consecutive
# 4-8 Reserved
7 changes: 7 additions & 0 deletions definitions/grib2/tables/38/3.11.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Code table 3.11 - Interpretation of list of numbers at end of section 3
0 0 There is no appended list
1 1 Numbers define number of points corresponding to full coordinate circles (i.e. parallels), coordinate values on each circle are multiple of the circle mesh, and extreme coordinate values given in grid definition (i.e. extreme longitudes) may not be reached in all rows
2 2 Numbers define number of points corresponding to coordinate lines delimited by extreme coordinate values given in grid definition (i.e. extreme longitudes) which are present in each row
3 3 Numbers define the actual latitudes for each row in the grid. The list of numbers are integer values of the valid latitudes in microdegrees (scaled by 10-6) or in unit equal to the ratio of the basic angle and the subdivisions number for each row, in the same order as specified in the scanning mode flag (bit no. 2)
# 4-254 Reserved
255 255 Missing
6 changes: 6 additions & 0 deletions definitions/grib2/tables/38/3.12.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Code table 3.12 - HEALPix rhomboids or points ordering
0 ring Ring ordering
1 nested Nested ordering
# 2-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
8 changes: 8 additions & 0 deletions definitions/grib2/tables/38/3.13.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Flag table 3.13 - HEALPix scanning mode
1 0 Points scan in +i (+x) direction
1 1 Points scan in -i (-x) direction
2 0 Points scan in -j (-y) direction
2 1 Points scan in +j (+y) direction
3 0 Adjacent points in i (x) direction are consecutive
3 1 Adjacent points in j (y) direction are consecutive
# 4-8 Reserved
23 changes: 23 additions & 0 deletions definitions/grib2/tables/38/3.15.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Code table 3.15 - Physical meaning of vertical coordinate
# 0-19 Reserved
20 20 Temperature (K)
# 21-99 Reserved
100 100 Pressure (Pa)
101 101 Pressure deviation from mean sea level (Pa)
102 102 Altitude above mean sea level (m)
103 103 Height above ground (m)
104 104 Sigma coordinate
105 105 Hybrid coordinate
106 106 Depth below land surface (m)
107 pt Potential temperature (theta) (K)
108 108 Pressure deviation from ground to level (Pa)
109 pv Potential vorticity (K m2 kg-1 s-1)
110 110 Geometrical height (m)
111 111 Eta coordinate
112 112 Geopotential height (gpm)
113 113 Logarithmic hybrid coordinate
# 114-159 Reserved
160 160 Depth below sea level (m)
# 161-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
16 changes: 16 additions & 0 deletions definitions/grib2/tables/38/3.2.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Code table 3.2 - Shape of the reference system
0 0 Earth assumed spherical with radius = 6 367 470.0 m
1 1 Earth assumed spherical with radius specified (in m) by data producer
2 2 Earth assumed oblate spheroid with size as determined by IAU in 1965 (major axis = 6 378 160.0 m, minor axis = 6 356 775.0 m, f = 1/297.0)
3 3 Earth assumed oblate spheroid with major and minor axes specified (in km) by data producer
4 4 Earth assumed oblate spheroid as defined in IAG-GRS80 model (major axis = 6 378 137.0 m, minor axis = 6 356 752.314 m, f = 1/298.257 222 101)
5 5 Earth assumed represented by WGS-84 (as used by ICAO since 1998)
6 6 Earth assumed spherical with radius of 6 371 229.0 m
7 7 Earth assumed oblate spheroid with major or minor axes specified (in m) by data producer
8 8 Earth model assumed spherical with radius of 6 371 200 m, but the horizontal datum of the resulting latitude/longitude field is the WGS-84 reference frame
9 9 Earth represented by the Ordnance Survey Great Britain 1936 Datum, using the Airy 1830 Spheroid, the Greenwich meridian as 0 longitude, and the Newlyn datum as mean sea level, 0 height
10 10 Earth model assumed WGS84 with corrected geomagnetic coordinates (latitude and longitude) defined by Gustafsson et al., 1992
11 11 Sun assumed spherical with radius = 695 990 000 m (Allen, C.W., Astrophysical Quantities, 3rd ed.; Athlone: London, 1976) and Stonyhurst latitude and longitude system with origin at the intersection of the solar central meridian (as seen from Earth) and the solar equator (Thompson, W., Coordinate systems for solar image data, Astron. Astrophys. 2006, 449, 791-803)
# 12-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
6 changes: 6 additions & 0 deletions definitions/grib2/tables/38/3.20.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Code table 3.20 - Type of horizontal line
0 0 Rhumb
1 1 Great circle
# 2-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
8 changes: 8 additions & 0 deletions definitions/grib2/tables/38/3.21.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Code table 3.21 - Vertical dimension coordinate values definition
0 0 Explicit coordinate values set
1 1 Linear coordinates f(1) = C1, f(n) = f(n-1) + C2
# 2-10 Reserved
11 11 Geometric coordinates f(1) = C1, f(n) = C2 * f(n-1)
# 12-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
10 changes: 10 additions & 0 deletions definitions/grib2/tables/38/3.25.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Code table 3.25 - Type of bi-Fourier truncation
# 0-76 Reserved
77 77 Rectangular
# 78-87 Reserved
88 88 Elliptic
# 89-98 Reserved
99 99 Diamond
# 100-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
9 changes: 9 additions & 0 deletions definitions/grib2/tables/38/3.3.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Flag table 3.3 - Resolution and component flags
# 1-2 Reserved
3 0 i direction increments not given
3 1 i direction increments given
4 0 j direction increments not given
4 1 j direction increments given
5 0 Resolved u- and v- components of vector quantities relative to easterly and northerly directions
5 1 Resolved u- and v- components of vector quantities relative to the defined grid in the direction of increasing x and y (or i and j) coordinates, respectively
# 6-8 Reserved - set to zero
Loading
Loading