<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="PT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve read a lot of the docs, tried many -co options but can’t get through this mystery.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I can access the data through GMT, which uses GDAL to do this job, but can’t do it with GDAL directly<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">gdalinfo <a href="https://user:pass@lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif">
https://user:pass@lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif</a><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">ERROR 1: HTTP error code : 401<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gdalinfo failed - unable to open 'https://jluis:abaixo0Earthdata@lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif'.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">So passing longin:password via url does not work either. But it does if indirectly used<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">grdinfo <a href="https://user:pass@lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif">
https://user:pass@lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif</a><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: Title: Grid imported via GDAL<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: Command:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: Remark:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: Pixel node registration used [Cartesian grid]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: Grid file format: gd = Import/export through GDAL<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: x_min: 499980 x_max: 609780 x_inc: 30 name: x n_columns: 3660<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: y_min: 4390200 y_max: 4500000 y_inc: 30 name: y n_rows: 3660<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: v_min: -0.0149 v_max: 0.8833 name: z<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif: scale_factor: 0.0001 add_offset: 0 packed z-range: [-149,8833]<o:p></o:p></span></p>
<p class="MsoNormal">+proj=utm +zone=10 +ellps=WGS84 +units=m +no_defs<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Joaquim<o:p></o:p></p>
</div>
</body>
</html>