aecunpack.c(3) | Library Functions Manual | aecunpack.c(3) |
aecunpack.c - Unpack a data field that was packed with AEC compression.
#include 'grib2_int.h'
#include <stdio.h>
#include <stdlib.h>
g2int aecunpack (unsigned char *cpack, g2int
len, g2int *idrstmpl, g2int ndpts, float *fld)
Unpack AEC compressed data into an array of floats, using info from the GRIB2
Data Representation Template 5.42. static int aecunpack_int
(unsigned char *cpack, g2int len, g2int *idrstmpl,
g2int ndpts, void *fld, int fld_is_double, int verbose)
Unpack AEC compressed data into an array of floats or doubles, using info from
the GRIB2 Data Representation Template 5.42. int
g2c_aecunpackd (unsigned char *cpack, size_t len, int *idrstmpl,
size_t ndpts, double *fld)
Unpack AEC compressed data into an array of doubles, using info from the GRIB2
Data Representation Template 5.42. int g2c_aecunpackf
(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld)
Unpack AEC compressed data into an array of floats, using info from the GRIB2
Data Representation Template 5.42.
Unpack a data field that was packed with AEC compression.
stream
Author
Date
Definition in file aecunpack.c.
Unpack AEC compressed data into an array of floats, using info from the GRIB2 Data Representation Template 5.42.
Parameters
Returns
Author
Date
Definition at line 161 of file aecunpack.c.
References aecunpack_int(), and LOG.
Referenced by g2c_unpack7_int().
Unpack AEC compressed data into an array of floats or doubles, using info from the GRIB2 Data Representation Template 5.42. This function is used by aecunpack(), g2c_aecunpackf(), and g2c_aecunpackd().
Parameters
Returns
Author
Date
Definition at line 43 of file aecunpack.c.
References dec_aec(), G2C_ENOMEM, G2C_NOERROR, gbits(), int_power(), LOG, and rdieee().
Referenced by aecunpack(), g2c_aecunpackd(), and g2c_aecunpackf().
Unpack AEC compressed data into an array of doubles, using info from the GRIB2 Data Representation Template 5.42. This function is the V2 API version of aecunpack() for doubles.
Parameters
Returns
Author
Date
Definition at line 232 of file aecunpack.c.
References aecunpack_int(), G2C_AEC_DRS_TEMPLATE_LEN, and LOG.
Unpack AEC compressed data into an array of floats, using info from the GRIB2 Data Representation Template 5.42.
Parameters
Returns
Author
Date
Definition at line 194 of file aecunpack.c.
References aecunpack_int(), G2C_AEC_DRS_TEMPLATE_LEN, and LOG.
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |