You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calculating X/Y shifts using large panchromatic images. It takes a long time to polygonize and it raises an error.
I checked the progress_mon.py file and it seems that the Timer object still assigns something to the timeout variable despite the default variable being None. This error also happens when I set progress=False.
I created a temporary fix by changing the progress bar code in progress_mon.py to always ignore Timer.timed_out
Thanks for reporting. To be able to reproduce this, I would need some test data.
Possible reasons for a timeout during polygonizing are:
very large input datasets
very complex footprints of the input datasets
nodata value incorrectly set or many nodata pixels within the image footprints
As a workaround, you could set the parameter calc_corners to False when calling the COREG or COREG_LOCAL classes or crop the input datasets to their overlap area.
Description
I'm calculating X/Y shifts using large panchromatic images. It takes a long time to polygonize and it raises an error.
I checked the
progress_mon.py
file and it seems that the Timer object still assigns something to the timeout variable despite the default variable beingNone
. This error also happens when I setprogress=False
.I created a temporary fix by changing the progress bar code in
progress_mon.py
to always ignoreTimer.timed_out
What I Did
The text was updated successfully, but these errors were encountered: