Closed leiwanglsu closed 1 year ago
The script cannot find any data, and the returned results is NoneType
Opened the download_ned.ipynb in colab Run the code by blocks
leafmap.download_ned(region, return_url=True) {'message': 'Endpoint request timed out'} --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [<ipython-input-6-43b619e56a6c>](https://localhost:8080/#) in <cell line: 1>() ----> 1 leafmap.download_ned(region, return_url=True) 1 frames [/usr/local/lib/python3.10/dist-packages/leafmap/common.py](https://localhost:8080/#) in find_tiles(self, region, return_type, geopandas_args, API) 5497 results = self.find_details(**API) 5498 if return_type == "list": -> 5499 return [i["downloadURL"] for i in results.get("items")] 5500 return results 5501 TypeError: 'NoneType' object is not iterable
Sometimes it is the USGS server issue. I just tried it, and it seems working fine. Try again.
Closing this for now. Feel free to reopen if the issue persists.
Environment Information
Description
The script cannot find any data, and the returned results is NoneType
What I Did
Opened the download_ned.ipynb in colab Run the code by blocks