>  Docs Center  >  Libraries  >  ASTROLIB  >  FXHCLEAN
Libraries

FXHCLEAN

FXHCLEAN

Name


FXHCLEAN

Purpose


Removes required keywords from FITS header.

Explanation


Removes any keywords relevant to array structure from a FITS header,
preparatory to recreating it with the proper values.

Use


FXHCLEAN, HEADER

Inputs


HEADER = FITS header to be cleaned.
  Opt. Inputs :
None.

Outputs


HEADER = The cleaned FITS header is returned in place of the input
array.
  Opt. Outputs:
None.

Keywords


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 ...

Calls


SXDELPAR, FXPAR
  Common :
None.

Restrictions


HEADER must be a string array containing a properly formatted FITS
header.

Side Effects


Warning: when cleaning a binary table extension header, not all of the
keywords pertaining to columns in the table may be removed.

Category


Data Handling, I/O, FITS, Generic.
  Prev. Hist. :
William Thompson, Jan 1992.
  Written :
William Thompson, GSFC, January 1992.
  Modified :
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


      Version 4, 30 December 1994
Converted to IDL V5.0 W. Landsman September 1997



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us