-
-
Save scottyhq/c4a4e889b58a0a153dd5fb18bad9f3e8 to your computer and use it in GitHub Desktop.
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
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!
Did you see rmg55/CloudDAAC_Binders#1 (comment)? Might be a helpful example of how to get these credentials loaded on distributed clusters.