%N uvwread %F $MIR/src/subs/uvio.c
%D Read in the wideband uv correlation data.
%P rjs
%: uv-i/o
%B
FORTRAN call sequence:
        subroutine uvwread(tno,data,flags,n,nread)
        integer tno,n,nread
        complex data(n)
        logical flags(n)

  This reads a single wideband visibility record from the data file.
  This should generally be called after uvread. It performs no scanning
  before returning the data. Thus it always returns any wideband data
  (even if uvread has detected end-of-file). Although uvwread is independent
  of the linetype set with uvset, it otherwise generally performs the
  same massaging steps as uvread (e.g. data selection, amplitude flagging
  and planet scaling).

  Input:
    tno         Handle of the uv data set.
    n           Max number of channels that can be read.
  Output:
    data        A array of at least n complex elements (or 2n real
                elements). This returns the correlation data.
    flags       Logical array of at least n elements. A true value for
                a channel indicates good data.
    nread       Number of correlations returned.                        
