diff --git a/DESCRIPTION b/DESCRIPTION index 45d2c81ea..34f0d93f4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: sits Type: Package -Version: 0.14.1 +Version: 0.14.1-1 Title: Satellite Image Time Series Analysis for Remote Sensing Data Cubes Authors@R: c(person('Rolf', 'Simoes', role = c('aut'), email = 'rolf.simoes@inpe.br'), person('Gilberto', 'Camara', role = c('aut', 'cre'), email = 'gilberto.camara@inpe.br'), diff --git a/NEWS.md b/NEWS.md index 4439b6348..92deb9b95 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,11 @@ We are preparing to release the package on CRAN and are making relevant changes # What's new in SITS version 0.14.1 + +### New features in SITS version 0.14.1-1 + +* Bug in cube generated by sits_regularize() cannot have "CLOUD" band + ### New features in SITS version 0.14.1 * Implement new function `sits_list_collections()` diff --git a/R/sits_gdalcubes.R b/R/sits_gdalcubes.R index a84dd2421..accfc1ca4 100644 --- a/R/sits_gdalcubes.R +++ b/R/sits_gdalcubes.R @@ -168,6 +168,9 @@ # update nrows and ncols cube[, c("nrows", "ncols")] <- cube_view$space[c("ny", "nx")] + # hot fix remove cloud band + cube$bands[[1]] <- setdiff(cube$bands[[1]], "CLOUD") + return(cube) }