>  Docs Center  >  Libraries  >  ASTROLIB  >  IRAFDIR
Libraries

IRAFDIR

IRAFDIR

Name


IRAFDIR

Purpose


Provide a brief description of the IRAF images on a directory

Calling Sequence


IRAFDIR, [ directory, TEXTOUT = ]

Optional Input Parameters


DIRECTORY - Scalar string giving file name, disk or directory to
be searched

Optional Input Keyword


TEXTOUT - specifies output device (see TEXTOPEN)
textout=1 TERMINAL using /more option
textout=2 TERMINAL without /more option
textout=3 <program>.prt
textout=4 laser.tmp
textout=5 user must open file
textout=7 Append to existing <program>.prt file
textout = 'filename' (default extension of .prt)

Output Parameters


None

Procedure


FINDFILE is used to find all '.imh' files in the directory.
The object name and image size (NAXIS1, NAXIS2) are extracted
from the header. Each header is also searched for the parameters
DATE-OBS (or TDATEOBS), TELESCOP (or OBSERVAT), EXPTIME.
 

Restrictions


(1) Some fields may be truncated since IRAFDIR uses a fixed format

Output


(2) No more than 2 dimension sizes are displayed

System Variables


If 'textout' keyword is not specified to select an output device,
!TEXTOUT will be the default. This non-standard system variable
can be added using the procedure ASTROLIB.

Procedure Calls


EXPAND_TILDE(), FDECOMP, REMCHAR, TEXTOPEN, TEXTCLOSE

Modification History


Written, K. Venkatakrishna, ST Systems Corp, August 1991
Work for IRAF V2.11 format W. Landsman November 1997
Assume since V5.5 use file_search W. Landsman Sep 2006



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