aplpy/aplpy — Issue #53: FITSFigure fails on AVM file because of a missing NAXIS1 keyword
Author: cdeil
Created: 2012-02-22 18:17:15+00:00
State: open

I tried making a FITSFigure for a TIFF file with AVM information as described here:
http://aplpy.github.com/documentation/howto_avm.html

This gives an error
`KeyError: "Keyword 'NAXIS1' not found."`

This is the file I tried:
http://virtualastronomy.org/files/avm_examples/esahubble/heic0515a.tif
from here:
http://virtualastronomy.org/avm_metadata.php

I see the same problem with other JPG (AVM 1.0) and TIFF (AVM 1.1) files from that site.

Giving this file to AVM the ReferenceDimension is read just fine:
```
>>> print AVM('heic0515a.tif')
...
ReferenceDimension:
* 3864
* 3864
...
```

Do I have to tell FITSFigure that the file contains AVM infomation and not a FITS Header?