Extinction in the submillimeter atmospheric windows