Quantification and management of spatio-temporal variability in agricultural systems