#!/bin/sh
set -e

#   sk: re-write for new timavg, and timcov.
#
#                  specvar             dl. oct. 24/00 - sk.
#                                      variances of spectral coefficients x.
#   Usage: spcvar x txp2 tixp2
#

#   ---------------------------------- variance
      timavg $1 tx. xp. $2

#   ---------------------------------- var. of vertical integral
      vpint  xp. ixp.
      timcov ixp. _  $3

      rm tx. xp. ixp.
#   .....................................................................specvar
