e-sensing / sits

Satellite image time series in R

Home Page:https://e-sensing.github.io/sitsbook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when regularizing S1 Cube

gilbertocamara opened this issue · comments

Describe the bug
When trying to regularize an S1 cube, sits produces an errror.

To Reproduce

cube_s1 <-  sits_cube(
    source = "MPC",
    collection = "SENTINEL-1-GRD",
    bands = c("VV", "VH"),
    orbit = "descending",
    roi = c(lat_max = 3.619058, lon_max = -74.01153, lat_min = 2.625301, lon_min = -75.00018),
    start_date = "2023-03-01",
    end_date = "2023-09-30"
)

cube_s1_regular <- sits_regularize(
    cube = cube_s1,
    period = "P16D",
    res = 60,
    roi = c(lat_max = 3.619058, lon_max = -74.01153, lat_min = 2.625301, lon_min = -75.00018),
    output_dir = "~/SAR-Colombia/",
    multicores = 16
)
% Error in tapply(fi, groups, list) : arguments must have same length