<div dir="ltr">Hello,<div><br></div><div>I'm having trouble reading JP2K files remotely. I originally ran into this problem when trying to use remote Sentinel-2 files as input to the GDAL Warp API in C++. It works when I use a local version of the file.</div><div><br></div><div>I'm not sure if this is supported behavior, I thought it was, but to test I tried gdal_translate on a remote file, and one with the local file.</div><div><br></div><div>$ gdal_translate <a href="https://sentinel-s2-l1c.s3.amazonaws.com/tiles/32/T/QR/2018/1/21/0/B04.jp2">https://sentinel-s2-l1c.s3.amazonaws.com/tiles/32/T/QR/2018/1/21/0/B04.jp2</a> sentinel-test-remote.tif -f GTiff</div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">$ gdal_translate B03.jp2 sentinel-test-local.tif -f GTiff</span><br></div><div><br></div><div>The local file works fine, but when using the remote file gdal_translate just crashes with no error message.</div><div><br></div><div>I'm using GDAL 2.3.1 with openjpeg 2.3, I'm using a docker image developmentseed/geolambda:1.0.0 and you can see the Dockerfile here:</div><div><br></div><div><a href="https://github.com/developmentseed/geolambda/blob/master/Dockerfile">https://github.com/developmentseed/geolambda/blob/master/Dockerfile</a><br></div><div><br></div><div>Is this supported behavior, should I be able to read these files remotely, and do windowed reads on them?</div><div><br></div><div>matt</div><div><br></div></div>