simpack.c(3) | Library Functions Manual | simpack.c(3) |
simpack.c - Pack a data field using the simple packing algorithm.
#include 'grib2_int.h'
#include <math.h>
#include <stdlib.h>
void simpack (float *fld, g2int ndpts, g2int
*idrstmpl, unsigned char *cpack, g2int *lcpack)
Packs a data field using the simple packing algorithm.
Pack a data field using the simple packing algorithm.
Author
Date
Definition in file simpack.c.
Packs a data field using the simple packing algorithm. This function also fills in GRIB2 Data Representation Template 5.0 with the appropriate values.
Parameters
cpack The packed data field
lcpack length of packed field starting at cpack.
Author
Date
Definition at line 36 of file simpack.c.
References ALOG2, int_power(), LOG, mkieee(), sbit(), and sbits().
Referenced by g2_addfield(), and specpack().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |