From d1c673b2782d10c1c85774274e3e851c8a2cb693 Mon Sep 17 00:00:00 2001 From: Felipe Carvalho Date: Mon, 27 Sep 2021 15:07:23 +0000 Subject: [PATCH 1/3] closes #393 --- R/sits_gdalcubes.R | 3 +++ 1 file changed, 3 insertions(+) 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) } From 8af6f0fb2c0fc9c39ccc1c40a55fbf618ed521ed Mon Sep 17 00:00:00 2001 From: Felipe Carvalho Date: Mon, 27 Sep 2021 15:10:45 +0000 Subject: [PATCH 2/3] update NEWS --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) 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()` From 68d36b4956edf5da40fb57dae1df13b9d666910c Mon Sep 17 00:00:00 2001 From: Felipe Carvalho Date: Mon, 27 Sep 2021 15:12:04 +0000 Subject: [PATCH 3/3] update DESCRIPTION --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),