class_docstr: A virtual warped dataset.
  
  Abstracts the details of raster warping and allows access to data
  that is reprojected when read.
  
  This class is backed by an in-memory GDAL VRTWarpedDataset VRT file.
  
  Parameters
  ----------
  src_dataset : dataset object
      The warp source.
  src_crs : CRS or str, optional
      Overrides the coordinate reference system of `src_dataset`.
  src_transfrom : Affine, optional
      Overrides the transform of `src_dataset`.
  src_nodata : float, optional
      Overrides the nodata value of `src_dataset`, which is the
      default.
  crs : CRS or str, optional
      The coordinate reference system at the end of the warp
      operation.  Default: the crs of `src_dataset`. dst_crs was
      a deprecated alias for this parameter.
  transform : Affine, optional
      The transform for the virtual dataset. Default: will be
      computed from the attributes of `src_dataset`. dst_transform
      was a deprecated alias for this parameter.
  height, width: int, optional
      The dimensions of the virtual dataset. Defaults: will be
      computed from the attributes of `src_dataset`. dst_height
      and dst_width were deprecated alias for these parameters.
  nodata : float, optional
      Nodata value for the virtual dataset. Default: the nodata
      value of `src_dataset` or 0.0. dst_nodata was a deprecated
      alias for this parameter.
  resampling : Resampling, optional
      Warp resampling algorithm. Default: `Resampling.nearest`.
  tolerance : float, optional
      The maximum error tolerance in input pixels when
      approximating the warp transformation. Default: 0.125,
      or one-eigth of a pixel.
  src_alpha : int, optional
      Index of a source band to use as an alpha band for warping.
  dst_alpha : int, optional
      Index of a destination band to use as an alpha band for warping.
  add_alpha : bool, optional
      Whether to add an alpha masking band to the virtual dataset.
      Default: False. This option will cause deletion of the VRT
      nodata value.
  init_dest_nodata : bool, optional
      Whether or not to initialize output to `nodata`. Default:
      True.
  warp_mem_limit : int, optional
      The warp operation's memory limit in MB. The default (0)
      means 64 MB with GDAL 2.2.
  dtype : str, optional
      The working data type for warp operation and output.
  warp_extras : dict
      GDAL extra warp options. See
      https://gdal.org/doxygen/structGDALWarpOptions.html.
  
  Attributes
  ----------
  src_dataset : dataset
      The dataset object to be virtually warped.
  resampling : int
      One of the values from rasterio.enums.Resampling. The default is
      `Resampling.nearest`.
  tolerance : float
      The maximum error tolerance in input pixels when approximating
      the warp transformation. The default is 0.125.
  src_nodata: int or float, optional
      The source nodata value.  Pixels with this value will not be
      used for interpolation. If not set, it will be default to the
      nodata value of the source image, if available.
  dst_nodata: int or float, optional
      The nodata value used to initialize the destination; it will
      remain in all areas not covered by the reprojected source.
      Defaults to the value of src_nodata, or 0 (gdal default).
  working_dtype : str, optional
      The working data type for warp operation and output.
  warp_extras : dict
      GDAL extra warp options. See
      https://gdal.org/doxygen/structGDALWarpOptions.html.
  
  Examples
  --------
  
  >>> with rasterio.open('tests/data/RGB.byte.tif') as src:
  ...     with WarpedVRT(src, crs='EPSG:3857') as vrt:
  ...         data = vrt.read()
code: def __enter__(self):
      self.start()
      return self
  
file_path: rasterio/rasterio/vrt.py
imports: import xml.etree.ElementTree
  from rasterio._warp import WarpedVRTReaderBase
  from rasterio.dtypes import _gdal_typename
  from rasterio.enums import MaskFlags
  from rasterio._path import _parse_path
  from rasterio.transform import TransformMethodsMixin
  from rasterio.windows import WindowMethodsMixin
label_desc: Use image node_id 2 for calling the WarpedVRT obj's underlying member method code with example usage: obj.__enter__() and returns: self