I'm starting to play with satellite imagery. In particular, I am using images of the Landsat 7 and Python. I open two TIF images of the same place but at different times to the
numpy arrays and they have different shapes.
import numpy as np import rasterio with rasterio.open(image1_path) as src: B1_t1 = src.read().astype(read_astype) with rasterio.open(image2_path) as src: B1_t2 = src.read().astype(read_astype) B1_t1.shape B1_t2.shape #OutPut #>>>(7811, 6951) #>>>(7791, 6941)
These two images are from the same path/row.