logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

getdim.c - Return the dimensions and scanning mode of a grid definition.

Author

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

NCEPLIBS-g2c                                      Version 2.1.0                                      getdim.c(3)

Detailed Description

       Return the dimensions and scanning mode of a grid definition.

       Author
           Stephen Gilbert

       Date
           2002-12-11

       Definition in file getdim.c.

Function Documentation

g2intgetdim(unsignedchar*csec3,g2int*width,g2int*height,g2int*iscan)
       Return the dimensions and scanning mode of a grid definition.

       Parameterscsec3 Character array that contains the packed GRIB2 GDS.
           width x (or i) dimension of the grid. 0 if grid is not recognized.
           height y (or j) dimension of the grid. 0 if grid is not recognized.
           iscan Scanning mode (see Table 3.4). 0 of grid not recognized.

       Returns
           Always returns 0.

       Author
           Stephen Gilbert

       Date
           2002-12-11

       Definition at line 27 of file getdim.c.

       References g2_unpack3().

       Referenced by g2_addfield().

Name

       getdim.c - Return the dimensions and scanning mode of a grid definition.

Synopsis

       #include 'grib2_int.h'
       #include <stdio.h>
       #include <stdlib.h>

   Functionsg2intgetdim (unsigned char *csec3, g2int *width, g2int *height, g2int *iscan)
           Return the dimensions and scanning mode of a grid definition.

See Also