-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s2p ValueError: Number of columns or rows must be non-negative - with small tile_size (~<2000) #122
Comments
Thanks Alex, Lines 261 to 276 in ca589ef
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 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
The text was updated successfully, but these errors were encountered: