next up previous contents index
Next: DEFINE /LIKE Up: DEFINE Previous: DEFINE STRUCTURE

   
DEFINE TABLE

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

    defines variables associated to GILDAS images located in  the  specified
    file.  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
        connect the image in Readonly or ReadWrite access. The variable name
        must not include any dimension field.
      - DOUBLE, INTEGER or REAL: create a new image of the  specified  type.
        The  dimensions must then be specified in the dimension field of the
        variable name, as for a standard variable.
      - 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
2001-04-18