Skip to content

Commit 4dad1a6

Browse files
Merge branch 'dev' of https://github.com/e-sensing/sits into dev
2 parents 4985069 + cfdcbe4 commit 4dad1a6

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

R/api_cube.R

+4
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ NULL
314314
return(cube)
315315
}
316316
#' @export
317+
`.cube_adjust_crs.mpc_cube_sentinel-1-rtc` <- function(cube) {
318+
`.cube_adjust_crs.mpc_cube_sentinel-1-grd`(cube)
319+
}
320+
#' @export
317321
.cube_adjust_crs.default <- function(cube) {
318322
return(cube)
319323
}

R/sits_bbox.R

+6
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ sits_bbox.raster_cube <- function(data, crs = "EPSG:4326", as_crs = NULL) {
6767
}
6868
#' @rdname sits_bbox
6969
#' @export
70+
`sits_bbox.mpc_cube_sentinel-1-rtc` <- function(data, crs = "EPSG:4326",
71+
as_crs = NULL) {
72+
`sits_bbox.mpc_cube_sentinel-1-grd`(data, crs = crs, as_crs = as_crs)
73+
}
74+
#' @rdname sits_bbox
75+
#' @export
7076
sits_bbox.tbl_df <- function(data, crs = "EPSG:4326", as_crs = NULL) {
7177
data <- tibble::as_tibble(data)
7278
if (all(.conf("sits_cube_cols") %in% colnames(data))) {

R/sits_regularize.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ sits_regularize.raster_cube <- function(cube, ...,
241241
roi = roi,
242242
tiles = tiles,
243243
multicores = multicores,
244-
progress = progress
244+
progress = progress, ...
245245
)
246246
}
247247
#' @rdname sits_regularize

0 commit comments

Comments
 (0)