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

g2c_degrib2.c - This is a utility to print a summary of a GRIB2 file.

Author

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

NCEPLIBS-g2c                                      Version 2.1.0                                 g2c_degrib2.c(3)

Detailed Description

       This is a utility to print a summary of a GRIB2 file.

       Author
           Ed Hartnett

       Date
           12/29/22

       Definition in file g2c_degrib2.c.

Function Documentation

intmain(intargc,char**argv)
       Compare two GRIB2 files.

       Parametersargc Number of arguments.
           argv Pointer to array of arguments.

       Returns

           • 0 if files are identical

           • 1 otherwise

       Author
           Ed Hartnett

       Date
           12/29/22

       Definition at line 24 of file g2c_degrib2.c.

       References  g2c_close(), g2c_degrib2(), G2C_ENOMEM, G2C_ERROR, G2C_NOWRITE, g2c_open(), g2c_open_index(),
       g2c_set_log_level(), and G2C_VERSION.

Name

       g2c_degrib2.c - This is a utility to print a summary of a GRIB2 file.

Synopsis

       #include <ctype.h>
       #include <grib2.h>
       #include <stdio.h>
       #include <stdlib.h>
       #include <unistd.h>

   Functions
       int main (int argc, char **argv)
           Compare two GRIB2 files.

See Also