AN AUTOMATIC APPROACH TO LOSSY COMPRESSION OF AVIRIS HYPERSPECTRAL DATA