![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
![]() |
MID_RD_TABLE
Open and read data from a MIDAS table.
MID_RD_TABLE,table,ncol,nrow,data
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.
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.
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.
Real data handled only. Midas table SELECTION mechanism is ignored.
Also ignored are missing values.
Midas file extensions (.tbl) assumed lower case.
FM - Fionn Murtagh, ST-ECF, Munich.
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
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]