def METHOD_NAME():
    p = datasets.PyCMDS.wm_w2_w1_000
    a = wt.data.from_PyCMDS(p)
    a.create_channel(name="complex", values=np.complex128(a.channels[0][:]), dtype=np.complex128)
    split = a.split(0, [19700], units="wn")
    assert len(split) == 2
    assert split[0].shape == (14, 11, 11)
    assert split[1].shape == (21, 11, 11)
    assert split[0].complex[:].dtype == np.complex128
    assert a.units == split[0].units
    a.close()
    split.close()