Skip to content

Commit

Permalink
Merge pull request #933 from e-sensing/dev
Browse files Browse the repository at this point in the history
Release 1.3.0
  • Loading branch information
gilbertocamara authored Mar 18, 2023
2 parents 1ca1122 + eb18efe commit 009740d
Show file tree
Hide file tree
Showing 229 changed files with 9,154 additions and 8,632 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
LICENSE

^\.github$
^codecov\.yml$
19 changes: 0 additions & 19 deletions .drone.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [dev]
pull_request:
branches: [dev]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
TORCH_INSTALL: 1

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
45 changes: 45 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [master]
pull_request:
branches: [master]

name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
SITS_RUN_TESTS: YES
TORCH_INSTALL: 1

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
needs: coverage

- name: Test coverage
run: |
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
)
shell: Rscript {0}

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
112 changes: 62 additions & 50 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: sits
Type: Package
Version: 1.2.0-3
Version: 1.3.0
Title: Satellite Image Time Series Analysis for Earth Observation 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@gmail.com'),
Expand All @@ -16,22 +16,23 @@ Description: An end-to-end toolkit for land use and land cover classification
using big Earth observation data, based on machine learning methods
applied to satellite image data cubes, as described in Simoes et al (2021) <doi:10.3390/rs13132428>.
Builds regular data cubes from collections in AWS, Microsoft Planetary Computer,
Brazil Data Cube, and Digital Earth Africa using the STAC protocol <https://stacspec.org/>
and the 'gdalcubes' R package <doi:10.3390/data4030092>.
Brazil Data Cube, and Digital Earth Africa using the Spatio-temporal Asset Catalog (STAC)
protocol (<https://stacspec.org/> and the 'gdalcubes' R package
developed by Appel and Pebesma (2019) <doi:10.3390/data4030092>.
Supports visualization methods for images and time series and
smoothing filters for dealing with noisy time series.
Includes functions for quality assessment of training samples using self-organized maps
as presented by Santos et al (2021) <doi:10.1016/j.isprsjprs.2021.04.014>.
Provides machine learning methods including support vector machines,
random forests, extreme gradient boosting, multi-layer perceptrons,
temporal convolutional neural networks <doi:10.3390/rs11050523>,
residual networks <arxiv:1809.04356>, and temporal attention encoders
<arxiv:2007.00586>.
temporal convolutional neural networks proposed by Pelletier et al (2019) <doi:10.3390/rs11050523>,
residual networks by Fawaz et al (2019) <doi:10.1007/s10618-019-00619-1>, and temporal attention encoders
by Garnot and Landrieu (2020) <arXiv:2007.00586>.
Performs efficient classification of big Earth observation data cubes and includes
functions for post-classification smoothing based on Bayesian inference, and
methods for uncertainty assessment. Enables best
practices for estimating area and assessing accuracy of land change as
recommended by Olofsson et al(2014) <doi:10.1016/j.rse.2014.02.015>.
recommended by Olofsson et al (2014) <doi:10.1016/j.rse.2014.02.015>.
Minimum recommended requirements: 16 GB RAM and 4 CPU dual-core.
Encoding: UTF-8
Language: en-US
Expand All @@ -44,7 +45,6 @@ LazyData: true
Imports:
magrittr,
yaml,
data.table (>= 1.13),
dplyr (>= 1.0.0),
gdalUtilities,
grDevices,
Expand All @@ -53,14 +53,14 @@ Imports:
parallel (>= 4.0.5),
purrr (>= 0.3.0),
Rcpp,
rstac (>= 0.9.1-5),
rstac (>= 0.9.2-2),
sf (>= 1.0),
slider (>= 0.2.0),
stats,
terra (>= 1.5-17),
tibble (>= 3.1),
tidyr (>= 1.2.0),
torch (>= 0.7.0),
torch (>= 0.9.0),
utils
Suggests:
caret,
Expand All @@ -75,24 +75,23 @@ Suggests:
ggplot2,
httr,
jsonlite,
kohonen(>= 3.0.11),
kohonen (>= 3.0.11),
leafem (>= 0.2.0),
leaflet (>= 2.1.1),
luz (>= 0.2.0),
luz (>= 0.3.0),
methods,
mgcv,
openxlsx,
randomForest,
randomForestExplainer,
RColorBrewer,
RcppArmadillo (>= 0.11),
scales,
stars (>= 0.5),
stars (>= 0.6),
testthat (>= 3.1.3),
tmap,
torchopt(>= 0.1.2),
tmap (>= 3.3),
torchopt (>= 0.1.2),
xgboost,
zoo
covr
Config/testthat/edition: 3
Config/testthat/parallel: false
Config/testthat/start-first: cube, raster, ml
Expand All @@ -101,6 +100,51 @@ LinkingTo:
RcppArmadillo
RoxygenNote: 7.2.3
Collate:
'api_apply.R'
'api_band.R'
'api_bbox.R'
'api_block.R'
'api_check.R'
'api_combine_predictions.R'
'api_comp.R'
'api_conf.R'
'api_cube.R'
'api_file_info.R'
'api_file.R'
'api_gdal.R'
'api_gdalcubes.R'
'api_model.R'
'api_jobs.R'
'api_label_class.R'
'api_period.R'
'api_point.R'
'api_raster.R'
'api_raster_terra.R'
'api_reclassify.R'
'api_roi.R'
'api_shp.R'
'api_smooth.R'
'api_som.R'
'api_source.R'
'api_source_aws.R'
'api_source_bdc.R'
'api_source_deafrica.R'
'api_source_local.R'
'api_source_mpc.R'
'api_source_sdc.R'
'api_source_stac.R'
'api_source_usgs.R'
'api_space_time_operations.R'
'api_stac.R'
'api_stats.R'
'api_tibble.R'
'api_tile.R'
'api_torch.R'
'api_torch_psetae.R'
'api_tuning.R'
'api_uncertainty.R'
'api_utils.R'
'api_variance.R'
'RcppExports.R'
'data.R'
'pipe.R'
Expand All @@ -110,34 +154,23 @@ Collate:
'sits_active_learning.R'
'sits_bands.R'
'sits_bbox.R'
'sits_block.R'
'sits_chunks.R'
'sits_classification.R'
'sits_classify_ts.R'
'sits_classify_cube.R'
'sits_colors.R'
'sits_combine_predictions.R'
'sits_compare.R'
'sits_config.R'
'sits_csv.R'
'sits_cube.R'
'sits_cube_aux_functions.R'
'sits_cube_copy.R'
'sits_check.R'
'sits_cluster.R'
'sits_debug.R'
'sits_distances.R'
'sits_dt_reference.R'
'sits_factory.R'
'sits_file.R'
'sits_file_info.R'
'sits_filters.R'
'sits_gdalcubes.R'
'sits_geo_dist.R'
'sits_get_data.R'
'sits_imputation.R'
'sits_internals.R'
'sits_jobs.R'
'sits_labels.R'
'sits_label_classification.R'
'sits_lighttae.R'
Expand All @@ -149,41 +182,19 @@ Collate:
'sits_model_export.R'
'sits_parallel.R'
'sits_patterns.R'
'sits_period.R'
'sits_plot.R'
'sits_reclassify.R'
'sits_raster_api.R'
'sits_raster_data.R'
'sits_raster_api_terra.R'
'sits_raster_sub_image.R'
'sits_regularize.R'
'sits_resnet.R'
'sits_roi.R'
'sits_sample_functions.R'
'sits_select.R'
'sits_sf.R'
'sits_shp.R'
'sits_smooth.R'
'sits_som.R'
'sits_source_api.R'
'sits_source_api_aws.R'
'sits_source_api_bdc.R'
'sits_source_api_deafrica.R'
'sits_source_api_local.R'
'sits_source_api_mpc.R'
'sits_source_api_sdc.R'
'sits_source_api_stac.R'
'sits_source_api_usgs.R'
'sits_space_time_operations.R'
'sits_stac.R'
'sits_tae.R'
'sits_tempcnn.R'
'sits_torch_conv1d.R'
'sits_torch_linear.R'
'sits_torch_spatial_encoder.R'
'sits_torch_temporal_attention_encoder.R'
'sits_tibble.R'
'sits_tile_api.R'
'sits_timeline.R'
'sits_train.R'
'sits_tuning.R'
Expand All @@ -192,5 +203,6 @@ Collate:
'sits_validate.R'
'sits_view.R'
'sits_values.R'
'sits_variance.R'
'sits_xlsx.R'
'zzz.R'
Loading

0 comments on commit 009740d

Please sign in to comment.