def METHOD_NAME(self):
    ig = ImageGeometry(10,11,12, channels=3)
    data = ig.allocate(0)
    arr = data.as_array()
    k = 0
    for i in range(data.shape[0]):
        for j in range(data.shape[1]):
            arr[i][j] += k
            k += 1
    data.fill(arr)
    self.cwd = os.getcwd()
    # filename contains brackets to test if previous problems 
    # with use of glob in the tiff reader have been resolved:
    fname = os.path.join(self.cwd, 'test_tiff [0]','myfile.tif')
    self.data_dir = os.path.dirname(fname)
    writer = TIFFWriter(data=data, file_name=fname, counter_offset=0)
    writer.write()
    self.ig = ig
    self.data = data