class_docstr: Mixin providing methods for window-related calculations.
  These methods are wrappers for the functionality in
  `rasterio.windows` module.
  
  A subclass with this mixin MUST provide the following
  properties: `transform`, `height` and `width`.
class_docstr_tok: ["Mixin","providing","methods","for","window-related","calculations",".","These","methods","are","wrappers","for","the","functionality","in","`","rasterio.windows","`","module",".","A","subclass","with","this","mixin","MUST","provide","the","following","properties",":","`","transform","`",",","`","height","`","and","`","width","`","."]
docstr: Get the window corresponding to the bounding coordinates.
  
  The resulting window is not cropped to the row and column
  limits of the dataset.
  
  Parameters
  ----------
  left: float
      Left (west) bounding coordinate
  bottom: float
      Bottom (south) bounding coordinate
  right: float
      Right (east) bounding coordinate
  top: float
      Top (north) bounding coordinate
  precision: int, optional
      This parameter is unused, deprecated in rasterio 1.3.0, and
      will be removed in version 2.0.0.
  
  Returns
  -------
  window: Window
docstr_tok: ["Get","the","window","corresponding","to","the","bounding","coordinates",".","The","resulting","window","is","not","cropped","to","the","row","and","column","limits","of","the","dataset",".","Parameters","--","--","--","--","--","left",":","float","Left","(","west",")","bounding","coordinate","bottom",":","float","Bottom","(","south",")","bounding","coordinate","right",":","float","Right","(","east",")","bounding","coordinate","top",":","float","Top","(","north",")","bounding","coordinate","precision",":","int",",","optional","This","parameter","is","unused",",","deprecated","in","rasterio","1.3.0",",","and","will","be","removed","in","version","2.0.0",".","Returns","--","--","--","-","window",":","Window"]
code: def window(self, left, bottom, right, top, precision=None):
      """Get the window corresponding to the bounding coordinates.
  
      The resulting window is not cropped to the row and column
      limits of the dataset.
  
      Parameters
      ----------
      left: float
          Left (west) bounding coordinate
      bottom: float
          Bottom (south) bounding coordinate
      right: float
          Right (east) bounding coordinate
      top: float
          Top (north) bounding coordinate
      precision: int, optional
          This parameter is unused, deprecated in rasterio 1.3.0, and
          will be removed in version 2.0.0.
  
      Returns
      -------
      window: Window
  
      """
      if precision is not None:
          warnings.warn(
              "The precision parameter is unused, deprecated, and will be removed in 2.0.0.",
              RasterioDeprecationWarning,
          )
  
      return from_bounds(
          left,
          bottom,
          right,
          top,
          transform=guard_transform(self.transform),
      )
  
imports: import collections
  from collections.abc import Iterable
  import functools
  import math
  import warnings
  from affine import Affine
  import attr
  import numpy
  from rasterio.errors import WindowError, RasterioDeprecationWarning
  from rasterio.transform import rowcol, guard_transform
label_desc: Use image node_id 1 for calling the WindowMethodsMixin obj's underlying member method code with example usage: obj.window(left, bottom, right, top, precision) and returns: from_bounds