table of contents
simunpack.c(3) | NCEPLIBS-g2c | simunpack.c(3) |
NAME¶
simunpack.c
SYNOPSIS¶
#include <stdio.h>
#include <stdlib.h>
#include 'grib2.h'
Functions¶
g2int simunpack (unsigned char *cpack, g2int
*idrstmpl, g2int ndpts, g2float *fld)
This subroutine unpacks a data field that was packed using a simple packing
algorithm as defined in the GRIB2 documention, using info from the GRIB2
Data Representation Template 5.0.
Detailed Description¶
Author
Date
Definition in file simunpack.c.
Function Documentation¶
g2int simunpack (unsigned char * cpack, g2int * idrstmpl, g2int ndpts, g2float * fld)¶
This subroutine unpacks a data field that was packed using a simple packing algorithm as defined in the GRIB2 documention, using info from the GRIB2 Data Representation Template 5.0.
Parameters
idrstmpl pointer to the array of values for Data Representation Template 5.0.
ndpts The number of data values to unpack.
fld Contains the unpacked data values. fld must be allocated with at least ndpts*sizeof(g2float) bytes before calling this routine.
Returns
Author
Date
Definition at line 26 of file simunpack.c.
References gbits(), int_power(), and rdieee().
Referenced by g2_unpack7().
Author¶
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Tue May 3 2022 | Version 1.6.4 |