Delete the current HDU (CHDU) in the FITS file. Any following HDUs will be shifted forward in the file, to fill in the gap created by the deleted HDU. In the case of deleting the primary array (the first HDU in the file) then the current primary array will be replace by a null primary array containing the minimum set of required keywords and no data. If there are more extensions in the file following the one that is deleted, then the the CHDU will be redefined to point to the following extension. If there are no following extensions then the CHDU will be redefined to point to the previous HDU.
|
error in (no error) Describes error conditions that occur before this VI or function runs. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. |
|
code code is the error or warning code. |
|
source source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. |
|
gfits refnum The file refnum associated with the file you want to access. |
|
error out If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. |
|
code code is the error or warning code. |
|
source source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. |
|
dup gfits refnum Returns gfits refnum unchanged. |