import s3fs
bucket = 'podaac-ops-cumulus-protected'
creds = "<the literal json available at https://archive.podaac.earthdata.nasa.gov/s3credentials>"
s3 = s3fs.S3FileSystem(key=creds['accessKeyId'],
secret=creds['secretAccessKey'],
token=creds['sessionToken'],
client_kwargs={'region_name':'us-west-2'})
s3.ls(bucket)
Last active
February 12, 2025 03:38
-
-
Save mdsumner/cdc33f28708ea0af1008dea54d05ebfa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so next challenge, open this
's3://podaac-ops-cumulus-protected/MUR-JPL-L4-GLOB-v4.1/20020601090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1.nc'
somehow bend these creds into the zarr open virtual parquet that mursst has (in us-west-2)
this does work however (in us-west-2)