Quantcast
Channel: Earthdata Forum
Viewing all articles
Browse latest Browse all 1307

Questions/Comments • Re: Errors accessing HLS data

$
0
0
I hear you - GDAL authentication errors are a real pain to debug. Since you can download the file manually, it would be good to check if your VM is properly set up with the required credentials. Please ssh into your VM and execute the following command:

`gdalinfo /vsicurl/https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/HLSS30.020/HLS.S30.T30UXD.2022026T111331.v2.0/HLS.S30.T30UXD.2022026T111331.v2.0.B03.tif --debug ON --config GDAL_HTTP_COOKIEFILE ./cookies.txt --config GDAL_HTTP_COOKIEJAR ./cookies.txt`

If this command fails, the issue likely lies with authentication on the VM, possibly related to your `.netrc` file setup. The debug output should provide more insight into what's going wrong. If the command succeeds, then the issue might be with how your script interacts with the VM's environment.

Statistics: Posted by matthew_cox_omnia — Thu Mar 21, 2024 10:19 am America/New_York



Viewing all articles
Browse latest Browse all 1307

Trending Articles