NCEPLIBS-g2  3.4.7
jpcunpack.F90 File Reference

Unpack a data field from a JPEG2000 code stream. More...

Go to the source code of this file.

Functions/Subroutines

subroutine jpcunpack (cpack, len, idrstmpl, ndpts, fld)
 Unpack a data field from a JPEG2000 code stream. More...
 

Detailed Description

Unpack a data field from a JPEG2000 code stream.

Author
Stephen Gilbert
Date
2002-12-17

Definition in file jpcunpack.F90.

Function/Subroutine Documentation

◆ jpcunpack()

subroutine jpcunpack ( 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 from a JPEG2000 code stream.

This subroutine unpacks a data field that was packed into a JPEG2000 code stream using info from the GRIB2 Data Representation Template 5.40 or 5.40000.

Parameters
[in]cpackThe packed data field (character*1 array).
[in]lenlength of packed field cpack().
[in]idrstmplArray of values for Data Representation Template 5.40 or 5.40000.
[in]ndptsThe number of data values to unpack.
[out]fldContains the unpacked data values.
Author
Stephen Gilbert
Date
2002-12-17

Definition at line 19 of file jpcunpack.F90.

References dec_jpeg2000(), and rdieee().

Referenced by getfield(), and gf_unpack7().