You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STACInputTask should try to fetch only the relevant data from COG when providing a bounding box. Right now it downloads the whole file.
The simplest would be to leverage the new COG support on GDAL 3.1 and open the COG URLs using rasterio directly.
We could add a cog=True option on the STACInputTask constructor to indicate that it should try to open files directly instead of downloading them. Additionally it could guess if an asset is a COG file by looking up its MIME type (some catalogs include a "profile" attribute).
The text was updated successfully, but these errors were encountered:
STACInputTask should try to fetch only the relevant data from COG when providing a bounding box. Right now it downloads the whole file.
The simplest would be to leverage the new COG support on GDAL 3.1 and open the COG URLs using
rasterio
directly.We could add a
cog=True
option on the STACInputTask constructor to indicate that it should try to open files directly instead of downloading them. Additionally it could guess if an asset is a COG file by looking up its MIME type (some catalogs include a "profile" attribute).The text was updated successfully, but these errors were encountered: