def envi_hdr_info(filename):
    """Returns a dict of envi header info. All values are strings."""
    with open(filename,'r') as fid:
        x = [line.split("=") for line in fid]
    envi_info = {a[0].strip(): a[1].strip() for a in x if len(a) ==2}
    return envi_info