|
NCEPLIBS-g2
3.4.5
|
This subroutine unpacks 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) |
| This subroutine unpacks a data field that was packed using a complex packing algorithm as defined in the GRIB2 documention. More... | |
This subroutine unpacks 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 | |||
| ) |
This subroutine unpacks a data field that was packed using a complex packing algorithm as defined in the GRIB2 documention.
Using info from the GRIB2 Data Representation Template 5.2 or 5.3. Supports GRIB2 complex packing templates with or without spatial differences (i.e. DRTs 5.2 and 5.3).
PROGRAM HISTORY LOG:
| [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 | Contains 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 37 of file comunpack.f.