Domestic and foreign purchase supplies of natural gas require further processing if the customer intends to liquify a portion to store for future use. Usually, these supplies are relatively clean and only require water and carbon dioxide removal. Amine units can remove carbon dioxide, however, the gas becomes saturated with water and will require drying. Using molecular sieves in a temperature swing adsorption system will remove both the water and carbon dioxide in one system.