Software approaches to hyperspectral data compression