Martian atmospheric model with a high-fidelity subsurface thermal scheme