42 subroutine gf_unpack1(cgrib, lcgrib, iofst, ids, idslen, ierr)
45 character(len=1),
intent(in) :: cgrib(lcgrib)
46 integer,
intent(in) :: lcgrib
47 integer,
intent(inout) :: iofst
48 integer,
pointer,
dimension(:) :: ids
49 integer,
intent(out) :: ierr, idslen
50 integer,
dimension(:) :: mapid(13)
51 integer :: i, istat, lensec, nbits
53 data mapid /2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1/
67 allocate(ids(idslen), stat = istat)
68 if (istat .ne. 0)
then
76 call g2_gbytec(cgrib, ids(i), iofst, nbits)
subroutine g2_gbytec(in, iout, iskip, nbits)
Extract arbitrary size values from a packed bit string, right justifying each value in the unpacked a...
subroutine gf_unpack1(cgrib, lcgrib, iofst, ids, idslen, ierr)
Unpack Section 1 (Identification Section) of a GRIB2 message, starting at octet 6 of that Section.