def postNPZ (p, post_data, time=False):
  
  # Build the url and then create a npz object
  if time:
    url = 'http://{}/ca/{}/{}/npz/{}/{},{}/{},{}/{},{}/{},{}/'.format ( SITE_HOST, p.token, ','.join(p.channels), p.resolution, *p.args )
  elif p.channels is not None:
    url = 'http://{}/ca/{}/{}/npz/{}/{},{}/{},{}/{},{}/'.format ( SITE_HOST, p.token, ','.join(p.channels), p.resolution, *p.args )
  elif p.channels is None:
    url = 'http://{}/ca/{}/npz/{}/{},{}/{},{}/{},{}/'.format ( SITE_HOST, p.token, p.resolution, *p.args )

  fileobj = cStringIO.StringIO ()
  np.save (fileobj, post_data)
  cdz = zlib.compress (fileobj.getvalue())
  
  try:
    # Build a post request
    req = urllib2.Request(url,cdz)
    response = urllib2.urlopen(req)
    return response
  except urllib2.HTTPError,e:
    return e
Destroy the JobExecution or raise if it does not exist.
dataset/ETHPy150Open neurodata/ndstore/test/postmethods.py/postNPZ--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/conductor/manager.py/ConductorManager.job_execution_destroy