[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FITS header values
Regarding the latest WCS discussion of use of CD1_1, etc keywords instead of
CDELT and CROT I looked at the source code of the CFITSIO library and found out
that this is automatically supported in the following way:
if the CDELT keywords are present,
use them (and CROTA)
else
if CD keywords are present,
use them and convert inteernally to CDELT and CROTA
else
/* neither CD nor CDELT are present */
put CDELT=1 (degree)
put CROTA=0
So, if both keywords (CD and CDELT) are there, the old convention (CDELT) is
used.
Jure Skvarc