![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
![]() |
TABLE_CONV
Convert STSDAS table(s) to the host format
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
TABLE_CONV, filespec, [ /FROM_VMS, /FROM_LITTLE ]
filespec - file specification for table(s), scalar string.
Can include wildcard values, e.g. '*.tab'
(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
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.
CONV_VAX_UNIX(), CONV_UNIX_VAX, FDECOMP, IS_IEEE_BIG(), SWAP_ENDIAN(),
TABLE_HCONV, TAB_PUT, TAB_READ, TAB_SIZE, TAB_WRITE
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
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]