33 if (gfld->
bmap != 0 ) free(gfld->
bmap);
34 if (gfld->
fld != 0 ) free(gfld->
fld);
void g2_free(gribfield *gfld)
This routine frees up memory that was allocated for struct gribfield.
Header file for NCEPLIBS-g2c library.
g2float * coord_list
Array containing floating point values intended to document the vertical discretisation associated to...
g2int * ipdtmpl
Contains the data values for the Product Definition Template specified by ipdtnum.
g2int * igdtmpl
Contains the data values for the Grid Definition Template specified by igdtnum.
g2int * idrtmpl
Contains the data values for the Data Representation Template specified by idrtnum.
g2int * list_opt
(Used if numoct_opt .ne.
g2int * idsect
Contains the entries in the Identification Section (Section 1).
g2float * fld
Array of ndpts unpacked data points.
unsigned char * local
Pointer to character array containing contents of Local Section 2, if included.
g2int * bmap
Integer array containing decoded bitmap, if ibmap=0 or ibap=254.