def _find_calframe(calframes, calpaths, values, calname, verbose=False):
    """ Find the calibration frame and path from given dicts for dict values.
    """
    if calframes is None:
        calpath = None
        calframe = None
    else:
        try:
            calframe = calframes[values]
            calpath = calpaths[values]
        except (KeyError, IndexError):
            calpath = None
            calframe = None
            if verbose:
                print(f"{calname} not found for the combination [{values}]: Skip process.")
    return calframe, calpath