NCEPLIBS-g2c  1.6.4
gridtemplates.h
Go to the documentation of this file.
1 
39 #ifndef _gridtemplates_H
40 #define _gridtemplates_H
41 #include "grib2.h"
42 
43 #define MAXGRIDTEMP 31
44 #define MAXGRIDMAPLEN 200
50 {
55 };
56 
61 {
62  /* 3.0: Lat/Lon grid */
63  { 0, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
64  /* 3.1: Rotated Lat/Lon grid */
65  { 1, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4} },
66  /* 3.2: Stretched Lat/Lon grid */
67  { 2, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,-4} },
68  /* 3.3: Stretched & Rotated Lat/Lon grid */
69  { 3, 25, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4,-4,4,-4} },
70  /* Added GDT 3.4,3.5 (08/05/2013) */
71  /* 3.4: Variable resolution Latitude/Longitude */
72  { 4, 13, 1, {1,1,4,1,4,1,4,4,4,4,4,1,1} },
73  /* 3.5: Variable resolution rotate Latitude/Longitude */
74  { 5, 16, 1, {1,1,4,1,4,1,4,4,4,4,4,1,1,-4,4,4} },
75  /* 3.12: Transverse Mercator */
76  {12, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,1,4,4,-4,-4,-4,-4} },
77  /* 3.101: General unstructured grid */
78  {101, 4, 0, {1,4,1,-4} },
79  /* 3.140: Lambert Azimuthal Equal Area Projection */
80  {140, 17, 0, {1,1,4,1,4,1,4,4,4,-4,4,4,4,1,4,4,1} },
81 
82  /* 3.10: Mercator */
83  {10, 19, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,-4,4,1,4,4,4} },
84  /* 3.20: Polar Stereographic Projection */
85  {20, 18, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1} },
86  /* 3.30: Lambert Conformal */
87  {30, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1,-4,-4,-4,4} },
88  /* 3.31: Albers equal area */
89  {31, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1,-4,-4,-4,4} },
90  /* 3.40: Guassian Lat/Lon */
91  {40, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
92  /* 3.41: Rotated Gaussian Lat/Lon */
93  {41, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4} },
94  /* 3.42: Stretched Gaussian Lat/Lon */
95  {42, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,-4} },
96  /* 3.43: Stretched and Rotated Gaussian Lat/Lon */
97  {43, 25, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4,-4,4,-4} },
98  /* 3.50: Spherical Harmonic Coefficients */
99  {50, 5, 0, {4,4,4,1,1} },
100  /* 3.51: Rotated Spherical Harmonic Coefficients */
101  {51, 8, 0, {4,4,4,1,1,-4,4,4} },
102  /* 3.52: Stretched Spherical Harmonic Coefficients */
103  {52, 8, 0, {4,4,4,1,1,-4,4,-4} },
104  /* 3.53: Stretched and Rotated Spherical Harmonic Coefficients */
105  {53, 11, 0, {4,4,4,1,1,-4,4,4,-4,4,-4} },
106  /* 3.90: Space View Perspective or orthographic */
107  {90, 21, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,4,4,1,4,4,4,4} },
108  /* 3.100: Triangular grid based on an icosahedron */
109  {100, 11, 0, {1,1,2,1,-4,4,4,1,1,1,4} },
110  /* 3.110: Equatorial Azimuthal equidistant */
111  {110, 16, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,1,1} },
112  /* 3.120: Azimuth-range projection */
113  {120, 7, 1, {4,4,-4,4,4,4,1} },
114  /* 3.204: Curvilinear Orthogonal Grid */
115  {204, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
116  /* 3.32768: Rot Lat/Lon E-grid (Arakawa) */
117  {32768, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
118  /* 3.32769: Rot Lat/Lon Non-E Staggered grid (Arakawa) */
119  {32769, 21, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,4,4} },
120  /* 3.1000: Cross Section Grid */
121  {1000, 20, 1, {1,1,4,1,4,1,4,4,4,4,-4,4,1,4,4,1,2,1,1,2} },
122  /* 3.1100: Hovmoller Diagram Grid */
123  {1100, 28, 0, {1,1,4,1,4,1,4,4,4,4,-4,4,1,-4,4,1,4,1,-4,1,1,-4,2,1,1,1,1,1} },
124  /* 3.1200: Time Section Grid */
125  {1200, 16, 1, {4,1,-4,1,1,-4,2,1,1,1,1,1,2,1,1,2} }
126 } ;
127 
128 #endif /* _gridtemplates_H */
Header file for NCEPLIBS-g2c library.
int64_t g2int
Long integer type.
Definition: grib2.h:20
g2int template_num
Template number.
Definition: gridtemplates.h:51
#define MAXGRIDTEMP
Maximum number of templates.
Definition: gridtemplates.h:43
g2int needext
Does template need extension?
Definition: gridtemplates.h:53
g2int mapgridlen
The number of entries in the template.
Definition: gridtemplates.h:52
#define MAXGRIDMAPLEN
Maximum template map length.
Definition: gridtemplates.h:44
g2int mapgrid[MAXGRIDMAPLEN]
Number of bytes for each template value.
Definition: gridtemplates.h:54
const struct gridtemplate templatesgrid[MAXGRIDTEMP]
Templates grid.
Definition: gridtemplates.h:60
Struct for grid template.
Definition: gridtemplates.h:50