sunpy/sunpy — pull request #373 by wafels (2012-12-11 15:37:46+00:00)
Title: Fix for reading JP2 files

Previously, SunPy expected all JP2 files to have a COMMENT keyword. However, some JP2 files do not have the COMMENT keyword, because the source FITS file does not have the comment keyword. I put in a fix to test for the existence of the COMMENT keyword in the header dictionary; if present, the code that was always run regardless of the existence of the COMMENT keyword is run.