gfitsio.lvlib:gfitsio-delete-current-hdu.vi

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.

gfitsio.lvlib:gfitsio-delete-current-hdu.vi

cerrcodeclst

error in (no error)

Describes error conditions that occur before this VI or function runs.

cdlrn

gfits refnum

The file refnum associated with the file you want to access.

ierrcodeclst

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.

idlrn

dup gfits refnum

Returns gfits refnum unchanged.