Unable to access HLSS30.020 on aws s3

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
LP DAAC - afriesz
Subject Matter Expert
Subject Matter Expert
Posts: 54
Joined: Tue Nov 12, 2019 4:02 pm America/New_York
Answers: 1
Been thanked: 1 time

Re: Unable to access HLSS30.020 on aws s3

by LP DAAC - afriesz » Fri Jun 09, 2023 4:55 pm America/New_York

Hey All,

For those having issues with boto3 in Python when trying to download from and list objects in S3, please make sure you check the following:
1. Make sure you are working from an cloud compute instance running in AWS us-west-2
2. Make sure your credentials are not expired. Temporary S3 credentials are only valid for 1 hour.
3. Make sure to include the "Prefix" option in the download and list objects methods from boto3. Please refer to the following resources: https://github.com/nasa/LPDAAC-Data-Resources/blob/main/python/how-tos/Earthdata_Cloud__Download_file_from_S3.ipynb & https://github.com/nasa/LPDAAC-Data-Resources/blob/main/python/how-tos/Earthdata_Cloud__List_bucket_objects.ipynb


Post Reply