It would be great to support these optional header fields according to ENVI documentation: http://www.exelisvis.com/docs/EnterOptionalHeaderInformation.html#Set3 It's not going to be easy with the current memmap implementation.