[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


TABLE_CONV Source code in table_conv.pro

TABLE_CONV

Name
       TABLE_CONV
Purpose
       Convert STSDAS table(s) to the host format
Explanation
       If on a BIG_ENDIAN machine (e.g. SparcStation), assumes table came
               from a little endian machine unless /FROM_VMS keyword is set
       If on a LITTLE_ENDIAN machine (e.g. OSF, Windows), assumes table came
               from a big endian machine unless /FROM_VMS keyword is set
       If on a VMS machine, assumes table came from a big endian machine
               unless the /FROM_LITTLE keyword is set
Calling Sequence
       TABLE_CONV, filespec, [ /FROM_VMS, /FROM_LITTLE ]
Input Parameters
       filespec - file specification for table(s), scalar string.
               Can include wildcard values, e.g. '*.tab'
Example
       (1) An STSDAS table "calspec.tab" has been FTP'ed from a Sparcstation
       to a VMS machine.   Convert the table to the host VMS format.
       (The FTP mode should be set to binary when copying STSDAS tables)
       IDL> table_conv, 'calspec.tab'
       (2) A set of files '*.tab' have been FTP'ed from VMS machine to a
       Sparcstation.   Convert all the files to the host format
       IDL> table_conv, '*.tab', /FROM_VMS
Note
       TABLE_CONV does not check whether byte-swapping is actually needed.
       If this procedure is applied to a file that is already in the host
       format, then that file will be corrupted.
Procedures Used
       CONV_VAX_UNIX(), CONV_UNIX_VAX, FDECOMP, IS_IEEE_BIG(), SWAP_ENDIAN(),
       TABLE_HCONV, TAB_PUT, TAB_READ, TAB_SIZE, TAB_WRITE
Revision History
       W. Landsman,  Hughes STX/Goddad              July 1996
       Adapted from GHRS version by Don Lindler, Keith Feggans
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:14 UTC

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

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