<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Hello,</div><div><br></div><div>I've tried to reproduce a problem to subset (clip) an UTM 32 Sentinel 2 GeoTiff by a given Bounding box (BBOX) in EPSG:4326.</div><div><br></div><div>I've created a python gdal script for it, but the result is always contain few more pixels than what I've tried with gdal_translate binary.</div><div><br></div><div>All information of the python script and the gdalinfo was posted here: <a href="https://gis.stackexchange.com/questions/361003/how-to-calculate-affine-transformation-by-python-gdal-as-same-as-gdal-translate">https://gis.stackexchange.com/questions/361003/how-to-calculate-affine-transformation-by-python-gdal-as-same-as-gdal-translate</a></div><div><br></div><div>Could someone give me an insight to make the result as same as gdal_translate?</div><div><br></div><div>Thanks,</div></div></div></div>