I'm starting to play with satellite imagery. In particular, I am using images of the Landsat 7 and Python. I Open two images (.TIF) of the same place but at different times to the Numpy arrays and have the problem that they have different shepe.
import numpy as npimport rasteriowith rasterio.open(image1_path) as src: B1_t1 = src.read().astype(read_astype)[0]with rasterio.open(image2_path) as src: B1_t2 = src.read().astype(read_astype)[0]B1_t1.shapeB1_t2.shape#OutPut#>>>(7811, 6951)#>>>(7791, 6941)This two image are from the same path/row.
As I have that correct? Thank you
أكثر...
import numpy as npimport rasteriowith rasterio.open(image1_path) as src: B1_t1 = src.read().astype(read_astype)[0]with rasterio.open(image2_path) as src: B1_t2 = src.read().astype(read_astype)[0]B1_t1.shapeB1_t2.shape#OutPut#>>>(7811, 6951)#>>>(7791, 6941)This two image are from the same path/row.
As I have that correct? Thank you
أكثر...