code: def dimensions(self, dims):
          
          nx, ny, nz = dims[0], dims[1], dims[2]
          self.SetDimensions(nx, ny, nz)
          self.Modified()
docs: Sets the dataset dimensions. Pass a length three tuple of integers