class_docstr: An object to be persisted instead of numpy arrays.
  
  This object store the Zfile filename in which
  the data array has been persisted, and the meta information to
  retrieve it.
  
  The reason that we store the raw buffer data of the array and
  the meta information, rather than array representation routine
  (tostring) is that it enables us to use completely the strided
  model to avoid memory copies (a and a.T store as fast). In
  addition saving the heavy information separately can avoid
  creating large temporary buffers when unpickling data with
  large arrays.
class_docstr_tok: ["An","object","to","be","persisted","instead","of","numpy","arrays",".","This","object","store","the","Zfile","filename","in","which","the","data","array","has","been","persisted",",","and","the","meta","information","to","retrieve","it",".","The","reason","that","we","store","the","raw","buffer","data","of","the","array","and","the","meta","information",",","rather","than","array","representation","routine","(","tostring",")","is","that","it","enables","us","to","use","completely","the","strided","model","to","avoid","memory","copies","(","a","and","a.T","store","as","fast",")",".","In","addition","saving","the","heavy","information","separately","can","avoid","creating","large","temporary","buffers","when","unpickling","data","with","large","arrays","."]
docstr: Reconstruct the array from the meta-information and the z-file
docstr_tok: ["Reconstruct","the","array","from","the","meta-information","and","the","z-file"]
code: def read(self, unpickler):
      "Reconstruct the array from the meta-information and the z-file"
      # Here we a simply reproducing the unpickling mechanism for numpy
      # arrays
      filename = os.path.join(unpickler._dirname, self.filename)
      array = unpickler.np.core.multiarray._reconstruct(*self.init_args)
      data = read_zfile(open(filename, "rb"))
      state = self.state + (data,)
      array.__setstate__(state)
      return array
  
imports: import traceback
  import os
  import zlib
  import warnings
  import dill
  import pickle
  from io import BytesIO
label_desc: Use image node_id 2 for calling the ZNDArrayWrapper obj's underlying member method code with example usage: obj.read(unpickler) and returns: array