Skip to content

Commit

Permalink
delete browser()
Browse files Browse the repository at this point in the history
  • Loading branch information
h-a-graham committed Jan 14, 2025
1 parent 22fe07c commit 5d9cbfd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/download.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#' download_function = rsi_download_rasters
#' )
#'
#'
#' @export
rsi_download_rasters <- function(items,
aoi,
Expand Down Expand Up @@ -84,7 +83,7 @@ rsi_download_rasters <- function(items,
# working from the assumption that all downloads take about as long
#
# so if we aren't merging, or if there's more assets than tiles, we'll
# parallelize the outside loop that walks over assets (which, unless the user
# parallelize the outside loop that walks over assets (which, unless the user
# has set up wild nested futures, turns the inside one into a serial process)
asset_iterator <- ifelse(
merge || (n_tiles_out < ncol(download_locations)),
Expand Down Expand Up @@ -129,7 +128,6 @@ rsi_download_rasters <- function(items,
)
},
error = function(e) {
browser()
rlang::warn(
glue::glue(
"Failed to download {items$features[[which_item]]$id %||% 'UNKNOWN'} from {items$features[[which_item]]$properties$datetime %||% 'UNKNOWN'}" # nolint
Expand Down

0 comments on commit 5d9cbfd

Please sign in to comment.