Atmospheric control in a confined environment