Skip to content

Commit

Permalink
Use vsicurl
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Nov 2, 2023
1 parent 5daae63 commit c3dfd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_stac_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ simple_download <- function(items,
function(asset) {
p(glue::glue("Downloading {asset}"))
signed_items <- maybe_sign_items(items, sign_function)
item_urls <- rstac::assets_url(signed_items, asset)
item_urls <- paste0("/vsicurl/", rstac::assets_url(signed_items, asset))
out_file <- tempfile(fileext = ".tif")
sf::gdal_utils(
"warp",
Expand Down

0 comments on commit c3dfd60

Please sign in to comment.