<!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>Reading FITS</TITLE> <META NAME="description" CONTENT="Reading FITS"> <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="node125.html"> <LINK REL="previous" HREF="node123.html"> <LINK REL="up" HREF="node121.html"> <LINK REL="next" HREF="node125.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html2097" HREF="node125.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html2093" HREF="node121.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html2087" HREF="node123.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html2095" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html2096" 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="tex2html2098" HREF="node125.html">Writing FITS</A> <B> Up:</B> <A NAME="tex2html2094" HREF="node121.html">Conversion between FITS and</A> <B> Previous:</B> <A NAME="tex2html2088" HREF="node123.html">File naming</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION001133000000000000000"> </A> <A NAME="ch07:reading-fits"> </A> <BR> Reading FITS </H2> The <TT>INTAPE</TT>-command is used to convert FITS (or IHAP) files to the internal MIDAS format:<BLOCKQUOTE> <TT><TT>INTAPE file_list id device [flag]</TT></TT></BLOCKQUOTE>where <TT>file_list</TT> is a list of absolute position numbers of files (if input is from tape) to be read with 1 being the first file (<I>e.g.</I> 1, 3, 5, 50-60 would read from the 1st, 3rd, 5th file plus files 50 through 60 included), and <TT>id</TT> is an identification prefix of the names of the files created. Tape devices will be rewound if the driver does not maintain the absolute position of the tape. This may take a significant amount of time on some devices. It is easier to read many files from disk (with <TT>INTAPE</TT>) if their names are constructed with the given prefix, a four digit number and the extension `<TT>.mt</TT>'. It is also possible to read a single file from disk by specifying its full name including extension in which case any extension may be given. <P> The <TT>flag</TT> is a list of three one character flags which specifies the amount of information listed on the senior terminal and in the log file and the storage format of the data (see help file for full description). <P> The <TT>INTAPE</TT> command can be used to read FITS files directly from disk. However, it is not convenient due to the naming scheme used. For this purpose, it is better to use:<BLOCKQUOTE> <TT><TT>INDISK/FITS in_files [out_spec] [option]</TT></TT></BLOCKQUOTE>where <TT>in_files</TT> specifies the FITS files to be converted (note: wildcard characters are supported). The <TT>out_spec</TT> can be used to control the names of the resulting FITS files. If the original file name is stored in the <TT>FILENAME</TT> keyword in the FITS header, it is possible to use this name for the output file by specifying the option <TT>ON</TT>. For a more detailed description of the command check with the help-text. <P> <HR> <!--Navigation Panel--> <A NAME="tex2html2097" HREF="node125.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html2093" HREF="node121.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html2087" HREF="node123.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html2095" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html2096" 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="tex2html2098" HREF="node125.html">Writing FITS</A> <B> Up:</B> <A NAME="tex2html2094" HREF="node121.html">Conversion between FITS and</A> <B> Previous:</B> <A NAME="tex2html2088" HREF="node123.html">File naming</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-09</I> </ADDRESS> </BODY> </HTML>