[fitsbits] [Fwd: cfitisio/wcslib inheritance]

William Pence pence at milkyway.gsfc.nasa.gov
Wed May 31 14:43:55 EDT 2006


forwarded from the sci.astro.fits newsgroup....

-------- Original Message --------
Subject: cfitisio/wcslib inheritance
Date: Thu, 25 May 2006 10:01:11 +0100
From: Peter Bunclark <psb at ast.cam.ac.uk>
Organization: University of Cambridge, England
Newsgroups: sci.astro.fits

Is there a simple way to inherit the primary header when using
fits_hdr2str and wcspih ?  The particular case being, EQUINOX and
RADESYS are in the primary (which has NAXIS  = 0) and the rest
of the WCS in the extesions of a MEF.

If I concatenate the strings from hdr2str for the primary and
each extension, will wcspih skim past the initial dataless
header?

Pete.




More information about the fitsbits mailing list