Global seasonal variation of water vapor on Mars and the implications for permafrost