|
NCEPLIBS-g2
3.4.7
|
Unpack Section 6 (Bit-Map Section) of a GRIB2 message. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gf_unpack6 (cgrib, lcgrib, iofst, ngpts, ibmap, bmap, ierr) |
| Unpack Section 6 (Bit-Map Section) of a GRIB2 message, starting at octet 6 of that Section. More... | |
Unpack Section 6 (Bit-Map Section) of a GRIB2 message.
Definition in file gf_unpack6.F90.
| 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 | ||
| ) |
Unpack Section 6 (Bit-Map Section) of a GRIB2 message, starting at octet 6 of that Section.
| [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 29 of file gf_unpack6.F90.
References g2_gbytec(), and g2_gbytesc().
Referenced by getgb2r(), and gf_getfld().