Open paugalles opened 3 months ago
@paugalles,
Are you running the code from an environment running in AWS us-west-2
?
That was in my local machine. I see that I will need to run that in a aws instance, correct? Is there anyway to run it in a local machine?
Yes, you do need to be in an AWS instance in us-west-2
to run that particular script. If you are looking to do a straight download of the data from the archive, I'd recommend using the earthaccess
package for Python. The repo and the documentation page have some examples to get you started.
ok, thanks for the info. I will close the issue
Is there any way to run this from outside an AWS instance? any way at all? Thanks for your help
Yes, you would use the HTTPS links rather than the S3 links. You can use earthaccess
for that too. This resource should help > https://github.com/CU-ESIIL/HYR-SENSE/blob/main/notebooks/how_to/earthaccess_Introduction.ipynb
I am trying to execute the download with boto3 notebook:
https://github.com/nasa/LPDAAC-Data-Resources/blob/main/python/how-tos/Earthdata_Cloud__Download_file_from_S3.ipynb
I successfuly login with my earthdata username and password and I also get the temporary credentials for aws. But when I execute
client.download_file
I get the following error:what am I missing?