I am trying to know the geographic coordinates of pixels whose pixel value is known from its corresponding GeoTIFF image/array of interest.
clip = [[[1.0 2.3 3.3 2.4 2.6 2.7 3.4 3.2 3.9]]] [[[3.0 4.3 7.3 2.7 2.6 5.7 3.4 4.2 8.9]]] #interested pixels whose geographic coordinates are needed from their corresponding image. First value from first image and second value from second image... values = (3.2, 2.6)
clip stores all the arrays of interest. The shape of each array of interest/subset image is (1,3,3).
I got stuck here. I am unable to find the geographical coordinates of pixels of interest within these arrays of interest, the pixels of interest are given in
values (1st value for the first array and so on).
The output should be the coordinates of 3.2 from the first array/image and 2.6 from the second array.
# longitude and latitude of points 3.2 from the first image and 2.6 from the second image stored in the "clip". Coordinates = (64.3, 18.6) (97.2, 11.2)