Skip to content

Commit

Permalink
Merge pull request #545 from e-sensing/dev
Browse files Browse the repository at this point in the history
Release v0.16.0
  • Loading branch information
rolfsimoes authored Jan 14, 2022
2 parents f0879bd + 0fe122d commit 9afa9fa
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 14 deletions.
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

We are preparing to release the package on CRAN and are making relevant changes in the development version.

# What's new in SITS version 0.16.0

### New features in SITS version 0.16.0
* Include `sits_apply()` function to generate new bands from existing ones;
* Improve `sits_accuracy()` function to work with multiple cubes;
* Add band parameter to `sits_view()`
* Introduce `sits_uncertainty()` function to provide uncertainty measure to probability maps;
* Improve `sits_regularize()` by taking least cloud cover by default method to compose images
* Bug fixes;


# What's new in SITS version 0.15.1

### New features in SITS version 0.15.1-1
Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ NULL
#'
#'
#' @docType data
#' @name samples_l8_rondonia_2bands.rda
#' @name samples_l8_rondonia_2bands
#' @keywords datasets
#'
#' @description
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ knitr::opts_chunk$set(

<!-- [![Build Status](https://drone.dpi.inpe.br/api/badges/e-sensing/sits/status.svg)](https://drone.dpi.inpe.br/e-sensing/sits) -->
[![Build Status](https://cloud.drone.io/api/badges/e-sensing/sits/status.svg)](https://cloud.drone.io/e-sensing/sits)
[![codecov](https://codecov.io/gh/e-sensing/sits/branch/master/graph/badge.svg?token=hZxdJgKGcE)](https://codecov.io/gh/e-sensing/sits)
[![codecov](https://codecov.io/gh/e-sensing/sits/branch/dev/graph/badge.svg?token=hZxdJgKGcE)](https://codecov.io/gh/e-sensing/sits)
[![Documentation](https://img.shields.io/badge/docs-online-blueviolet)](https://e-sensing.github.io/sitsbook/)
[![Software Life Cycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
[![Software License](https://img.shields.io/badge/license-GPL--2-green)](https://github.com/e-sensing/sits/blob/master/LICENSE)
Expand Down
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Cubes

[![Build
Status](https://cloud.drone.io/api/badges/e-sensing/sits/status.svg)](https://cloud.drone.io/e-sensing/sits)
[![codecov](https://codecov.io/gh/e-sensing/sits/branch/master/graph/badge.svg?token=hZxdJgKGcE)](https://codecov.io/gh/e-sensing/sits)
[![codecov](https://codecov.io/gh/e-sensing/sits/branch/dev/graph/badge.svg?token=hZxdJgKGcE)](https://codecov.io/gh/e-sensing/sits)
[![Documentation](https://img.shields.io/badge/docs-online-blueviolet)](https://e-sensing.github.io/sitsbook/)
[![Software Life
Cycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
Expand Down Expand Up @@ -87,10 +87,6 @@ devtools::install_github("e-sensing/sits", dependencies = TRUE)
``` r
# load the sits library
library(sits)
#> Using configuration file: /home/sits/R/x86_64-pc-linux-gnu-library/4.1/sits/extdata/config.yml
#> Color configurations found in /home/sits/R/x86_64-pc-linux-gnu-library/4.1/sits/extdata/config_colors.yml
#> To provide additional configurations, create an YAML file and inform its path to environment variable 'SITS_CONFIG_USER_FILE'.
#> Using raster package: terra
#> SITS - satellite image time series analysis.
#> Loaded sits v0.16.0.
#> See ?sits for help, citation("sits") for use in publication.
Expand Down Expand Up @@ -222,12 +218,12 @@ points <- sits_get_data(raster_cube, file = csv_file)
#> All points have been retrieved
# show the time series
points[1:3,]
#> # A tibble: 3 × 7
#> # A tibble: 3 x 7
#> longitude latitude start_date end_date label cube time_series
#> <dbl> <dbl> <date> <date> <chr> <chr> <list>
#> 1 -55.7 -11.8 2013-09-14 2014-08-29 Pasture MOD13Q1-6 <tibble [23 × 3]>
#> 2 -55.6 -11.8 2013-09-14 2014-08-29 Pasture MOD13Q1-6 <tibble [23 × 3]>
#> 3 -55.7 -11.8 2013-09-14 2014-08-29 Forest MOD13Q1-6 <tibble [23 × 3]>
#> 1 -55.7 -11.8 2013-09-14 2014-08-29 Pasture MOD13Q1-6 <tibble [23 x 3]>
#> 2 -55.6 -11.8 2013-09-14 2014-08-29 Pasture MOD13Q1-6 <tibble [23 x 3]>
#> 3 -55.7 -11.8 2013-09-14 2014-08-29 Forest MOD13Q1-6 <tibble [23 x 3]>
```

After a time series has been obtained, it is loaded in a tibble. The
Expand Down
2 changes: 1 addition & 1 deletion man/dot-sits_raster_block_list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified man/figures/README-unnamed-chunk-10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-12-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-13-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-14-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-8-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-9-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions man/samples_l8_rondonia_2bands.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/testthat/test-parallel.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test_that("One-year, multi-core classification in parallel", {
source = "BDC",
collection = "LC8_30_16D_STK-1",
tiles = c("038047"),
bands = c("NDVI", "EVI", "CLOUD"),
bands = c("NDVI", "EVI"),
start_date = "2018-07-12",
end_date = "2019-07-28"
)
Expand All @@ -30,7 +30,7 @@ test_that("One-year, multi-core classification in parallel", {
l8_probs <- sits_classify(l8_cube,
rfor_model,
roi = roi,
memsize = 24,
memsize = 8,
multicores = 2,
output_dir = dir_images)

Expand Down

0 comments on commit 9afa9fa

Please sign in to comment.