def parse_dao_hdr(hdr, val, line_prefix=''):
    """
    creates dao header dict form two lines of file header
    :param str hdr: first line
    :param str val: second line
    :param line_prefix: expected line prefix
    :return: dict with dao header compatible with StarList.DAO_header
    """
    hdr = hdr[len(line_prefix):]
    val = val[len(line_prefix):]
    return dict(zip(hdr.split(), val.split()))
