High-resolution frequency-domain spectroscopy (FDS) is set up using a coherent and continuous wave terahertz (THz) emitter and receiver. THz waves are generated and detected by two photomixers with two distributed feedback (DFB) lasers. Atmospheric w