getJP2Header#
- hvpy.getJP2Header(id, callback=None)[source]#
Get the XML header embedded in a JPEG2000 image. Includes the FITS header as well as a section of Helioviewer-specific metadata.
- Parameters:
- Return type:
References
Examples
>>> from hvpy import getJP2Header >>> getJP2Header(id=7654321, callback="xml_header") 'xml_header(\'<?xml version="1.0" encoding="utf-8"?><meta><fits>...')'