|
NCEPLIBS-g2
3.4.7
|
Unpack a data field packed into a PNG image format. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | pngunpack (cpack, len, idrstmpl, ndpts, fld) |
| Unpack a data field packed into a PNG image format. More... | |
Unpack a data field packed into a PNG image format.
Definition in file pngunpack.F90.
| subroutine pngunpack | ( | character(len = 1), dimension(len), intent(in) | cpack, |
| integer, intent(in) | len, | ||
| integer, dimension(*), intent(in) | idrstmpl, | ||
| integer, intent(in) | ndpts, | ||
| real, dimension(ndpts), intent(out) | fld | ||
| ) |
Unpack a data field packed into a PNG image format.
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.40 or 5.40000.
| [in] | cpack | The packed data field (character*1 array). |
| [in] | len | length of packed field cpack(). |
| [in] | idrstmpl | Contains the array of values for Data Representation Template 5.40 or 5.40000. |
| [in] | ndpts | The number of data values to unpack. |
| [out] | fld | Contains the unpacked data values. |
Definition at line 19 of file pngunpack.F90.
References dec_png(), g2_gbytesc(), and rdieee().
Referenced by getfield(), and gf_unpack7().