This application extracts from a demodulated-data file data for a
specified SCUBA sub-instrument and corrects it for the effect of
atmospheric extinction. The airmass at which each bolometer measurement
was made is calculated, then multiplied by the zenith sky extinction at
the time of the measurement to give the extinction optical depth along
the line of sight. The data point in question is then multiplied by the
exponential of the optical depth to give the value that would have been
measured in the absence of the atmosphere.
The zenith optical depth is assumed to vary linearly with time between
the values input in parameters FIRST_TAU and LAST_TAU. If the
measurement was taken at a time outside the range covered by FIRST_TAU
and LAST_TAU then the value closest in time will be used.