Provided by: libg2c-dev_1.6.4-3_amd64 bug

NAME

       specpack.c

SYNOPSIS

       #include <stdio.h>
       #include <stdlib.h>
       #include <math.h>
       #include 'grib2.h'

   Functions
       void specpack (g2float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl,
           unsigned char *cpack, g2int *lcpack)
           This subroutine packs a spectral data field using the complex packing algorithm for
           spherical harmonic data as defined in the GRIB2 Data Representation Template 5.51.

Detailed Description

       Author
           Stephen Gilbert

       Date
           2002-12-19

       Definition in file specpack.c.

Function Documentation

   void specpack (g2float * fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int * idrstmpl,
       unsigned char * cpack, g2int * lcpack)
       This subroutine packs a spectral data field using the complex packing algorithm for
       spherical harmonic data as defined in the GRIB2 Data Representation Template 5.51.

       Parameters
           fld Contains the packed data values.
           ndpts The number of data values to pack.
           JJ J - pentagonal resolution parameter.
           KK K - pentagonal resolution parameter.
           MM M - pentagonal resolution parameter.
           idrstmpl Contains the array of values for Data Representation Template 5.51.
           cpack The packed data field (character*1 array).
           lcpack length of packed field cpack.

       Author
           Stephen Gilbert

       Date
           2002-12-19

       Definition at line 26 of file specpack.c.

       References int_power(), mkieee(), and simpack().

       Referenced by g2_addfield().

Author

       Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.