NCEPLIBS-g2c
1.6.4
|
Add a Local Use Section (Section 2) to a GRIB2 message. More...
Go to the source code of this file.
Functions | |
g2int | g2_addlocal (unsigned char *cgrib, unsigned char *csec2, g2int lcsec2) |
This routine adds a Local Use Section (Section 2) to a GRIB2 message. More... | |
Add a Local Use Section (Section 2) to a GRIB2 message.
Definition in file g2_addlocal.c.
This routine adds a Local Use Section (Section 2) to a GRIB2 message.
It is used with routines g2_create(), g2_addgrid(), g2_addfield(), and g2_gribend() to create a complete GRIB2 message. g2_create() must be called first to initialize a new GRIB2 message.
cgrib | Char array that contains the GRIB2 message to which section 2 should be added. Must be allocated large enough to store the entire GRIB2 message. |
csec2 | Character array containing information to be added in Section 2. |
lcsec2 | Number of bytes of character array csec2 to be added to Section 2. |
Definition at line 37 of file g2_addlocal.c.