next up previous contents index
Next: FOLD Up: LAS Language Internal Help Previous: FILE

FIND

 

        LAS\FIND [Append] [New_Data] [/ALL] [/LINE Lname]  [/NUMBER  n1  n2]
    [/OFFSET  o1  o2]  [/SCAN  s1  s2] [QUALITY q] [/RANGE w e s n] [/SOURCE
    Sname] [/TELESCOPE Tname]

    FIND performs a search in the input file to build a new index, according
    to  selection criteria defined by the SET command. These criteria may be
    temporarily modified by the following options:
    /ALL             all versions of each scan are searched for
                     (if not present: only the last version)
    /LINE Lname      search by line name
    /NUMBER n1 n2    search for the specified range of observation numbers
    /SCAN s1 s2      search for the specified range of scan numbers
    /OFFSET a1 a2    search for these offsets
    /QUALITY q       search for the data of quality better than Q
    /RANGE w e s n   search for the specified range of offsets
    /SOURCE Sname    search by source name
    /TELESCOPE Tname search for the telescope used
    FIND by default overwrites the current index. Found observations may  be
    appended  to  the  current  index by specifying the argument APPEND ; an
    index compression occurs to avoid duplication of scans in the index.

    FIND does not return an error if the index is empty,  but  the  variable
    FOUND  is set to 0. FOUND is always set to the number of observations in
    the index.

    Argument NEW_DATA can be used to wait until new data is present  in  the
    input   file.   This  possibility  is  intended  for  sites  where  data
    acquisition is done in CLASS format (Pico Veleta, Plateau  de  Bure)  to
    use  CLASS as an automated quick look facility. The behaviour is similar
    to that of command NEW_DATA, but all selection criteria  are  considered
    and no switching to a new observation type occurs.


lucas@iram.fr