Ecological gradient theory: a framework for aligning data and models