Skip to content

Commit

Permalink
ECC-1714: GRIB2: Update tables/templates with the latest WMO V32.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Nov 30, 2023
1 parent f31265e commit ca6da53
Show file tree
Hide file tree
Showing 170 changed files with 4,088 additions and 4 deletions.
4 changes: 2 additions & 2 deletions definitions/grib2/boot.def
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

# This gets updated twice a year by WMO.
# See https://community.wmo.int/activity-areas/wmo-codes/manual-codes/latest-version
constant tablesVersionLatestOfficial = 31 : edition_specific;
constant tablesVersionLatestOfficial = 32 : edition_specific;
# If this is different from the official version, then it is the pre-operational version
constant tablesVersionLatest = 31 : edition_specific;
constant tablesVersionLatest = 32 : 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 @@ -31,6 +31,7 @@
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 Pre-operational to be implemented by next amendment
# 33-254 Future versions
32 32 Version implemented on 30 November 2023
33 33 Pre-operational to be implemented by next amendment
# 34-254 Future versions
255 255 Master tables not used. Local table entries and local templates may use the entire range of the table, not just those sections marked Reserved for local used.
13 changes: 13 additions & 0 deletions definitions/grib2/tables/32/0.0.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
37 changes: 37 additions & 0 deletions definitions/grib2/tables/32/1.0.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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 Pre-operational to be implemented by next amendment
# 34-254 Future versions
255 255 Missing
4 changes: 4 additions & 0 deletions definitions/grib2/tables/32/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
9 changes: 9 additions & 0 deletions definitions/grib2/tables/32/1.2.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 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-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
18 changes: 18 additions & 0 deletions definitions/grib2/tables/32/1.3.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
13 changes: 13 additions & 0 deletions definitions/grib2/tables/32/1.4.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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-191 Reserved
# 192-254 Reserved for local use
255 missing Missing
7 changes: 7 additions & 0 deletions definitions/grib2/tables/32/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/32/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/32/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/32/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/32/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/32/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/32/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 0 Ring ordering
1 1 Nested ordering
# 2-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
8 changes: 8 additions & 0 deletions definitions/grib2/tables/32/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/32/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/32/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/32/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/32/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/32/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/32/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
17 changes: 17 additions & 0 deletions definitions/grib2/tables/32/3.4.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Flag table 3.4 - Scanning mode
1 0 Points of first row or column scan in the +i (+x) direction
1 1 Points of first row or column scan in the -i (-x) direction
2 0 Points of first row or column scan in the -j (-y) direction
2 1 Points of first row or column scan in the +j (+y) direction
3 0 Adjacent points in i (x) direction are consecutive
3 1 Adjacent points in j (y) direction are consecutive
4 0 All rows scan in the same direction
4 1 Adjacent rows scan in the opposite direction
5 0 Points within odd rows are not offset in i (x) direction
5 1 Points within odd rows are offset by Di/2 in i (x) direction
6 0 Points within even rows are not offset in i (x) direction
6 1 Points within even rows are offset by Di/2 in i (x) direction
7 0 Points are not offset in j (y) direction
7 1 Points are offset by Dj/2 in j (y) direction
8 0 Rows have Ni grid points and columns have Nj grid points
8 1 Rows have Ni grid points if points are not offset in i direction Rows have Ni-1 grid points if points are offset by Di/2 in i direction Columns have Nj grid points if points are not offset in j direction Columns have Nj-1 grid points if points are offset by Dj/2 in j direction
5 changes: 5 additions & 0 deletions definitions/grib2/tables/32/3.5.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Flag table 3.5 - Projection centre
1 0 North Pole is on the projection plane
1 1 South Pole is on the projection plane
2 0 Only one projection centre is used
2 1 Projection is bipolar and symmetric
3 changes: 3 additions & 0 deletions definitions/grib2/tables/32/3.6.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Code table 3.6 - Spectral data representation type
1 1 see separate doc or pdf file
2 2 Bi-Fourier representation
5 changes: 5 additions & 0 deletions definitions/grib2/tables/32/3.7.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Code table 3.7 - Spectral data representation mode
0 0 Reserved
1 1 see separate doc or pdf file
# 2-254 Reserved
255 255 Missing
10 changes: 10 additions & 0 deletions definitions/grib2/tables/32/3.8.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Code table 3.8 - Grid point position
0 0 Grid points at triangle vertices
1 1 Grid points at centres of triangles
2 2 Grid points at midpoints of triangle sides
3 3 Grid points at shape vertices
4 4 Grid points at centre of shapes
5 5 Grid points at midpoints of shape sides
# 6-191 Reserved
# 192-254 Reserved for local use
255 255 Missing
4 changes: 4 additions & 0 deletions definitions/grib2/tables/32/3.9.table
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Flag table 3.9 - Numbering order of diamonds as seen from the corresponding pole
1 0 Clockwise orientation
1 1 Anti-clockwise (i.e. counter-clockwise) orientation
# 2-8 Reserved
Loading

0 comments on commit ca6da53

Please sign in to comment.