def METHOD_NAME(names):
    out = []
    for buff in buffers:
        name = '{0.name},{0.type}'.format(Channel.from_nds2(buff.channel))
        if name not in names:
            segs = []
        else:
            start = buff.gps_seconds + buff.gps_nanoseconds * 1e-9
            end = start + buff.sample_rate * buff.length
            segs = [(start, end)]
        out.append(nds2_availability(name, segs))
    return out