I found a solution in the meantime, so no need to reply anymore: Using gdalmdimtranslate with the -array flag to select the group and array as e.g. “/geolocation_data/longitude” downloads the array and nothing else (bytes transferred around 80MB). Regards, Bert From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> on behalf of bcoerver--- via gdal-dev <gdal-dev@lists.osgeo.org> Hi Even, Thanks for you response. Is there any way to disable this automatic sampling of the latitude and longitude subdatasets? The file I’m accessing is 182.2MB in size, when I download one of its subdatasets using gdal_translate I can see on my network that the process transfers roughly the same amount (176Mbytes received according to Mac’s activity monitor) I’m interested in accessing the latitude and longitude subdatasets, so opening these two subdatasets would already result in about 350MB transferred… Also, when I run gdal_translate to download the file using the -sds flag, the data transferred greatly exceeds the total file size, it seems like the lat/lon subdatasets get re-downloaded for each of the subdatasets in the file. Regards, Bert From: Even Rouault <even.roua...@spatialys.com> Le 21/07/2023 à 11:46, b.coer...@mailbox.org a écrit :
The second product has georeferencing information, and upon opening of one of its subsdataset, GDAL samples the latitude and longitude arrays to expose ground control points, hence it reads those arrays.
-- http://www.spatialys.com My software is free, but my time generally not. |
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev