Closed martingra closed 6 years ago
I too have recently experienced this error with the command line script
You have to ask usgs for a machine to machine access right, if you don't you cannot download from the server. To ask for the rights, send an email to this address: lta@usgs.gov, they will send you a link to a form to fill to get the access.
I keep reciving this error message: AUTH_UNAUTHORIZED: Forbidden - Approved role required for access to 'download' method.
I'm using the following code:
`def landsat(request): path = None # 210 row = None # 50 latitude = -31.345351 longitude = -64.378907 s_date = '2017-11-01' e_date = '2017-12-25' return_scenes = 100 max_cloud_prcnt = 20
In the Downloader constructor, I use the user and pass that I use to login in https://ers.cr.usgs.gov/login/
The user is logged succesfully, but there is an error when trying to donwload data.