Search found 3 matches
- Fri Jun 24, 2022 1:33 am America/New_York
- Forum: Questions/Comments
- Question: Request.get attributes for a function call
- Replies: 1
Request.get attributes for a function call
Hi, I hope anyone can help with the entry names for a request.get() call to the CMR. I want to generate a list of URLs for the chlorophyll-a data of MODIS. An example file name is 'A2016345.L3m_DAY_CHL_chlor_a_4km.nc.' The python code I used in the jupyter notebook is written below: collection_id = ...
- Wed Jun 15, 2022 11:25 pm America/New_York
- Forum: Questions/Comments
- Question: Response 401 using requests.get in Python3.7 and 3.9
- Replies: 1
Re: Response 401 using requests.get in Python3.7 and 3.9
Solved! I was mistaken. The token was invalid even though it hadn't expired. The shorter token generated in the workshop is no longer in the right format. It was short, at about 64 characters, while the new token format has 568 characters. So, I generated the new token on the earthdata website and r...
- Tue Jun 14, 2022 12:41 pm America/New_York
- Forum: Questions/Comments
- Question: Response 401 using requests.get in Python3.7 and 3.9
- Replies: 1
Response 401 using requests.get in Python3.7 and 3.9
Hello, forum! I hope somebody can assist me with this problem. I'm getting response 401 when requesting data in Python on Juptyer. I'm sure my token is correct, and my user name and password in a .netrc file are accurate. I was able to log on to Earthdata without issue. The code I use is as below. F...