Skip to content

Commit

Permalink
closes #393
Browse files Browse the repository at this point in the history
  • Loading branch information
OldLipe committed Sep 27, 2021
1 parent c38eb6f commit d1c673b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/sits_gdalcubes.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit d1c673b

Please sign in to comment.