Rasterio has many windows utilities methods that could be useful also for this project
The ones that comes first in mind are:
from_bounds: could be a class methods Window.from_bounds(bounds, transform)
bounds: could be a method Window(...).bounds(transform: affine.Affine)
Ref: https://github.com/rasterio/rasterio/blob/main/rasterio/windows.py
Rasterio has many
windowsutilities methods that could be useful also for this projectThe ones that comes first in mind are:
from_bounds: could be a class methodsWindow.from_bounds(bounds, transform)bounds: could be a methodWindow(...).bounds(transform: affine.Affine)Ref: https://github.com/rasterio/rasterio/blob/main/rasterio/windows.py