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 have downloaded MOD17A2H data successfully until Oct 2nd following the example described by modis-tools. However, now it raises the following error, both for this dataset and the example Nigeria MOD13A2 tiles, both on a server as well as on my desktop computer:
Traceback (most recent call last):
File "..\miniforge3\envs\gedi\Lib\site-packages\modis_tools\resources.py", line 117, in query
feed = resp.json()["feed"]
~~~~~~~~~~~^^^^^^^^
KeyError: 'feed'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "..\modis_tools_exmaple_script.py", line 23, in
GranuleHandler.download_from_granules(nigeria_granules, session)
File "..miniforge3\envs\gedi\Lib\site-packages\modis_tools\granule_handler.py", line 56, in download_from_granules
urls = [cls.get_url_from_granule(x, ext) for x in granules]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..\miniforge3\envs\gedi\Lib\site-packages\modis_tools\resources.py", line 120, in query
raise Exception("Can't read response") from err
Exception: Can't read response
This is the script I used:
I am working on Windows with miniforge
I would appreciate any help. Thank you very much.
The text was updated successfully, but these errors were encountered:
I have downloaded MOD17A2H data successfully until Oct 2nd following the example described by modis-tools. However, now it raises the following error, both for this dataset and the example Nigeria MOD13A2 tiles, both on a server as well as on my desktop computer:
Traceback (most recent call last):
File "..\miniforge3\envs\gedi\Lib\site-packages\modis_tools\resources.py", line 117, in query
feed = resp.json()["feed"]
~~~~~~~~~~~^^^^^^^^
KeyError: 'feed'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "..\modis_tools_exmaple_script.py", line 23, in
GranuleHandler.download_from_granules(nigeria_granules, session)
File "..miniforge3\envs\gedi\Lib\site-packages\modis_tools\granule_handler.py", line 56, in download_from_granules
urls = [cls.get_url_from_granule(x, ext) for x in granules]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..\miniforge3\envs\gedi\Lib\site-packages\modis_tools\resources.py", line 120, in query
raise Exception("Can't read response") from err
Exception: Can't read response
This is the script I used:

I am working on Windows with miniforge

I would appreciate any help. Thank you very much.
The text was updated successfully, but these errors were encountered: