Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 37ce2601040f8edc2329d4714238376a > files > 848

eso-midas-doc-13SEPpl1.2-3.mga5.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Input/Output of Tables</TITLE>
<META NAME="description" CONTENT="Input/Output of Tables">
<META NAME="keywords" CONTENT="vol1">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="vol1.css">
<LINK REL="next" HREF="node59.html">
<LINK REL="previous" HREF="node57.html">
<LINK REL="up" HREF="node55.html">
<LINK REL="next" HREF="node59.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1212"
 HREF="node59.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1208"
 HREF="node55.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1202"
 HREF="node57.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1210"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1211"
 HREF="node216.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
 SRC="icons.gif/index_motif.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1213"
 HREF="node59.html">Management of Tables</A>
<B> Up:</B> <A NAME="tex2html1209"
 HREF="node55.html">Table File System</A>
<B> Previous:</B> <A NAME="tex2html1203"
 HREF="node57.html">Structure of Tables</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION00830000000000000000">&#160;</A> 
<A NAME="input_output-of-tables">&#160;</A>
<BR>
Input/Output of Tables
</H1>

<P>
The exchange of table data to and from the MTS is mainly done through standard
ASCII files. This makes it easy for any program
to get data from the MTS and to transfer data into it. 
Thus, output files from text editors and Database systems containing table
data in a fixed format can directly be transferred into the MTS format. 

<P>
Conversion between the ASCII data file and the table is defined by a format
file (see section&nbsp;<A HREF="node67.html#table-format-files">5.7</A>). If the format file does not exist, the conversion
is done automatically via list-direct input in free format. In this case
only REAL*4 and integer data, without <TT>NULL</TT> values are allowed.
  
<BR>
<DIV ALIGN="CENTER"><A NAME="6066">&#160;</A>
<TABLE>
<CAPTION><STRONG>Table 5.1:</STRONG>
Conversion between ASCII Files and MIDAS Tables</CAPTION>
<TR><TD>
  <DIV ALIGN="CENTER">
<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=1><B> Command</B></TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=1><B> Description</B></TD>
</TR>
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=1><TT>CREATE/TABLE	</TT></TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=1>Convert from  ASCII files to MTS format</TD>
</TR>
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=1><TT>PRINT/TABLE	</TT></TD>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=1>Transfer MTS information  to  the  ASCII file 
assigned as output. The printer is used by default.</TD>
</TR>
</TABLE></DIV>  
  <A NAME="ascii-file-to-midas-table-conversion">&#160;</A> 
</TD></TR>
</TABLE>
</DIV>
<BR>
<P>
Normally, table files should be copied to magnetic tape in the FITS format for
tables (Harten et <I>al.</I>, 1985, <I>Mem.S.A.It.</I>, <B>56</B>, 437)
to make it easy to read them again on other
computers. The conversion to FITS is done by the MIDAS command <TT>OUTTAPE</TT>;
FITS tables are loaded onto disk by the command <TT>INTAPE</TT>.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1212"
 HREF="node59.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1208"
 HREF="node55.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1202"
 HREF="node57.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1210"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1211"
 HREF="node216.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
 SRC="icons.gif/index_motif.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1213"
 HREF="node59.html">Management of Tables</A>
<B> Up:</B> <A NAME="tex2html1209"
 HREF="node55.html">Table File System</A>
<B> Previous:</B> <A NAME="tex2html1203"
 HREF="node57.html">Structure of Tables</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-09</I>
</ADDRESS>
</BODY>
</HTML>