1
1
# GRID DEFINITION Polar stereographic
2
2
# grib 1 -> 2
3
- constant gridDefinitionTemplateNumber = 20;
3
+ constant gridDefinitionTemplateNumber = 20;
4
4
5
5
unsigned[2] Nx : dump;
6
6
alias Ni = Nx;
7
- alias numberOfPointsAlongXAxis = Nx;
7
+ alias numberOfPointsAlongXAxis = Nx;
8
8
alias geography.Nx=Nx;
9
9
10
10
unsigned[2] Ny : dump;
11
11
alias Nj = Ny;
12
- alias numberOfPointsAlongYAxis = Ny;
12
+ alias numberOfPointsAlongYAxis = Ny;
13
13
alias geography.Ny=Ny;
14
14
15
15
signed[3] latitudeOfFirstGridPoint : edition_specific ;
@@ -22,19 +22,19 @@ alias Lo1 = longitudeOfFirstGridPoint;
22
22
23
23
include "grib1/resolution_flags.def";
24
24
25
- # LoV - orientation of the grid; i.e. the longitude value of the meridian which is parallel to the Y-axis
25
+ # LoV - orientation of the grid; i.e. the longitude value of the meridian which is parallel to the Y-axis
26
26
signed[3] orientationOfTheGrid : edition_specific, no_copy ;
27
27
meta geography.orientationOfTheGridInDegrees scale(orientationOfTheGrid,oneConstant,grib1divider,truncateDegrees) : dump;
28
28
alias LoV = orientationOfTheGrid ;
29
29
30
- # Dx - X-direction grid length
30
+ # Dx - X-direction grid length
31
31
unsigned[3] DxInMetres : dump;
32
32
alias xDirectionGridLengthInMetres=DxInMetres;
33
33
alias Dx=DxInMetres;
34
34
alias geography.DxInMetres=DxInMetres;
35
35
alias Di = DxInMetres;
36
36
37
- # Dy - Y-direction grid length
37
+ # Dy - Y-direction grid length
38
38
unsigned[3] DyInMetres : dump;
39
39
alias yDirectionGridLengthInMetres=DyInMetres;
40
40
alias Dy = DyInMetres;
@@ -45,15 +45,14 @@ constant latitudeWhereDxAndDyAreSpecifiedInDegrees=60;
45
45
constant LaDInDegrees=60;
46
46
alias geography.LaDInDegrees=LaDInDegrees;
47
47
48
- # Projection centre flag
48
+ # Projection centre flag
49
49
unsigned[1] projectionCentreFlag : dump ;
50
50
alias projectionCenterFlag=projectionCentreFlag;
51
51
# Note our flagbit numbers go from 7 to 0, while WMO convention is from 1 to 8
52
52
# If bit 1 is 0, then the North Pole is on the projection plane
53
53
# If bit 1 is 1, then the South Pole is on the projection plane
54
54
flagbit southPoleOnProjectionPlane(projectionCentreFlag,7) : dump; # WMO bit 1
55
55
56
-
57
56
# for change_scanning_direction
58
57
alias yFirst=latitudeOfFirstGridPointInDegrees;
59
58
alias xFirst=longitudeOfFirstGridPointInDegrees;
0 commit comments