|
NCEPLIBS-g2
3.4.7
|
Unpack Section 2 (Local Use Section) of a GRIB2 message. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gf_unpack2 (cgrib, lcgrib, iofst, lencsec2, csec2, ierr) |
| Unpack Section 2 (Local Use Section) of a GRIB2 message. More... | |
Unpack Section 2 (Local Use Section) of a GRIB2 message.
Definition in file gf_unpack2.F90.
| subroutine gf_unpack2 | ( | character(len = 1), dimension(lcgrib), intent(in) | cgrib, |
| integer, intent(in) | lcgrib, | ||
| integer, intent(inout) | iofst, | ||
| integer, intent(out) | lencsec2, | ||
| character(len = 1), dimension(:), pointer | csec2, | ||
| integer, intent(out) | ierr | ||
| ) |
Unpack Section 2 (Local Use Section) of a GRIB2 message.
| [in] | cgrib | Character array that contains the GRIB2 message. |
| [in] | lcgrib | Length (in bytes) of GRIB message array cgrib. |
| [in,out] | iofst | Bit offset of the beginning/end (returned) of Section 2. |
| [out] | lencsec2 | Length (in octets) of Local Use data. |
| [out] | csec2 | Pointer to a character*1 array containing local use data. Caller should pass in an unassociated pointer, and must free memory allocated by this subroutine by calling deallocate on this pointer. |
| [out] | ierr | Error return code.
|
Definition at line 25 of file gf_unpack2.F90.
References g2_gbytec().
Referenced by getgb2l(), and gf_getfld().