31 g2int *igdstmpl = NULL, *list_opt = NULL;
33 g2int iofst, igdtlen, num_opt, jerr;
36 if (!(jerr =
g2_unpack3(csec3, &iofst, &igds, &igdstmpl, &igdtlen,
37 &list_opt, &num_opt)))
47 *height = igdstmpl[8];
48 *iscan = igdstmpl[18];
54 *height = igdstmpl[8];
55 *iscan = igdstmpl[15];
61 *height = igdstmpl[8];
62 *iscan = igdstmpl[17];
68 *height = igdstmpl[8];
69 *iscan = igdstmpl[17];
78 *height = igdstmpl[8];
79 *iscan = igdstmpl[18];
85 *height = igdstmpl[8];
86 *iscan = igdstmpl[16];
92 *height = igdstmpl[8];
93 *iscan = igdstmpl[15];
g2int g2_unpack3(unsigned char *, g2int *, g2int **, g2int **, g2int *, g2int **, g2int *)
This routine unpacks Section 3 (Grid Definition Section) as defined in GRIB Edition 2.
g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan)
This subroutine returns the dimensions and scanning mode of a grid definition packed in GRIB2 Grid De...
Header file for NCEPLIBS-g2c library.
int64_t g2int
Long integer type.