1# Copyright 2005-2018 ECMWF.
2#
3# This software is licensed under the terms of the Apache Licence Version 2.0
4# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5#
6# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
7# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
8#
9
10# DWD local grid definition 192 - triangular grid base on icosahedron subdivision
11
12#  n2 - exponent of 2 for the number of intervals on main triangle sides
13unsigned[2] n2  : dump ;
14
15#  n3 - exponent of 3 for the number of intervals on main triangle sides
16unsigned[2] n3 : dump ;
17
18#  nd - Number of diamonds
19unsigned[3] nd : dump ;
20alias numberOfDiamonds=nd;
21alias Nj=nd;
22
23#  Ni - number of intervals on main triangle sides of the icosahedron
24unsigned[3] Ni : dump ;
25
26#  Numbering order of diamonds
27flags[1] numberingOrderOfDiamonds 'grib1/grid.192.78.3.9.table';
28
29#  Latitude of the pole point of the icosahedron on the sphere
30signed[4] latitudeOfIcosahedronPole  : dump ;
31
32#  Longitude of the pole point of the icosahedron on the sphere
33unsigned[4] longitudeOfIcosahedronPole  : dump ;
34
35#  Longitude of the centre line of the first diamond of the icosahedron on the sphere
36unsigned[4] longitudeOfFirstDiamondCenterLine  : dump ;
37
38#  Reserved
39unsigned[1] reservedOctet;
40
41#  Scanning mode for one diamond
42flags[1] scanningModeForOneDiamond 'grib1/grid.192.78.3.10.table';
43
44transient numberOfPoints= nd *(Ni + 1) * (Ni + 1);
45alias numberOfDataPoints=numberOfPoints;
46
47meta numberOfValues
48number_of_values(values,bitsPerValue,numberOfDataPoints,
49                 bitmapPresent,bitmap,numberOfCodedValues) : dump;
50
51
52