Closed zxdawn closed 8 months ago
import rasterio.transform
rasterio.transform.array_bounds(
width=data.rio.width,
height=data.rio.height,
transform=Affine.from_gdal(*geotransform)
)
(50.5417592, 34.9628291744, 51.21521198984, 35.6568868)
An explanation instead of just a code snippet would be helpful.
Code Sample
Problem description
The output is
Expected Output
The latitude should decrease from 35.6568868.
Environment Information