Predictor analysis for onboard lossy predictive compression of multispectral and hyperspectral images