-
Notifications
You must be signed in to change notification settings - Fork 16
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
skysat_overlap.py stuck at saving bound shapefile #25
Comments
Hi Shirui, Cheers, |
Hi Shashank, Thanks for your prompt reply. I have 14 cores available to be used on my machine. Looking foreword to your new solution with the native rtree algorithm. Cheers, |
Hi Shashank, May I know if you're running this process on a HPC with more cores? Or if you may have any update with using the rtree algorithm to find intersections? I can see that from your code, every two images are paired up with a for loop going through the whole image list to find their intersection with the gpd.overlay() method. Are you proposing to substitute gpd.overlay() with rtree? Will you keep the for loop? Cheers, |
I am sorry for my long silence, I updated the function using rtree for finding intersection, and it produces same results as the earlier function with ~13x improvement in execution wall time. If you installed the package as editable, these should be visible after a git pull. Let me know how it goes, |
Hi Shashank, Sorry for the late reply. Thanks for improving the package, it is much improved now! I'm now at step ba_skysat.py. Running into an error at line 308: I think the reason behind it is that in my case, So I just wanna confirm with you if string like "sc00103" is the img_time you intended to record? My files have names such as "1231553292.98343730_sc00103_c3_PAN_i0000000006". Apologise if the question is trivial! Cheers, |
Hi Shirui, |
Hi Shashank,
Thanks for composing this great tool for processing SkySat data.
I've encountered an issue when running skysat_overlap.py. The number of images I'm processing is 966. I understand this will generate 466095 combinations. When the script is saving the bound shapefile to my predefined directory. It is extremely slow in processing and always gets stuck during the process (usually stopped at 3% - 5%). I've tried changing the directory, but the issue remained unsolved.
I'm just wondering if there is any solution in your mind that can resolve this issue?
Cheers,
Shirui
The text was updated successfully, but these errors were encountered: