code: def add_dimension(cls, columns, dimension, dim_pos, values, vdim):
          
          if not vdim:
              raise Exception("Cannot add key dimension to a dense representation.")
          raise NotImplementedError
docs: Adding value dimensions not currently supported by iris interface.
          Adding key dimensions not possible on dense interfaces.