Skip to content

Commit

Permalink
improve WORDLIST
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertocamara committed Feb 11, 2025
1 parent 03de83d commit 5d4da68
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Update `crs` usage in `sits_get_data()` to support WKT
* Implement Sakoe-Chiba approximation for DTW algorithm
* Support for tmap version 4.0
* Enhance perfomance and usability in visualization functions
* Enhance performance and usability in visualization functions
* Enhance `sits_classify()` performance with segments classification
* Support for interactive visualization with SOM samples
* General bug fixes
Expand Down
4 changes: 3 additions & 1 deletion R/api_view.R
Original file line number Diff line number Diff line change
Expand Up @@ -652,14 +652,16 @@
id = as.numeric(names(labels)),
cover = unname(labels)
)
levels(rast) <- terra_levels
# get colors only for the available labels
colors <- .colors_get(
labels = labels,
legend = legend,
palette = palette,
rev = TRUE
)
# set the levels and the palette for terra
levels(rast) <- terra_levels
options(terra.pal = unname(colors))
leaflet_colors <- leaflet::colorFactor(
palette = unname(colors),
domain = as.character(names(labels))
Expand Down
2 changes: 1 addition & 1 deletion R/sits_classify.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
#' used for processing. We recommend using as much memory as possible.
#'
#' Parameter \code{exclusion_mask} defines a region that will not be
#' classify. The region can be defined by multiple poygons.
#' classify. The region can be defined by multiple polygons.
#' Use an sf object or a shapefile to define it.
#'
#' When using a GPU for deep learning, \code{gpu_memory} indicates the
Expand Down
37 changes: 37 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ALOS
Amazonia
Aperfeiçoamento
Appel
Appu
Appelhans
Arabie
Atzberger
Expand Down Expand Up @@ -35,12 +36,17 @@ Chebyshev
Chehata
Científico
Citable
Clima
ColorBrewer
Conselho
Conv
Convolutional
Coordenação
CUDA
Cyberinfratructure
DEAFRICA
DEAfrica
DEAUSTRALIA
DEM
DOI
DTW
Expand All @@ -50,6 +56,8 @@ EO
EPSG
EVI
Edzer
EOSTAT
ESA
FAO
FAPESP
FCN
Expand All @@ -61,6 +69,7 @@ Forestier
Fowlkes
Francesco
François
Fua
GDAL
GEOTIFF
GRD
Expand All @@ -87,6 +96,7 @@ Hijmans
Hotfix
IJCNN
IKI
Instituto
ISPRS
ISSN
Idoumghar
Expand Down Expand Up @@ -226,7 +236,9 @@ Ywata
Zhiguang
Zollner
adam
aes
al
analyse
arXiv
arxiv
attr
Expand All @@ -235,13 +247,15 @@ bayes
bayesian
bbox
bboxes
behaviour
biome
bleutner
brazil
brazildatacube
bzip
cauchyturing
cerrado
classe
codecov
colour
colwise
Expand All @@ -255,18 +269,25 @@ csv
cvi
datatypes
de
dem
dev
delim
dfc
dfr
digitalearthafrica
dir
dl
doi
dtw
dtwSat
dtwclust
endmember
endmembers
eScience
eps
et
extdata
eval
fid
fn
frac
Expand All @@ -288,11 +309,13 @@ hotfix
href
http
https
httr
interpolator
io
ir
isprsjprs
iteratively
jair
jss
keras
kohonen
Expand All @@ -317,11 +340,15 @@ memsize
metatype
microsoft
mlp
modelling
modis
mosaicking
msg
mth
multiclass
multilayer
multithread
netrc
ncols
ndvi
neighbourhood
Expand All @@ -335,6 +362,7 @@ oversample
oversampled
parallelization
params
percentual
perceptron
perceptrons
pid
Expand All @@ -346,6 +374,7 @@ probs
programme
proj
psetae
purrr
py
pytorch
randomForest
Expand Down Expand Up @@ -383,22 +412,30 @@ spatio
spatiotemporal
stac
subimage
summarization
supercell
supercells
superpixels
swissdatacube
svm
tapply
tempCNN
tempdir
terra
tibble
tibbles
tif
timeseriesAI
tmap
tsai
tsclust
twdtwApply
twdtwMatches
twdtwTimeSeries
undersample
usgs
visualisation
xgb
wacharasak
wgs
whittaker
Expand Down
Binary file removed inst/extdata/merge/sits_merge.pptx
Binary file not shown.

0 comments on commit 5d4da68

Please sign in to comment.