GithubHelp home page GithubHelp logo

andolg / satellite-imagery-downloader Goto Github PK

View Code? Open in Web Editor NEW
50.0 3.0 10.0 19.07 MB

A Python program for downloading satellite imagery by geographic coordinates

License: MIT License

Python 100.00%
google-maps maps mercator python requests

satellite-imagery-downloader's People

Contributors

andolg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

satellite-imagery-downloader's Issues

Issue on image_downloading line 90

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/satellite-imagery-downloader/src/image_downloading.py", line 90, in build_row
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
ValueError: could not broadcast input array from shape (1,1,3) into shape (1,1,4)
Saved as img_20230327151245.png

Scale and pixels to meters

Hi,
Thanks for your contribution. I wanted to know whether there is any method to get the pixels to meters ratio in these rectangular images?

image issue

hello, i hope you all doing great, i've encountered an issue with the code, all i did was testing the code with those parameters and got this error :

Enter "r" to reset or "q" to exit.
Top-left corner: 33.59115602924501, -7.6716048485970125
Bottom-right corner: 33.586008053283976, -7.664738393615242
Zoom level: 1
Traceback (most recent call last):
File "c:\Users\AHMED MRABET\Downloads\satellite-imagery-downloader-main\satellite-imagery-downloader-main\src\main.py", line 86, in
run()
File "c:\Users\AHMED MRABET\Downloads\satellite-imagery-downloader-main\satellite-imagery-downloader-main\src\main.py", line 81, in run
cv2.imwrite(os.path.join(prefs['dir'], name), img)
cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp:799: error: (-215:Assertion failed) !_img.empty() in function 'cv::imwrite'

Not able to download a specific request image

Top-left corner: 38.49340041300801, 34.41634574663586
Bottom-right corner: 33.090940428830905, 41.067412310793216
Zoom level: 12

error:

Exception in thread Thread-59 (build_row):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Exception in thread Thread-65 (build_row):
Exception in thread Thread-62 (build_row):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Exception in thread Thread-67 (build_row):
Exception in thread Thread-61 (build_row):
Traceback (most recent call last):
Exception in thread Thread-73 (build_row):
self.run()
Exception in thread Thread-66 (build_row):
Exception in thread Thread-74 (build_row):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Exception in thread Thread-77 (build_row):
Traceback (most recent call last):
Exception in thread Thread-76 (build_row):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
Traceback (most recent call last):
Exception in thread Thread-58 (build_row):
Exception in thread Thread-60 (build_row):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Exception in thread Thread-64 (build_row):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Traceback (most recent call last):
Exception in thread Thread-71 (build_row):
Exception in thread Thread-63 (build_row):
Traceback (most recent call last):
self.run()
self.run()
Exception in thread Thread-69 (build_row):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Exception in thread Thread-75 (build_row):
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Traceback (most recent call last):
self.run()
Exception in thread Thread-70 (build_row):
Exception in thread Thread-72 (build_row):
Traceback (most recent call last):
Traceback (most recent call last):
self._target(*self._args, **self._kwargs)
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Traceback (most recent call last):
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
Traceback (most recent call last):
Exception in thread Thread-68 (build_row):
self.run()
self.run()
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self._target(*self._args, **self._kwargs)
self.run()
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
Exception in thread Thread-51 (build_row):
self.run()
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
Traceback (most recent call last):
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
Exception in thread Thread-33 (build_row):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
TypeError: 'NoneType' object is not subscriptable
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
Exception in thread Thread-52 (build_row):
Exception in thread Thread-36 (build_row):
Exception in thread Thread-50 (build_row):
Exception in thread Thread-34 (build_row):
Exception in thread Thread-53 (build_row):
Exception in thread Thread-30 (build_row):
Exception in thread Thread-57 (build_row):
self._target(*self._args, **self._kwargs)
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
self.run()
Exception in thread Thread-56 (build_row):
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Exception in thread Thread-35 (build_row):
Traceback (most recent call last):
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
Exception in thread Thread-55 (build_row):
Traceback (most recent call last):
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception in thread Thread-31 (build_row):
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
Traceback (most recent call last):
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
Traceback (most recent call last):
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
self._target(*self._args, **self._kwargs)
self.run()
Exception in thread Thread-37 (build_row):
self._target(*self._args, **self._kwargs)
Exception in thread Thread-32 (build_row):
Traceback (most recent call last):
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
Exception in thread Thread-38 (build_row):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
Traceback (most recent call last):
Exception in thread Thread-54 (build_row):
self._target(*self._args, **self._kwargs)
Traceback (most recent call last):
self.run()
self.run()
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
self._target(*self._args, **self._kwargs)
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
Traceback (most recent call last):
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
Traceback (most recent call last):
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
TypeError: 'NoneType' object is not subscriptable
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
self.run()
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
self.run()
self.run()
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
TypeError: 'NoneType' object is not subscriptable
self.run()
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.run()
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
TypeError: 'NoneType' object is not subscriptable
self.run()
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
TypeError: 'NoneType' object is not subscriptable
self._target(*self._args, **self._kwargs)
TypeError: 'NoneType' object is not subscriptable
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self.run()
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
self._target(*self._args, **self._kwargs)
TypeError: 'NoneType' object is not subscriptable
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
TypeError: 'NoneType' object is not subscriptable
self._target(*self._args, **self._kwargs)
TypeError: 'NoneType' object is not subscriptable
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
self.run()
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
TypeError: 'NoneType' object is not subscriptable
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._target(*self._args, **self._kwargs)
self.run()
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
TypeError: 'NoneType' object is not subscriptable
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
Traceback (most recent call last):
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._target(*self._args, **self._kwargs)
TypeError: 'NoneType' object is not subscriptable
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.run()
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
self.run()
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
TypeError: 'NoneType' object is not subscriptable
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
TypeError: 'NoneType' object is not subscriptable
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
self._target(*self._args, **self._kwargs)
File "C:\Users\iamhe\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
TypeError: 'NoneType' object is not subscriptable
TypeError: 'NoneType' object is not subscriptable
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
TypeError: 'NoneType' object is not subscriptable
TypeError: 'NoneType' object is not subscriptable
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
File "e:\Fall 23\DS549 Sparl ML\satellite-imagery-downloader\src\image_downloading.py", line 90, in build_row
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
img[i_y_l:i_y_r, i_x_l:i_x_r] = tile[cr_y_l:cr_y_r, cr_x_l:cr_x_r]
TypeError: 'NoneType' object is not subscriptable
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
TypeError: 'NoneType' object is not subscriptable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.