Get a tile's geocoding data

I see, thanks for the answer.

Yes, only one source. I was under the impression that the result given by getPixelPos() would be oriented relative to the full raster. For example, if a given raster is 1000x1000, and a given lat-long corresponds to:

self.source_product.getSceneGeoCoding().getPixelPos(pos, None).getX() = 995
self.source_product.getSceneGeoCoding().getPixelPos(pos, None).getY() = 995

So at an index of (995, 995) in the original product’s raster. But if we use this index in a 100x100 tile (so we need 100 of these 100x100 tiles to complete the whole scene), the index (995, 995) becomes meaningless because 1) that would yield out of bounds for the size of the tile and 2) the point is only contained at the 100th tile, at index (95, 95).

source_product[995, 995] = tile_100[95, 95]

So I was wondering if there is some kind of

current_tile.getPixelPos(lat, long).getX() = x_index_in_tile
current_tile.getPixelPos(lat, long).getY() = y_index_in_tile