Open Vierod opened 2 years ago
Thanks Alex, From the stack trace it seems that the sift that is applied on the "corresponding_roi" (line 272), is actually trying to read a tile outside of the image domain that's why rasterio is returning the error
We should fix that.
Is there anything I can do to help? I can't share the actual imagery but I could share something of the same dimensions and the RPC info if required. Specifically it's two sets of three images that overlap, one of the sets is just a small corner of the scene, the other three images are much larger covering most of the scene (maybe like 90%+).
Hi @Vierod, this error usually happens when the input ROI is not entirely contained in the reference input image. Could you please share your input config.json
and the dimensions of the images?
When the tile size is large enough, all tiles intersect the reference image. But with a smaller tile size, you may have a tile that is completely outside of the reference image, and this is what triggers the error.
Get the following error when attempting to process a relatively large area of Pleiades triples (2x 3):
s2p ValueError: Number of columns or rows must be non-negative
Roots back to rasterio/windows.py validate_length_values.
EDIT - Full output:
Happens specifically if I use a lower tile window size, raising the tile size to 2000 fixes it so I'm guessing it might be something to do with empty blocks but unsure. Running fine now but thought I'd raise this, can provide more detail if useful.
Thanks, Alex