|
NCEPLIBS-g2
3.4.5
|
Contains subroutines unpacks Section 7 (Data Section). More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gf_unpack7 (cgrib, lcgrib, iofst, igdsnum, igdstmpl, idrsnum, idrstmpl, ndpts, fld, ierr) |
| This subroutine unpacks Section 7 (Data Section). More... | |
Contains subroutines unpacks Section 7 (Data Section).
Definition in file gf_unpack7.f.
| subroutine gf_unpack7 | ( | character(len=1), dimension(lcgrib), intent(in) | cgrib, |
| integer, intent(in) | lcgrib, | ||
| integer, intent(inout) | iofst, | ||
| integer, intent(in) | igdsnum, | ||
| integer, dimension(:), pointer | igdstmpl, | ||
| integer, intent(in) | idrsnum, | ||
| integer, dimension(:), pointer | idrstmpl, | ||
| integer, intent(in) | ndpts, | ||
| real, dimension(:), pointer | fld, | ||
| integer, intent(out) | ierr | ||
| ) |
This subroutine unpacks Section 7 (Data 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 7. |
| [in] | igdsnum | Grid Definition Template Number (Code Table 3.0) (Only required to unpack DRT 5.51). |
| [in] | igdstmpl | Pointer to an integer array containing the data values for the specified Grid Definition. Template (N=igdsnum). Each element of this integer array contains an entry (in the order specified) of Grid Definition Template 3.N (Only required to unpack DRT 5.51). |
| [in] | ndpts | Number of data points unpacked and returned. |
| [in] | idrsnum | Data Representation Template Number (Code Table 5.0). |
| [in] | idrstmpl | Pointer to an integer array containing the data values for the specified Data Representation Template (N=idrsnum). Each element of this integer array contains an entry (in the order specified) of Product Defintion Template 5.N A safe dimension for this array can be obtained in advance from maxvals(6), which is returned from subroutine gribinfo. |
| [in] | ndpts | Number of data points unpacked and returned. |
| [out] | fld | Pointer to a real array containing the unpacked data field. |
| [out] | ierr | Error return code.
|
Definition at line 44 of file gf_unpack7.f.