Constraints on glacier flow from temperature