21 subroutine getdim(csec3,lcsec3,width,height,iscan)
24 character(len=1),
intent(in) :: csec3(*)
25 integer,
intent(in) :: lcsec3
26 integer,
intent(out) :: width,height,iscan
28 integer,
pointer,
dimension(:) :: igdstmpl,list_opt
30 integer iofst,igdtlen,num_opt,jerr
33 subroutine gf_unpack3(cgrib,lcgrib,iofst,igds,igdstmpl,
34 & mapgridlen,ideflist,idefnum,ierr)
35 character(len=1),
intent(in) :: cgrib(lcgrib)
36 integer,
intent(in) :: lcgrib
37 integer,
intent(inout) :: iofst
38 integer,
pointer,
dimension(:) :: igdstmpl,ideflist
39 integer,
intent(out) :: igds(5)
40 integer,
intent(out) :: ierr,idefnum
44 nullify(igdstmpl,list_opt)
47 call gf_unpack3(csec3,lcsec3,iofst,igds,igdstmpl,
48 & igdtlen,list_opt,num_opt,jerr)
89 if (
associated(igdstmpl))
deallocate(igdstmpl)
90 if (
associated(list_opt))
deallocate(list_opt)
subroutine getdim(csec3, lcsec3, width, height, iscan)
This subroutine returns the dimensions and scanning mode of a grid definition packed in GRIB2 Grid De...
subroutine gf_unpack3(cgrib, lcgrib, iofst, igds, igdstmpl, mapgridlen, ideflist, idefnum, ierr)
Unpack Section 3 (Grid Definition Section) of a GRIB2 message, starting at octet 6 of that Section.