- User Services
- Posts: 154
- Joined: Wed Sep 25, 2019 9:35 am America/New_York
- Been thanked: 1 time
The 'requests' section of this how-to demonstrates downloading granules with requests: https://disc.gsfc.nasa.gov/information/howto?keywords=requests&title=How%20to%20Access%20GES%20DISC%20Data%20Using%20Python
However, the 401 error is most likely caused by missing credential files inside the Colab environment. There is a Python code in this how-to that generates those as well: https://disc.gsfc.nasa.gov/information/howto?title=How%20to%20Generate%20Earthdata%20Prerequisite%20Files
Hope this helps.