|
NCEPLIBS-g2
3.4.5
|
Contains subroutines unpacks Section 6 (Bit-Map Section). More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gf_unpack6 (cgrib, lcgrib, iofst, ngpts, ibmap, bmap, ierr) |
| This subroutine unpacks Section 6 (Bit-Map Section) starting at octet 6 of that Section. More... | |
Contains subroutines unpacks Section 6 (Bit-Map Section).
Definition in file gf_unpack6.f.
| subroutine gf_unpack6 | ( | character(len=1), dimension(lcgrib), intent(in) | cgrib, |
| integer, intent(in) | lcgrib, | ||
| integer, intent(inout) | iofst, | ||
| integer, intent(in) | ngpts, | ||
| integer, intent(out) | ibmap, | ||
| logical*1, dimension(:), pointer | bmap, | ||
| integer, intent(out) | ierr | ||
| ) |
This subroutine unpacks Section 6 (Bit-Map Section) starting at octet 6 of that Section.
PROGRAM HISTORY LOG:
| [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 6. |
| [in] | ngpts | Number of grid points specified in the bit-map. |
| [out] | ibmap | Bitmap indicator (see Code Table 6.0)
|
| [out] | bmap | Logical*1 array containing decoded bitmap. (if ibmap=0) The dimension of this array can be obtained in advance from maxvals(7), which is returned from subroutine gribinfo. |
| [out] | ierr | Error return code.
|
Definition at line 37 of file gf_unpack6.f.