> problem with this. Malcolm, I see that chanmap.f calls KPG1_ASGET to get
> the WCS FrameSet and then immediately calls NDF_GTWCS to get the FrameSet
> again, replacing the FrameSet returned by KPG1_ASGET. I've forgotten why
> this is (if I ever knew).
Well spotted. I suspect that NDF_GTWCS was in the original then when
it was replaced by KPG1_ASGET, it wasn't deleted.
Removing the NDF_GTWCS call generates a channel map without error for
Mark's ngc.fits.
Malcolm
|