[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


SXHREAD Source code in sxhread.pro

SXHREAD

Name
       SXHREAD
Purpose
       Procedure to read a STSDAS header from disk.
Explanation
       This version of SXHREAD can read three types of disk files
       (1)  VMS Fixed record length 80 byte files, or GEIS files with
               VMS buckets
       (2)  Unix stream files with a CR after every 80 bytes
       (3)  Variable length record files (Unix or VMS)
Calling Sequence
       sxhread, name, header
Input Parameters
       name - file name, scalar string.  An extension of .hhh is appended
               if not already supplied.   (Note STSDAS headers are required
               to have a 3 letter extension ending in 'h'.)   gzip extensions
               .gz will be recognized as compressed.
Output Parameters
       header - STSDAS header, string array
Note
       SXHREAD  does not do any checking to see if the file is a valid
       STSDAS header.    It simply reads the file into a string array with
       80 byte elements
Revision History
       Version 1  D. Lindler  July, 1987
       Version 2  M. Greason, August 1990
       Use READU for certain ST VAX GEIS files   W. Landsman January, 1992
       Read variable length Unix files  E. Deutsch/W. Landsman November, 1994
       Converted to IDL V5.0   W. Landsman   September 1997
       Updated by E. Artigau to handle gzipped fits  August 2004

Last modified by pro2html on 2005 August 24 at 03:12 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically