def toNPZ ( self ):
    try:
      # Create the compressed cube
      fileobj = cStringIO.StringIO ()
      np.save ( fileobj, self.data )
      return  zlib.compress (fileobj.getvalue())
    except:
      logger.error ("Failed to compress database cube.  Data integrity concern.")
      raise
>>> parse_date_string('2013-01-03T11:27:06.045000Z')
dataset/ETHPy150Open neurodata/ndstore/ocpca/cube.py/Cube.toNPZ--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchexport/properties.py/parse_date_string