Protect against omitted "header offset" keyword in header and assign default 0
Protect against omitted "header offset" keyword in header and assign default 0

Some ENVI header omits the "header offset" keyword entirely assuming default (0).
This  way "header offset"  existence is checked, when not found assign default (0).
spectralpython/spectral