Created
April 19, 2021 12:23
-
-
Save scottyhq/c4a4e889b58a0a153dd5fb18bad9f3e8 to your computer and use it in GitHub Desktop.
stackstac with nsidc data
Oh interesting. I bet we could roll generating a temporary netrc file and setting NETRC
into LayeredEnv to handle this for you.
Thanks for this.
Btw, typo - # Gett all the items with gamma0 assets at [8]
Pretty sure lots of people would like you handling the login part!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep, unfortunately https://lpdaac.earthdata.nasa.gov/s3credentials only for LPDAAC-curated datasets, so harmonized landsat-sentinel (HLS) for example. NASA data centers are distributed, not all data is cloud hosted, and servers have different capabilities. Unfortunately the local ~/.netrc is the only way to get GDAL /vsicurl/ to get at a lot of this data. So that file would have to be created on distributed workers for now. Related discussion: https://discourse.pangeo.io/t/earthdata-password-pop-up-box/1358