I'm having some fun reading MSX images. A representative header is at the
end of this message - Galactic coordinates, reference pixel off the image.
Experimenting:
- GAIA can read it fine.
- fits2ndf results in a file with a WCS component that doesn't actually
work (Kappa display refuses to display it)
- SoG purports to read the file but doesn't really since it seems to be
treating the reference pixel as 0,0 and not a pixel that is miles
off the image.
- Changing to J2000 in Gaia and saving it out only works for NATIVE
encoding. fits2ndf then results in an image that displays.
The fact that GAIA reads it fine and fits2ndf doesn't (or at least
kappa display fails) seems to be a bug.
[this all happened because an observer is trying to use MSX images for
planning their observations and the JCMT-OT (JSky) couldn't read the file
so I tried to do the standard import to NDF and export back to fits with
a different header encoding - I think the only option is to resample the
image to unrotated J2000]
The actual image can be found at
http://www.jach.hawaii.edu/~timj/CL00_a_ga.fits.gz
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
SIMPLE = T /
BITPIX = -32 /
NAXIS = 2 /
NAXIS1 = 299 /
NAXIS2 = 299 /
CRPIX1 = 212464.628 /
CRVAL1 = 0.000000000 /
CDELT1 = -0.001666666707 /
CTYPE1 = 'GLON-CAR' /
CRPIX2 = 10.394 /
CRVAL2 = 0.000000000 /
CDELT2 = 0.001666666707 /
CTYPE2 = 'GLAT-CAR' /
CROTA2 = 0.000000000 /
LONPOLE = 0.000000000 /
WAVELENG= 8.28000e-06 /
BUNIT = 'W/m^2-sr' /
TELESCOP= 'MSX ' /
INSTRUME= 'SPIRITIII' /
ORIGIN = 'AFRL-VSBC' /
|