Skip to content

Commit

Permalink
Merge pull request #364 from OldLipe/hotfix/s2
Browse files Browse the repository at this point in the history
Hotfix duplicate links
  • Loading branch information
OldLipe authored Sep 13, 2021
2 parents b2aab8a + bd26544 commit cf037fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 1 addition & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,4 @@ We are preparing to release the package on CRAN and are making relevant changes

* For programmers only: The `sits_cube.R` file now includes many convenience functions to avoid using cumbersome indexes to files and vector: `.sits_raster_params`, `.sits_cube_all_robjs`, `.sits_class_band_name`, `.sits_cube_bands`, `.sits_cube_service`, `.sits_cube_file`, `.sits_cube_files`, `.sits_cube_labels`, `.sits_cube_timeline`, `.sits_cube_robj`, `.sits_cube_all_robjs`, `.sits_cube_missing_values`, `.sits_cube_minimum_values`, `.sits_cube_maximum_values`, `.sits_cube_scale_factors`, `.sits_files_robj`. Please look at the documentation provided in the `sits_cube.R` file.

* For programmers only: The metadata that describes the data cube no longer stores the raster objects associated to the files associated with the cube.




* For programmers only: The metadata that describes the data cube no longer stores the raster objects associated to the files associated with the cube.
6 changes: 6 additions & 0 deletions R/sits_source_api_stac.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@
)
}) %>% dplyr::arrange(date)

file_info <- dplyr::group_by(file_info, date, band, res) %>%
dplyr::summarise(
path = dplyr::first(path, order_by = path),
.groups = "drop"
)

return(file_info)
}

Expand Down

0 comments on commit cf037fd

Please sign in to comment.