Investigations into the millimeter and submillimeter-wave spectrum of perdeuterated methanol, CD3OD, in its ground and first excited torsional states