def dBZtoRR_lut(dbz,lut):
    """ Convert dBZ to rate using look-up table.

    Keyword arguments:
    dbz -- dBZ field
    lut -- look-up table for dBZ - rate conversion

    Return:
    rr -- rain rate

    """

    rr=lut[dbz]
    return rr