29 g2int *igdstmpl = NULL, *list_opt = NULL;
31 g2int iofst, igdtlen, num_opt, jerr;
34 if (!(jerr =
g2_unpack3(csec3, &iofst, &igds, &igdstmpl, &igdtlen,
35 &list_opt, &num_opt)))
45 *height = igdstmpl[8];
46 *iscan = igdstmpl[18];
52 *height = igdstmpl[8];
53 *iscan = igdstmpl[15];
59 *height = igdstmpl[8];
60 *iscan = igdstmpl[17];
66 *height = igdstmpl[8];
67 *iscan = igdstmpl[17];
76 *height = igdstmpl[8];
77 *iscan = igdstmpl[18];
83 *height = igdstmpl[8];
84 *iscan = igdstmpl[16];
90 *height = igdstmpl[8];
91 *iscan = igdstmpl[15];
g2int g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum)
Unpack Section 3 (Grid Definition Section) of a GRIB2 message.
g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan)
Return the dimensions and scanning mode of a grid definition.
int64_t g2int
Long integer type.
Header file with internal function prototypes NCEPLIBS-g2c library.