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 *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum)
This routine unpacks Section 3 (Grid Definition Section) from a GRIB2 message.
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...
int64_t g2int
Long integer type.
Header file with internal function prototypes NCEPLIBS-g2c library.