Just wanted to let you know (in case you didn't already) that there is a deprecation warning:
/home/bota/.local/lib/python3.8/site-packages/spectral/io/envi.py:684: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
fout.write(data.tostring())
Hi!
Just wanted to let you know (in case you didn't already) that there is a deprecation warning:
Cheers Fishy