![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
![]() |
FXHCLEAN
Removes required keywords from FITS header.
Removes any keywords relevant to array structure from a FITS header,
preparatory to recreating it with the proper values.
FXHCLEAN, HEADER
HEADER = FITS header to be cleaned.
None.
HEADER = The cleaned FITS header is returned in place of the input
array.
None.
ERRMSG = If defined and passed, then any error messages will be
returned to the user in this parameter rather than
depending on the MESSAGE routine in IDL. If no errors are
encountered, then a null string is returned. In order to
use this feature, ERRMSG must be defined first, e.g.
ERRMSG = ''
FXHCLEAN, ERRMSG=ERRMSG, ...
IF ERRMSG NE '' THEN ...
SXDELPAR, FXPAR
None.
HEADER must be a string array containing a properly formatted FITS
header.
Warning: when cleaning a binary table extension header, not all of the
keywords pertaining to columns in the table may be removed.
Data Handling, I/O, FITS, Generic.
William Thompson, Jan 1992.
William Thompson, GSFC, January 1992.
Version 1, William Thompson, GSFC, 12 April 1993.
Incorporated into CDS library.
Version 2, William Thompson, GSFC, 31 May 1994
Added ERRMSG keyword.
Version 3, William Thompson, GSFC, 23 June 1994
Modified so that ERRMSG is not touched if not defined.
Version 4, William Thompson, GSFC, 30 December 1994
Added TCUNIn to list of column keywords to be removed.
Version 4, 30 December 1994
Converted to IDL V5.0 W. Landsman September 1997
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]