A ground-based technique for millimeter wave spectroscopic observations of stratospheric trace constituents