def from_array3D(filename, data, iline=189,
                                 xline=193,
                                 format=SegySampleFormat.IBM_FLOAT_4_BYTE,
                                 dt=4000,
                                 delrt=0):
    data = np.asarray(data)
    dimensions = len(data.shape)
    if dimensions != 3:
        problem = "Expected 3 dimensions, {} was given".format(dimensions)
        raise ValueError(problem)
    from_array(filename, data, iline=iline, xline=xline, format=format,
                                                         dt=dt,
                                                         delrt=delrt)