next up previous contents index
Next: DEFINE UVTABLE Up: DEFINE Previous: DEFINE STRUCTURE   Contents   Index


DEFINE TABLE

        [SIC\]DEFINE TABLE Var1 File1 Key1 [Var2 File2 Key2 [...]] [/GLOBAL]

    Define variables associated to GILDAS images located in  the  files,  if
    specified. The variable type and dimensions are derived according to the
    value of the keyword Key and the file content:
      - READ or WRITE: use the type and dimensions from the file,  and  con-
        nect  the  image  in Readonly or ReadWrite access. The variable name
        must not include any dimension field.
      - DOUBLE, INTEGER or REAL: create a new table of the  specified  type.
        The  dimensions must then be specified in the dimension field of the
        variable name, as for a standard variable. The  associated  file  is
        created, unless a star ('*') is used as file name.
      - EXTEND: take type and first dimensions from the file, but extend the
        last dimension to the value specified in the  dimension  field.  The
        full syntax in this case is thus
                DEFINE TABLE Var[Ldim] File EXTEND
        where Ldim is the new value for the last dimension.

    DEFINE TABLE  does  not  create  any  additional variables for the image
    header. See DEFINE IMAGE and DEFINE HEADER for this information.


Gildas manager 2014-07-01