[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


MID_RD_DISDSC Source code in mid_rd_dirdsc.pro

MID_RD_DISDSC

Name
       MID_RD_DISDSC
Purpose
       Get a MIDAS directory descriptor from a MIDAS BDF.
Explanation
       Note: PORTABLE MIDAS.
Calling Sequence
       MID_RD_DIRDSC,IMAGE,DSCNAME,DSCVALUE
Input Parameters
       IMAGE = Filename or Logical Unit Number.
               * If a filename is given, the file will be opened and closed
               using a local LUN.  The filename is that of the MIDAS image,
               without extension (.BDF will is assumed) or version number
               (latest version is assumed).
               * If a LUN is given, the file associated with that LUN will be
                used.
       DSCNAME = Name of the Descriptor wanted.
Output Parameters
       DSCVALUE = Value of the directory descriptor wanted.
Algorithm
       0) Check inputs and set error handling.
       1) Open file for access using the access method indicated by the type of
               the input parameter IMAGE.
       2) Find the descriptor by name (string type).
       3) Decode the 30 byte descriptor block.
       4) Use #3 to find descriptor data area.
       5) Convert descriptor data as indicated by descriptor block information.
       6) Terminate file access as is proper for the type of parameter IMAGE.
Restrictions
          1) There must be only one FCB and it must be in VBN 1.
       2) The LDBs must begin in VBN 2.
       3) All descriptors must be in the first LDB.
       4) Note: .bdf and .tbl extensions assumed lower case.
Authors
   SAV  - Stephen A. Voels, USM/DAN
Revision History
       FEB 1989 SAV  Initial programming.
       MAY 1989 FM   Change of name of routine; some minor alterations.
       AUG 1990 FM   Updates for Portable MIDAS (noted as comments below).
       FEB 1991 FM   Conversion to V. 2 of 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