85 printf(
"getdrstemplate: DRS Template 5.%d not defined.\n", (
int)number);
126 new->extlen = list[10] + list[12];
127 new->ext = malloc(
sizeof(
g2int) * new->extlen);
128 for (i = 0; i <
new->extlen; i++)
gtemplate * extdrstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Data Representation Template,...
g2int getdrsindex(g2int number)
This function returns the index of specified Data Representation Template.
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
This C struct contains info on all the available GRIB2 Data Representation Templates used in Section ...
const struct drstemplate templatesdrs[MAXDRSTEMP]
Stuct holding data for GRIB2 Data Representation Section (DRS) template.
g2int needext
Whether the Template needs to be extended.
g2int mapdrslen
Length of map of the template.
#define MAXDRSTEMP
maximum number of templates
g2int template_num
The number of entries in the template.
Header file for NCEPLIBS-g2c library.
int64_t g2int
Long integer type.
Struct for GRIB template.