%N uvselect %F $MIR/src/subs/uvio.c
%D Select or reject uv data.
%P rjs
%: uv-i/o
%B
FORTRAN call sequence:
        subroutine uvselect(tno,object,p1,p2,flag)
        integer tno
        character object*(*)
        double precision p1,p2
        logical flag

  This specifies the portion of the data to be selected by calls to
  uvread. Normally data that are not selected, are not returned.
  Exceptions are the "window" and "amplitude" objects, which cause the
  corresponding visibilities to be flagged as bad, but returned anyway.

  Input:
    tno         Handle of the uv data file.
    object      This can be one of "time","antennae","visibility",
                "uvrange","pointing","amplitude","window","or","dra",
                "ddec","uvnrange","increment","ra","dec","and", "clear",
                "on","polarization","shadow","auto","dazim","delev",
                "purpose","seeing" (should be 28?)
    p1,p2       Generally this is the range of values to select. For
                "antennae", this is the two antennae pair to select.
                For "antennae", a zero indicates "all antennae".
                For "shadow", a zero indicates use "antdiam" variable.
                For "on","window","polarization","increment","shadow" only
                p1 is used.
                For "and","or","clear","auto" p1 and p2 are ignored.
    flag        If true, the data is selected. If false, the data is
                discarded. Ignored for "and","or","clear".              
