Opened 14 years ago
Closed 14 years ago
#3822 closed defect (fixed)
FITS driver refuses to open files whose metadata list doesn't end with 'END'
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | fits |
Cc: |
Description
That's the case for http://fits.gsfc.nasa.gov/nrao_data/tests/ftt4b/file013.fits reported in http://lists.osgeo.org/pipermail/gdal-dev/2010-November/026637.html
Contrary to most files, it doesn't end with 'END' keyword. The solution is to use the fits_get_hdrspace() API to get the number of key/value pairs and iterate over it without relying on END being the last keyword.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r21104