compack.c(3) | Library Functions Manual | compack.c(3) |
compack.c - Pack a data field using a complex packing algorithm.
#include 'grib2_int.h'
#include <math.h>
#include <stdlib.h>
void compack (float *fld, g2int ndpts, g2int
idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
Pack a data field using a complex packing algorithm.
Pack a data field using a complex packing algorithm.
Author
Date
Definition in file compack.c.
Pack a data field using a complex packing algorithm. This function supports GRIB2 complex packing templates with or without spatial differences (i.e. DRTs 5.2 and 5.3). It also fills in GRIB2 Data Representation Template 5.2 or Template 5.3 with the appropriate values.
Parameters
cpack The packed data field.
lcpack length of packed field cpack.
Author
Date
Definition at line 42 of file compack.c.
References ALOG2, int_power(), mkieee(), pack_gp(), sbit(), and sbits().
Referenced by cmplxpack().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |