def qpf_interpreter(qpf):
    """
    Interprets a QPF value average estimates

    :param qpf: q06 or q12 value from MOS
    :return: new_p: average estimated precip
    """
    translator = {
        0: 0.0,
        1: 0.05,
        2: 0.15,
        3: 0.35,
        4: 0.75,
        5: 1.5,
        6: 2.5
    }
    try:
        new_p = translator[qpf]
    except KeyError:
        new_p = 0.0
    return new_p