|
NCEPLIBS-g2
3.4.5
|
This subroutine adds a Local Use Section (Section 2) to a GRIB2 message. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | addlocal (cgrib, lcgrib, csec2, lcsec2, ierr) |
| This subroutine adds a Local Use Section (Section 2) to a GRIB2 message. More... | |
This subroutine adds a Local Use Section (Section 2) to a GRIB2 message.
Definition in file addlocal.f.
| subroutine addlocal | ( | character(len=1), dimension(lcgrib), intent(inout) | cgrib, |
| integer, intent(in) | lcgrib, | ||
| character(len=1), dimension(lcsec2), intent(in) | csec2, | ||
| integer, intent(in) | lcsec2, | ||
| integer, intent(out) | ierr | ||
| ) |
This subroutine adds a Local Use Section (Section 2) to a GRIB2 message.
This routine is used with routines gribcreate(), addlocal(), addfield(), and gribend() to create a complete GRIB2 message. Subroutine gribcreate must be called first to initialize a new GRIB2 message.
| [in,out] | cgrib | Character array to contain the GRIB2 message |
| [in] | lcgrib | Maximum length (bytes) of array cgrib. |
| [in] | csec2 | Character array containing information to be added to Section 2. |
| [in] | lcsec2 | Number of bytes of character array csec2 to be added to Section 2. |
| [out] | ierr | Error return code.
|
Definition at line 32 of file addlocal.f.