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)))
44 *height = igdstmpl[8];
45 *iscan = igdstmpl[18];
51 *height = igdstmpl[8];
52 *iscan = igdstmpl[15];
58 *height = igdstmpl[8];
59 *iscan = igdstmpl[17];
65 *height = igdstmpl[8];
66 *iscan = igdstmpl[17];
74 *height = igdstmpl[8];
75 *iscan = igdstmpl[18];
81 *height = igdstmpl[8];
82 *iscan = igdstmpl[16];
88 *height = igdstmpl[8];
89 *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.