NCEPLIBS-g2c  1.6.4
drstemplates.h
Go to the documentation of this file.
1 
31 #ifndef _drstemplates_H
32 #define _drstemplates_H
33 
34 #include "grib2.h"
35 
36 #define MAXDRSTEMP 9
37 #define MAXDRSMAPLEN 200
43 {
48 };
49 
54 const struct drstemplate templatesdrs[MAXDRSTEMP] =
55 {
58  { 0, 5, 0, {4,-2,-2,1,1} },
59 
62  { 2, 16, 0, {4,-2,-2,1,1,1,1,4,4,4,1,1,4,1,4,1} },
63 
66  { 3, 18, 0, {4,-2,-2,1,1,1,1,4,4,4,1,1,4,1,4,1,1,1} },
67 
70  { 50, 5, 0, {4,-2,-2,1,4} },
71 
74  { 51, 10, 0, {4,-2,-2,1,-4,2,2,2,4,1} },
75 
76  /* 5.1: Matrix values at gridpoint - Simple packing */
77  /* { 1, 15, 1, {4,-2,-2,1,1,1,4,2,2,1,1,1,1,1,1} }, */
78 
81  { 40, 7, 0, {4,-2,-2,1,1,1,1} },
82 
85  { 41, 5, 0, {4,-2,-2,1,1} },
86 
88  { 40000, 7, 0, {4,-2,-2,1,1,1,1} },
89 
91  { 40010, 5, 0, {4,-2,-2,1,1} }
92 } ;
93 
94 #endif /* _drstemplates_H */
const struct drstemplate templatesdrs[MAXDRSTEMP]
Stuct holding data for GRIB2 Data Representation Section (DRS) template.
Definition: drstemplates.h:54
g2int needext
Whether the Template needs to be extended.
Definition: drstemplates.h:46
g2int mapdrslen
Length of map of the template.
Definition: drstemplates.h:45
#define MAXDRSTEMP
maximum number of templates
Definition: drstemplates.h:36
g2int template_num
The number of entries in the template.
Definition: drstemplates.h:44
g2int mapdrs[MAXDRSMAPLEN]
A map of the template.
Definition: drstemplates.h:47
#define MAXDRSMAPLEN
maximum template map length
Definition: drstemplates.h:37
Stuct for GRIB2 Data Representation Section (DRS) template.
Definition: drstemplates.h:43
Header file for NCEPLIBS-g2c library.
int64_t g2int
Long integer type.
Definition: grib2.h:20