|
NCEPLIBS-g2
3.4.7
|
Unpack a data field that was packed using a complex packing algorithm as defined in the GRIB2 documention. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | comunpack (cpack, len, lensec, idrsnum, idrstmpl, ndpts, fld, ier) |
| Unpack a data field that was packed using a complex packing algorithm as defined in the GRIB2 documention. More... | |
Unpack a data field that was packed using a complex packing algorithm as defined in the GRIB2 documention.
Definition in file comunpack.f.
| subroutine comunpack | ( | character(len=1), dimension(len), intent(in) | cpack, |
| integer, intent(in) | len, | ||
| lensec, | |||
| idrsnum, | |||
| integer, dimension(*), intent(in) | idrstmpl, | ||
| integer, intent(in) | ndpts, | ||
| real, dimension(ndpts), intent(out) | fld, | ||
| ier | |||
| ) |
Unpack a data field that was packed using a complex packing algorithm as defined in the GRIB2 documention.
This subroutine Supports GRIB2 complex packing templates with or without spatial differences: It supports GRIB2 complex packing templates with or without spatial differences: Data Representation Tables 5.2 and 5.3).
| [in] | cpack | The packed data field (character*1 array). |
| [in] | len | Length of packed field cpack. |
| [in] | lensec | Length of section 7 (used for error checking). |
| [in] | idrsnum | Data Representation Template number 5.N. Must equal 2 or 3. |
| [in] | idrstmpl | The array of values for Data Representation Template 5.2 or 5.3. |
| [in] | ndpts | The number of data values to unpack. |
| [out] | fld | Contains the unpacked data values. |
| [out] | ier | Error return:
|
Definition at line 31 of file comunpack.f.
References g2_gbytec(), g2_gbytesc(), and rdieee().
Referenced by getfield(), and gf_unpack7().