cmplxpack.c(3) | Library Functions Manual | cmplxpack.c(3) |
cmplxpack.c - Pack a data field using a complex packing algorithm.
#include 'grib2_int.h'
void cmplxpack (float *fld, g2int ndpts,
g2int idrsnum, g2int *idrstmpl, unsigned char *cpack,
g2int *lcpack)
Pack up a data field using a complex packing algorithm.
Pack a data field using a complex packing algorithm.
Author
Date
Definition in file cmplxpack.c.
Pack up 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 5.3 with the appropriate values.
Parameters
cpack The packed data field.
lcpack length of packed field cpack. Will be set to -1 if missing value
management field is not 1 or 2.
Author
Date
Definition at line 37 of file cmplxpack.c.
References compack(), and misspack().
Referenced by g2_addfield().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |