I am trying to compress some .npy files as tightly as possible. What I have read is that typically to do this you use the LZMA algorithm.
So far I have tried xz tar compression level 9, and python lzma compression. This seems effective but I was wondering if anybody had tried something better? Is LZMA really the best algorithm or is there something better? I am optimizing SOLELY for compression, time to compress is a non-issue. I also recognize that .npy is already more compressed than, for example, an image so there is a limit to the opimality of the result.
I am dealing with both folders of npy files and single npy files alone.
Edit: The .npy files contain hyperspectral images from the Harvard Real World Hyperspectral Image Dataset stacked together