misspack.c(3) | Library Functions Manual | misspack.c(3) |
misspack.c - Pack a data field using a complex packing algorithm as defined in the GRIB2 documention.
#include 'grib2_int.h'
#include <math.h>
#include <stdlib.h>
void misspack (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 as defined in the GRIB2 documention.
Author
Date
Definition in file misspack.c.
Pack a data field using a complex packing algorithm. This funciton supports GRIB2 complex packing templates with or without spatial differences (See Template 5.2 and Template 5.3).
This function fills in GRIB2 Data Representation template arrays with the appropriate values.
Parameters
cpack The packed data field (character*1 array).
lcpack length of packed field cpack.
Author
Date
Definition at line 43 of file misspack.c.
References ALOG2, int_power(), mkieee(), pack_gp(), rdieee(), sbit(), and sbits().
Referenced by cmplxpack().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |