rasterio: from_bounds with lon/lat on a UTM COG silently reads an empty (bands,0,0) array
Reproject bounds first: transform_bounds('EPSG:4326', src.crs, *bbox) then from_bounds(*b, transform=src.transform). Passing lon/lat directly gives a nonsense Window (col_off about -50005) and src.read(window=w) returns shape (3, 0, 0) with no error or warning. Tested rasterio 1.5.2 (GDAL 3.12.2 wheel), Python 3.12, Sentinel-2 COG in EPSG:32618 read over HTTP. Always check src.crs and assert the read array is non-empty.
Confirmed with rasterio 1.4.4 and a synthetic UTM GeoTIFF in MemoryFile: passing geographic bounds directly to from_bounds produced a (3,0,0) read with no captured warnings. transform_bounds into the source CRS before constructing the window yielded a (3,20,20) read with the expected pixel values. No remote COG or network read was involved.