[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


MID_RD_TABLE Source code in mid_rd_table.pro

MID_RD_TABLE

Name
       MID_RD_TABLE
Purpose
       Open and read data from a MIDAS table.
Calling Sequence
       MID_RD_TABLE,table,ncol,nrow,data
Input Parameters
       Table =  file name of MIDAS table or Logical Unit Number.
       * If a filename is given, the file will be opened and closed
               using a local LUN. An extension -- not to be
               supplied -- of .TBL is assumed.  No version number is
               allowed: the most recent version is used.
       * If an LUN is given, the file associated with that LUN will
               be used.
Output Parameters
       Ncol =   number of columns in the input MIDAS table.  Long
               integer (I*4).
       Nrow =   number of rows in the MIDAS table. Long integer (I*4).
       Data =   table data.  Floating (R*4).  Data is of dimensions
               nrow*ncol.  The select column in the MIDAS table is
               disregarded.
Algorithm
       We first consider the File Control Block of the MIDAS table file
       to determine the start of descriptor information and the start of
       the data.
       Next we consider the Descriptor Directory Entry for `tblcontr' (the
       number of columns and rows allocated; followed by the number of
       columns and rows in the actual table).
       Finally we read the data values.
Restrictions
       Real data handled only.  Midas table SELECTION mechanism is ignored.
       Also ignored are missing values.
       Midas file extensions (.tbl) assumed lower case.
Authors
       FM  -  Fionn Murtagh, ST-ECF, Munich.
Revision History
       OCT 1988  FM  Initial programming.
       MAY 1989  FM  Name change, debugging, etc.
       FEB 1991  FM  Conversion to V.2 IDL, Unix.
       Converted to IDL V5.0   W. Landsman   September 1997

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

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

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