File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ rsi_download_rasters <- function(items,
135
135
" GDAL warp failed when attempting to merge " ,
136
136
" {length(unlist(feature_iter))} items"
137
137
),
138
- class = " download_warp_error " , parent = e
138
+ class = " rsi_download_warp_error " , parent = e
139
139
)
140
140
}
141
141
@@ -148,7 +148,7 @@ rsi_download_rasters <- function(items,
148
148
149
149
# stop if failure occurs when there is only one item to download.
150
150
if (length(feature_iter ) == 1 ) {
151
- rlang :: abort(err_msg , class = " download_warp_error " , parent = e )
151
+ rlang :: abort(err_msg , class = " rsi_download_warp_error " , parent = e )
152
152
}
153
153
154
154
# warn if failure occurs when multiple items are being downloaded.
Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ get_stac_data <- function(aoi,
472
472
473
473
if (is.null(composite_function )) {
474
474
app <- tryCatch(rstac :: items_datetime(items ), error = function (e ) NA )
475
- app <- gsub(" :" , " " , app )
475
+ app <- gsub(" :" , " " , app ) # #29, #32
476
476
if (any(is.na(app ))) app <- NULL
477
477
app <- app %|| % as.character(seq_along(download_results ))
478
478
app <- make.unique(app , sep = " _" )
You can’t perform that action at this time.
0 commit comments