The following GRIBEX Fortan interface is not present any
-longer in the GRIB API. You will have seen from the GRIB API Fortran
-90 interface that the information contained in the grib message
-can be accessed through alphanumeric keys.
-
In your Fortran code, you will have to name explicitly the keys that you
-are using. The tables below will help you to find the key names
-corresponding to the "old" GRIB header section elements.
-
-
These tables include the GRIB API Coded key names and also
- Recommended GRIB API key names. You should use the latter.
-
-
INTEGER INTEGER KSEC0(2) INTEGER KSEC1(1024) INTEGER KSEC2(1024) INTEGER KSEC3(2) INTEGER KSEC4(512) INTEGER KLENP, KLENG, KWORD, KRET INTEGER KGRIB(*) C REAL PSEC2(512) REAL PSEC3(2) REAL PSEC4(*) C CHARACTER*1 HOPER : : CALL GRIBEX(KSEC0,KSEC1,KSEC2,PSEC2,KSEC3,PSEC3,KSEC4, X PSEC4,KLENP,KGRIB,KLENG,KWORD,HOPER,KRET)
+
+
The following GRIBEX Fortan interface is not present any
+longer in the GRIB API. You will have seen from the GRIB API Fortran
+90 interface that the information contained in the grib message
+can be accessed through alphanumeric keys.
+
In your Fortran code, you will have to name explicitly the keys that you
+are using. The tables below will help you to find the key names
+corresponding to the "old" GRIB header section elements.
+
+
These tables include the GRIB API Coded key names and also
+ Recommended GRIB API key names. You should use the latter.
+
+
INTEGER INTEGER KSEC0(2) INTEGER KSEC1(1024) INTEGER KSEC2(1024) INTEGER KSEC3(2) INTEGER KSEC4(512) INTEGER KLENP, KLENG, KWORD, KRET INTEGER KGRIB(*) C REAL PSEC2(512) REAL PSEC3(2) REAL PSEC4(*) C CHARACTER*1 HOPER : : CALL GRIBEX(KSEC0,KSEC1,KSEC2,PSEC2,KSEC3,PSEC3,KSEC4, X PSEC4,KLENP,KGRIB,KLENG,KWORD,HOPER,KRET)
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag. 0 Resolved u and v components of vector quantities relative to easterly and northerly directions; or not used. 8 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.
-
-
uvRelativeToGrid
-
-
-
-
20-22
-
Reserved. Set to 0.
-
-
-
-
-
23-nn
-
For a quasi-regular (reduced) grid, NN
-the number of points along a full parallel (360 degrees) is defined for
-each latitude row in the area. The number of parallels is given by Nj
-above.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag. 0 Resolved u and v components of vector quantities relative to easterly and northerly directions; or not used. 8 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.
+
+
uvRelativeToGrid
+
+
+
+
20-22
+
Reserved. Set to 0.
+
+
+
+
+
23-nn
+
For a quasi-regular (reduced) grid, NN
+the number of points along a full parallel (360 degrees) is defined for
+each latitude row in the area. The number of parallels is given by Nj
+above.
Generating process identification number, allocated by
-the originating centre. (255 is used at ECMWF as an indicator for dummy
-surface pressure fields).
-See ECMWF
-model identifiers.
-
generatingProcessIdentifier
-
-
-
-
4
-
Grid definition. NNN catalogue number of grid used by
-the originating centre (See Volume B of WMO publication No.9). 255 for
-a non-catalogued grid, in which case the grid description follows in
-KSEC2.
Flag showing whether sections 2 and 3 are present (see
- WMO
-code table 1):
-
0, Sections 2 and 3 are omitted. 64, Section 2 is omitted, Section 3 is included. 128, Section 2 is included, Section 3 is omitted. 192, Sections 2 and 3 are included.
Type of level indicator (see WMO
-code table 3), or satellite
-identifier. Satellite usage is as defined by INPE/CPTEC and used by
-ECMWF pending final definition by WMO.
-
typeOfLevel
-
-
-
-
8
-
Height, pressure, etc of level (see WMO
-code table 3). Single level or top
-of layer, or satellite spectral band. Satellite usage is as defined by
-INPE/CPTEC and used by ECMWF pending final definition by WMO.
-
level
-
-
-
-
9
-
Height, pressure, etc of level (see WMO
-code table 3). Bottom of layer if
-element 7 indicates a layer.
-
-
typeOfLevel
-
-
-
-
-
10-14
-
Reference time of data. Date and time of start of
-averaging or accumulation.
stepType = instant |
- avg |
- accum |
- max |
- min | diff |
- rms |
- sd |
- cov |
- ratio
-
-
-
stepUnits = s (seconds) | m (minutes) | h (hours) | 3h | 6h | 12h | D (day) | M (month) | Y (year) | 10Y | 30Y | C (century)
-
default value for stepUnits is "h"
-
startStep, endStep
-
stepRange (= "endStep" | "startStep-endStep" )
-
step
-
-
-
-
16
-
P1 - Time period (number of time units) 0 for analyses
- or initialised analyses.
-
-
-
17
-
P2 - Time period (number of time units). Or time
- interval between successive analyses, initialised analyses or forecasts
- undergoing averaging or accumulation. Otherwise set to zero.
Number of products included in an average, when the
- time range indicates an average or accumulation. Otherwise set to zero.
-
-
-
-
20
-
Number of products missing from an average, when the
- time range indicates an average or accumulation. Otherwise set to zero.
-
-
-
-
21
-
Century of reference time of data (eg 20 for 1997).
-
date/1000-1
-
-
-
-
22
-
Sub-centre identifier.
-
subCentre
-
-
-
-
23
-
Decimal scale factor.
-
-
decimalScaleFactor
-
decimalPrecision
-
-
-
-
-
24
-
Flag field to indicate local use in Section 1:
-
0 No local use in section 1. 1 Local use in section 1.
-
-
setLocalDefinition
-
-
-
-
25-36
-
Reserved for WMO reserved fields. Set to 0.
-
-
-
-
-
37
-
ECMWF local GRIB use definition identifier. This
-number determines the contents of elements 38-nn. See ECMWF
-local GRIB usage definitions.
-Local definition numbers 192 to 255 inclusive will not be used for
-ECMWF local extensions. They are free for use by Member States.
-
-
class
-
type
-
stream
-
expver
-
...
-
-
-
-
-
-
Note: For year 2000, KSEC1(21) = 20 and KSEC1(10) = 100 For year 2001, KSEC1(21) = 21 and KSEC1(10) = 1
Generating process identification number, allocated by
+the originating centre. (255 is used at ECMWF as an indicator for dummy
+surface pressure fields).
+See ECMWF
+model identifiers.
+
generatingProcessIdentifier
+
+
+
+
4
+
Grid definition. NNN catalogue number of grid used by
+the originating centre (See Volume B of WMO publication No.9). 255 for
+a non-catalogued grid, in which case the grid description follows in
+KSEC2.
Flag showing whether sections 2 and 3 are present (see
+ WMO
+code table 1):
+
0, Sections 2 and 3 are omitted. 64, Section 2 is omitted, Section 3 is included. 128, Section 2 is included, Section 3 is omitted. 192, Sections 2 and 3 are included.
Type of level indicator (see WMO
+code table 3), or satellite
+identifier. Satellite usage is as defined by INPE/CPTEC and used by
+ECMWF pending final definition by WMO.
+
typeOfLevel
+
+
+
+
8
+
Height, pressure, etc of level (see WMO
+code table 3). Single level or top
+of layer, or satellite spectral band. Satellite usage is as defined by
+INPE/CPTEC and used by ECMWF pending final definition by WMO.
+
level
+
+
+
+
9
+
Height, pressure, etc of level (see WMO
+code table 3). Bottom of layer if
+element 7 indicates a layer.
+
+
typeOfLevel
+
+
+
+
+
10-14
+
Reference time of data. Date and time of start of
+averaging or accumulation.
stepType = instant |
+ avg |
+ accum |
+ max |
+ min | diff |
+ rms |
+ sd |
+ cov |
+ ratio
+
+
+
stepUnits = s (seconds) | m (minutes) | h (hours) | 3h | 6h | 12h | D (day) | M (month) | Y (year) | 10Y | 30Y | C (century)
+
default value for stepUnits is "h"
+
startStep, endStep
+
stepRange (= "endStep" | "startStep-endStep" )
+
step
+
+
+
+
16
+
P1 - Time period (number of time units) 0 for analyses
+ or initialised analyses.
+
+
+
17
+
P2 - Time period (number of time units). Or time
+ interval between successive analyses, initialised analyses or forecasts
+ undergoing averaging or accumulation. Otherwise set to zero.
Number of products included in an average, when the
+ time range indicates an average or accumulation. Otherwise set to zero.
+
+
+
+
20
+
Number of products missing from an average, when the
+ time range indicates an average or accumulation. Otherwise set to zero.
+
+
+
+
21
+
Century of reference time of data (eg 20 for 1997).
+
date/1000-1
+
+
+
+
22
+
Sub-centre identifier.
+
subCentre
+
+
+
+
23
+
Decimal scale factor.
+
+
decimalScaleFactor
+
decimalPrecision
+
+
+
+
+
24
+
Flag field to indicate local use in Section 1:
+
0 No local use in section 1. 1 Local use in section 1.
+
+
setLocalDefinition
+
+
+
+
25-36
+
Reserved for WMO reserved fields. Set to 0.
+
+
+
+
+
37
+
ECMWF local GRIB use definition identifier. This
+number determines the contents of elements 38-nn. See ECMWF
+local GRIB usage definitions.
+Local definition numbers 192 to 255 inclusive will not be used for
+ECMWF local extensions. They are free for use by Member States.
+
+
class
+
type
+
stream
+
expver
+
...
+
+
+
+
+
+
Note: For year 2000, KSEC1(21) = 20 and KSEC1(10) = 100 For year 2001, KSEC1(21) = 21 and KSEC1(10) = 1
0 A bitmap is included in the GRIB message. The data array PSEC4 contains a value which serves as a missing data indicator for use at missing data points.
Non-zero The number of a predefined bitmap. The bitmap is not included in the message. The binary data array contains only valid data values; missing points are suppressed.
-
bitmapPresent
-
-
-
-
2
-
-
-
The value used at missing data points in an INTEGER
-data field. This value must be supplied for both encoding and decoding.
-
0 A bitmap is included in the GRIB message. The data array PSEC4 contains a value which serves as a missing data indicator for use at missing data points.
Non-zero The number of a predefined bitmap. The bitmap is not included in the message. The binary data array contains only valid data values; missing points are suppressed.
+
bitmapPresent
+
+
+
+
2
+
+
+
The value used at missing data points in an INTEGER
+data field. This value must be supplied for both encoding and decoding.
+
Number of data values in array PSEC4 to be encoded or
-which have been decoded. When the 'A' coding option is used, the count
-is the number of image bytes stored four to an integer. When the 'B'
-coding option is used, the count is the number of integers used to
-return image bytes, stored four to an integer.
-
When a bitmap is used, this number includes the total
-of both missing and present data values.
-
If this number is negative:
-
the number of field points is -KSEC4(1),
-
the entire field is missing,
-
all values in PSEC4 are 0,
-
the coded data has all the bits of its scale factor
-are set to 1
-
all the bits of the exponent and mantissa of its
-reference value are set to 1 (This is an ECMWF convention).
-
-
-
numberOfPoints
-
numberOfValues
-
numberOfCodedValues
-
numberOfMissing
-
-
-
-
-
2
-
Number of bits used for each encoded value.
-
-
decimalPrecision
-
bitsPerValue
-
-
-
-
3
-
-
Type of data: 0 Grid point data. 128 Spherical harmonic coefficients (Used only if Section 2 is not included when coding data.)
Values width indicator: 0 Second order values have constant width. 16 Second order values have different widths.
-
-
-
-
-
-
11
-
Number of bits for second order values when these have
-constant width.
-
-
-
-
-
12-15
-
Reserved for WMO reserved flag fields. Set to 0.
-
-
-
-
-
16
-
For complex packing, a pointer to the start of packed
-data values (ie the octet number). Otherwise set to 0.
-
-
-
-
-
17
-
For complex packing, the scaling factor P, stored as
-the INTEGER value P*1000 (in the range -10000 to +10000). Otherwise set
-to 0.
-
-
-
-
-
18
-
For complex packing, the pentagonal resolution
-parameter J specifying the truncation of the subset of the data
-represented as 32-bit floating point numbers (ie not packed). Otherwise
-set to 0.
-
-
-
-
-
19
-
For complex packing, the pentagonal resolution
-parameter K specifying the truncation of the subset of the data
-represented as 32-bit floating point numbers (ie not packed). Otherwise
-set to 0.
-
-
-
-
-
20
-
For complex packing, the pentagonal resolution
-parameter M specifying the truncation of the subset of the data
-represented as 32-bit floating point numbers (ie not packed). Otherwise
-set to 0.
-
-
-
-
-
21
-
The number of non-missing values in a field which uses
-a bitmap.
-
When the 'B' coding option is used, this count is the
-number of image bytes
-(versions of GRIBEX after 13.040).
-
-
-
-
-
-
22-33
-
Reserved. Set to 0.
-
-
-
-
-
34
-
An offset bit pointer to coded values in the GRIB
-record. (This is returned by the 'G', 'I' or 'J' decoding options).
-
-
-
-
-
-
-
X decoding option.
-Elements 34 to 42 are used only for the 'X' option, which decodes up to
-4 values. (See HOPER above). The scanning mode must be from West to
-East and from North to South.
-
-
KSEC4 - X decoding option
-
-
Element
-
Contents
-
-
-
34
-
Number of points to be decoded (maximum 4).
-
-
-
35
-
Number of the latitude row of the first value.
-
-
-
36
-
Number of the longitude point of the first value.
-
-
-
37
-
Number of the latitude row of the second value.
-
-
-
38
-
Number of the longitude point of the second value.
-
-
-
39
-
Number of the latitude row of the third value.
-
-
-
40
-
Number of the longitude point of the third value.
-
-
-
41
-
Number of the latitude row of the fourth value.
-
-
-
42
-
Number of the longitude point of the fourth value.
-
-
-
-
Grid point matrix packing.
-For grid point packing, with a matrix of values at each grid point,
-elements 50 to (50+NC1+NC2) are used as follows:
-
-
KSEC4 - grid matrix packing
-
-
Element
-
Contents
-
-
-
50
-
First dimension of each matrix (the number of rows).
-
-
-
51
-
Second dimension of each matrix (the number of
-columns).
-
-
-
52
-
First dimension coordinate values definition.
-
-
-
53
-
Number of coefficients or values used to specify the
-first dimension coordinate function, NC1.
-
-
-
54
-
Second dimension coordinate values definition.
-
-
-
55
-
Number of coefficients or values used to specify the
-second dimension coordinate function, NC2.
-
-
-
56
-
First dimension physical significance.
-
-
-
57
-
Second dimension physical significanc.
-
-
-
58 - 59
-
Reserved. Set to 0.
-
-
-
-
ECMWF use of REALs.
-In the WMO specification, the following fields are INTEGER values.
-ECMWF uses floating-point values for its wave models, so these fields
-contain REAL values in both input and output.
-
-
KSEC4 - ECMWF use of REALs
-
-
Elements
-
Contents
-
-
-
60 - (59+NC1)
-
Coefficients to define the first dimension coordinate
-values in functional form, or the explicit coordinate values.
-
-
-
(60+NC1)-(59+NC1+NC2)
-
Coefficients to define the second dimension coordinate
-values in functional form, or the explicit coordinate values
Number of data values in array PSEC4 to be encoded or
+which have been decoded. When the 'A' coding option is used, the count
+is the number of image bytes stored four to an integer. When the 'B'
+coding option is used, the count is the number of integers used to
+return image bytes, stored four to an integer.
+
When a bitmap is used, this number includes the total
+of both missing and present data values.
+
If this number is negative:
+
the number of field points is -KSEC4(1),
+
the entire field is missing,
+
all values in PSEC4 are 0,
+
the coded data has all the bits of its scale factor
+are set to 1
+
all the bits of the exponent and mantissa of its
+reference value are set to 1 (This is an ECMWF convention).
+
+
+
numberOfPoints
+
numberOfValues
+
numberOfCodedValues
+
numberOfMissing
+
+
+
+
+
2
+
Number of bits used for each encoded value.
+
+
decimalPrecision
+
bitsPerValue
+
+
+
+
3
+
+
Type of data: 0 Grid point data. 128 Spherical harmonic coefficients (Used only if Section 2 is not included when coding data.)
Values width indicator: 0 Second order values have constant width. 16 Second order values have different widths.
+
+
+
+
+
+
11
+
Number of bits for second order values when these have
+constant width.
+
+
+
+
+
12-15
+
Reserved for WMO reserved flag fields. Set to 0.
+
+
+
+
+
16
+
For complex packing, a pointer to the start of packed
+data values (ie the octet number). Otherwise set to 0.
+
+
+
+
+
17
+
For complex packing, the scaling factor P, stored as
+the INTEGER value P*1000 (in the range -10000 to +10000). Otherwise set
+to 0.
+
+
+
+
+
18
+
For complex packing, the pentagonal resolution
+parameter J specifying the truncation of the subset of the data
+represented as 32-bit floating point numbers (ie not packed). Otherwise
+set to 0.
+
+
+
+
+
19
+
For complex packing, the pentagonal resolution
+parameter K specifying the truncation of the subset of the data
+represented as 32-bit floating point numbers (ie not packed). Otherwise
+set to 0.
+
+
+
+
+
20
+
For complex packing, the pentagonal resolution
+parameter M specifying the truncation of the subset of the data
+represented as 32-bit floating point numbers (ie not packed). Otherwise
+set to 0.
+
+
+
+
+
21
+
The number of non-missing values in a field which uses
+a bitmap.
+
When the 'B' coding option is used, this count is the
+number of image bytes
+(versions of GRIBEX after 13.040).
+
+
+
+
+
+
22-33
+
Reserved. Set to 0.
+
+
+
+
+
34
+
An offset bit pointer to coded values in the GRIB
+record. (This is returned by the 'G', 'I' or 'J' decoding options).
+
+
+
+
+
+
+
X decoding option.
+Elements 34 to 42 are used only for the 'X' option, which decodes up to
+4 values. (See HOPER above). The scanning mode must be from West to
+East and from North to South.
+
+
KSEC4 - X decoding option
+
+
Element
+
Contents
+
+
+
34
+
Number of points to be decoded (maximum 4).
+
+
+
35
+
Number of the latitude row of the first value.
+
+
+
36
+
Number of the longitude point of the first value.
+
+
+
37
+
Number of the latitude row of the second value.
+
+
+
38
+
Number of the longitude point of the second value.
+
+
+
39
+
Number of the latitude row of the third value.
+
+
+
40
+
Number of the longitude point of the third value.
+
+
+
41
+
Number of the latitude row of the fourth value.
+
+
+
42
+
Number of the longitude point of the fourth value.
+
+
+
+
Grid point matrix packing.
+For grid point packing, with a matrix of values at each grid point,
+elements 50 to (50+NC1+NC2) are used as follows:
+
+
KSEC4 - grid matrix packing
+
+
Element
+
Contents
+
+
+
50
+
First dimension of each matrix (the number of rows).
+
+
+
51
+
Second dimension of each matrix (the number of
+columns).
+
+
+
52
+
First dimension coordinate values definition.
+
+
+
53
+
Number of coefficients or values used to specify the
+first dimension coordinate function, NC1.
+
+
+
54
+
Second dimension coordinate values definition.
+
+
+
55
+
Number of coefficients or values used to specify the
+second dimension coordinate function, NC2.
+
+
+
56
+
First dimension physical significance.
+
+
+
57
+
Second dimension physical significanc.
+
+
+
58 - 59
+
Reserved. Set to 0.
+
+
+
+
ECMWF use of REALs.
+In the WMO specification, the following fields are INTEGER values.
+ECMWF uses floating-point values for its wave models, so these fields
+contain REAL values in both input and output.
+
+
KSEC4 - ECMWF use of REALs
+
+
Elements
+
Contents
+
+
+
60 - (59+NC1)
+
Coefficients to define the first dimension coordinate
+values in functional form, or the explicit coordinate values.
+
+
+
(60+NC1)-(59+NC1+NC2)
+
Coefficients to define the second dimension coordinate
+values in functional form, or the explicit coordinate values
Lambert conformal, secant or tangent, conical
-or bi-polar (normal or
-oblique) or Albers equal-area, secant or tangent, conical or bi-polar
-(normal or oblique)
-
-
Element
-
Contents
-
- GRIB API keys
-
-
-
1
-
-
Data representation type (see WMO code table 6); eg 3 Lambert conformal 8 Albers equal area 13 Oblique Lambert conformal
Resolution flag: 0 Direction increments not given. 128 Direction increments given.
-
-
ijDirectionIncrementGiven*128
-
-
-
-
7
-
Orientation of the grid. The East longitude of the
-meridian which is parallel to the Y-axis along which latitude increases
-as the Y-coordinate increases.
Projection centre flag: 0 North pole is on the projection plane. Only one projection centre is used. 128 South pole is on the projection plane. Only one projection centre is used. 64 North pole is on the projection plane. Projection is bi-polar and symmetric. 192 South pole is on the projection plane. Projection is bi-polar and symmetric.
-
-
projectionCenterFlag
-
-
-
-
14
-
First latitude from the pole at which the secant cone
-cuts the sphere.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
-
-
uvRelativeToGrid
-
-
-
-
20
-
Latitude of the southern pole.
-
latitudeOfSouthernPoleInDegrees*1000
-
-
-
-
21
-
Longitude of the southern pole.
-
longitudeOfSouthernPoleInDegrees*1000
-
-
-
-
22
-
Reserved. Set to 0.
-
-
-
-
-
-
Notes: Grid lengths are in metres, at the 60-degree parallel
-nearest to
-the pole on the projection plane.
-
-
-
-
-
-
-
-
Lambert conformal, secant or tangent, conical
+or bi-polar (normal or
+oblique) or Albers equal-area, secant or tangent, conical or bi-polar
+(normal or oblique)
+
+
Element
+
Contents
+
+ GRIB API keys
+
+
+
1
+
+
Data representation type (see WMO code table 6); eg 3 Lambert conformal 8 Albers equal area 13 Oblique Lambert conformal
Resolution flag: 0 Direction increments not given. 128 Direction increments given.
+
+
ijDirectionIncrementGiven*128
+
+
+
+
7
+
Orientation of the grid. The East longitude of the
+meridian which is parallel to the Y-axis along which latitude increases
+as the Y-coordinate increases.
Projection centre flag: 0 North pole is on the projection plane. Only one projection centre is used. 128 South pole is on the projection plane. Only one projection centre is used. 64 North pole is on the projection plane. Projection is bi-polar and symmetric. 192 South pole is on the projection plane. Projection is bi-polar and symmetric.
+
+
projectionCenterFlag
+
+
+
+
14
+
First latitude from the pole at which the secant cone
+cuts the sphere.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
+
+
uvRelativeToGrid
+
+
+
+
20
+
Latitude of the southern pole.
+
latitudeOfSouthernPoleInDegrees*1000
+
+
+
+
21
+
Longitude of the southern pole.
+
longitudeOfSouthernPoleInDegrees*1000
+
+
+
+
22
+
Reserved. Set to 0.
+
+
+
+
+
+
Notes: Grid lengths are in metres, at the 60-degree parallel
+nearest to
+the pole on the projection plane.
+
+
+
+
+
+
+
+
0 Regular grid. 1 Quasi-regular (reduced) grid. At the moment, quasi-regular (reduced) latitude/longitude grids are not unambiguously defined. The resolution flag field indicates whether or not both direction increments are given; at least one must be given, as grids are only allowed to be irregular in one direction.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
-
-
uvRelativeToGrid
-
-
-
-
20-22
-
Reserved. Set to 0.
-
-
-
-
-
23-nn
-
-
For a quasi-regular (reduced) grid, the number of points along each parallel must be defined. The number of parallels is given by Nj above. Alternatively, this may be the number of pointqs along each meridian, where the number of meridians is given by Ni above.q
0 Regular grid. 1 Quasi-regular (reduced) grid. At the moment, quasi-regular (reduced) latitude/longitude grids are not unambiguously defined. The resolution flag field indicates whether or not both direction increments are given; at least one must be given, as grids are only allowed to be irregular in one direction.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
+
+
uvRelativeToGrid
+
+
+
+
20-22
+
Reserved. Set to 0.
+
+
+
+
+
23-nn
+
+
For a quasi-regular (reduced) grid, the number of points along each parallel must be defined. The number of parallels is given by Nj above. Alternatively, this may be the number of pointqs along each meridian, where the number of meridians is given by Ni above.q
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
-
-
uvRelativeToGrid
-
-
-
-
20-22
-
Reserved. Set to 0.
-
-
-
-
-
-
Grid lengths are in units of metres, at the parallel
-specified by Latin.
-
-
-
-
-
-
-
-
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
+
+
uvRelativeToGrid
+
+
+
+
20-22
+
Reserved. Set to 0.
+
+
+
+
+
+
Grid lengths are in units of metres, at the parallel
+specified by Latin.
+
+
+
+
+
+
+
+
This data representation type should always be used in
-conjunction
-with the ECMWF local definition 4 extension to GRIB section 1: ocean
-model data.
-
-
-
-
-
-
-
-
This data representation type should always be used in
+conjunction
+with the ECMWF local definition 4 extension to GRIB section 1: ocean
+model data.
+
+
+
+
+
+
+
+
Reserved. Set to 0. (Resolution flag is not applicable
-to polar stereographic.)
-
-
-
-
-
7
-
Orientation of the grid, ie the longitude of the
-meridian which is parallel to the Y-axis along which latitude increases
-as the Y-coordinate increases.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag. Valid values are: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
-
-
uvRelativeToGrid
-
-
-
-
20-22
-
Reserved. Set to 0.
-
-
-
-
-
-
Grid lengths are in metres, at the 60-degree parallel nearest
-to the pole on the projection plane.
-
-
-
-
-
-
-
-
Reserved. Set to 0. (Resolution flag is not applicable
+to polar stereographic.)
+
+
+
+
+
7
+
Orientation of the grid, ie the longitude of the
+meridian which is parallel to the Y-axis along which latitude increases
+as the Y-coordinate increases.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag. Valid values are: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
+
+
uvRelativeToGrid
+
+
+
+
20-22
+
Reserved. Set to 0.
+
+
+
+
+
+
Grid lengths are in metres, at the 60-degree parallel nearest
+to the pole on the projection plane.
+
+
+
+
+
+
+
+
-An array of field values to be encoded in GRIB code or which have been
-decoded. If there is a bitmap in the GRIB message, this array contains
-missing data indicators at appropriate places. This array is accessible
-through the GRIB_API Key "values".
-
The value used to indicate a missing value must be supplied
-as a REAL value in PSEC3(2) (GRIB API key missingValue) or as an
-INTEGER
-value in KSEC3(2)(GRIB API Key missingValue).
-
Although declared as REAL in GRIBEX, PSEC4 can contain
-INTEGER data. KSEC4(5) indicates whether
-values are integer or real.
-
-
-
-
-
-
-
-
+An array of field values to be encoded in GRIB code or which have been
+decoded. If there is a bitmap in the GRIB message, this array contains
+missing data indicators at appropriate places. This array is accessible
+through the GRIB_API Key "values".
+
The value used to indicate a missing value must be supplied
+as a REAL value in PSEC3(2) (GRIB API key missingValue) or as an
+INTEGER
+value in KSEC3(2)(GRIB API Key missingValue).
+
Although declared as REAL in GRIBEX, PSEC4 can contain
+INTEGER data. KSEC4(5) indicates whether
+values are integer or real.
+
+
+
+
+
+
+
+
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag. 0 Resolved u and v components of vector quantities relative to easterly and northerly directions; or not used. 8 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.
-
-
uvRelativeToGrid
-
-
-
-
20-22
-
Reserved. Set to 0.
-
-
-
-
-
23-nn
-
NN, the number of points along a full
-parallel (360 degrees) is defined for each latitude row in the
-sub-area. The number of parallels is given by Nj above. See the
-algorithm below for calculating the actual number of points along each
-sub-area latitude row (ECMWF convention).
-
pl
-
-
-
-
The number of points Np within a subarea along a parallel of
-a reduced grid can be obtained as:
-
Np = [(Loe-Low)/Res] + 1
where:
Loe = Lo2 Res = 360000/NN If Mod(Lo1/Res,1.0) = 0, Incr = 0 otherwise Incr = 1 Ninter = [Lo1/Res] + Incr Low = Ninter*Res ; Low -> (Low - 360000) if Lo2 is less then Lo1.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag. 0 Resolved u and v components of vector quantities relative to easterly and northerly directions; or not used. 8 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.
+
+
uvRelativeToGrid
+
+
+
+
20-22
+
Reserved. Set to 0.
+
+
+
+
+
23-nn
+
NN, the number of points along a full
+parallel (360 degrees) is defined for each latitude row in the
+sub-area. The number of parallels is given by Nj above. See the
+algorithm below for calculating the actual number of points along each
+sub-area latitude row (ECMWF convention).
+
pl
+
+
+
+
The number of points Np within a subarea along a parallel of
+a reduced grid can be obtained as:
+
Np = [(Loe-Low)/Res] + 1
where:
Loe = Lo2 Res = 360000/NN If Mod(Lo1/Res,1.0) = 0, Incr = 0 otherwise Incr = 1 Ninter = [Lo1/Res] + Incr Low = Ninter*Res ; Low -> (Low - 360000) if Lo2 is less then Lo1.
Altitude of the camera from the Earth's centre divided
-by the Earth's radius and scaled by 10**6 to give an integer value.
-Currently = 6610839 for Meteosat. For orthographic view from infinite
-distance, the value is 16777215.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
-
-
earthIsOblate
-
-
-
-
19
-
-
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
Altitude of the camera from the Earth's centre divided
+by the Earth's radius and scaled by 10**6 to give an integer value.
+Currently = 6610839 for Meteosat. For orthographic view from infinite
+distance, the value is 16777215.
Earth flag: 0 Earth assumed spherical with radius 6367.47 km. 64 Earth assumed oblate spheroidal with size as determined by IAU in 1965: 6378.160km, 6356.775km, f=1/297.0
+
+
earthIsOblate
+
+
+
+
19
+
+
Components flag: 0 Resolved u and v components of vector quantities relative to easterly and northerly directions. 8 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.
Representation mode (see WMO code table 10): 1 Real part of (0,0) coefficient stored as a 32-bit floating point number; other coefficients are packed. 2 Complex packing.
Representation mode (see WMO code table 10): 1 Real part of (0,0) coefficient stored as a 32-bit floating point number; other coefficients are packed. 2 Complex packing.