def fromNPZ ( self, pandz ):
    try:
      self.data = np.load ( cStringIO.StringIO ( zlib.decompress ( pandz[:] ) ) )
      self.zdim, self.ydim, self.xdim = self.data.shape

    except:
      logger.error ("Failed to decompress database cube.  Data integrity concern.")
      raise

    self._newcube = False
Utility method for printing warning/error messages
dataset/ETHPy150Open neurodata/ndstore/ocpca/cube.py/Cube.fromNPZ--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/coreobj.py/PyCoreObj.warn