class_docstr: A read-only BytesIO-like object backed by an in-memory zip file.
  
  This allows a zip file containing formatted files to be read
  without I/O.
docstr: Open a dataset within the zipped stream.
  
  Parameters
  ----------
  path : str
      Path to a dataset in the zip file, relative to the root of the
      archive.
  
  Other parameters are optional and have the same semantics as the
  parameters of `rasterio.open()`.
  
  Returns
  -------
  A Rasterio dataset object
docstr_tok: ["Open","a","dataset","within","the","zipped","stream",".","Parameters","--","--","--","--","--","path",":","str","Path","to","a","dataset","in","the","zip","file",",","relative","to","the","root","of","the","archive",".","Other","parameters","are","optional","and","have","the","same","semantics","as","the","parameters","of","`","rasterio.open","(",")","`",".","Returns","--","--","--","-","A","Rasterio","dataset","object"]
code: def open(self, path, driver=None, sharing=False, **kwargs):
      """Open a dataset within the zipped stream.
  
      Parameters
      ----------
      path : str
          Path to a dataset in the zip file, relative to the root of the
          archive.
  
      Other parameters are optional and have the same semantics as the
      parameters of `rasterio.open()`.
  
      Returns
      -------
      A Rasterio dataset object
      """
      zippath = _UnparsedPath(
          "/vsizip{0}/{1}".format(self.name, path.lstrip("/"))
      )
  
      if self.closed:
          raise ValueError("I/O operation on closed file.")
      return DatasetReader(
          zippath, driver=driver, sharing=sharing, **kwargs
      )
  
imports: import logging
  import warnings
  from rasterio._base import get_dataset_driver, driver_can_create, driver_can_create_copy
  from rasterio._io import DatasetReaderBase, DatasetWriterBase, BufferedDatasetWriterBase, MemoryFileBase
  from rasterio.windows import WindowMethodsMixin
  from rasterio.env import ensure_env
  from rasterio.errors import RasterioDeprecationWarning
  from rasterio.transform import TransformMethodsMixin
  from rasterio._path import _UnparsedPath
label_desc: Use image node_id 2 for calling the ZipMemoryFile obj's underlying member method code with example usage: obj.open(path, driver, sharing) and returns: DatasetReader