Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-release v0.15.0 #431

Merged
merged 142 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
586e1dc
Fix #397
rolfsimoes Sep 29, 2021
c60281e
update sits_source_api_stac
rolfsimoes Sep 29, 2021
fec215c
update .sits_tibble_test
rolfsimoes Sep 29, 2021
3a6e4ae
code style
rolfsimoes Sep 29, 2021
bcfc292
update .config_data_meta_type
rolfsimoes Sep 29, 2021
8066fbb
update sits_bbox
rolfsimoes Sep 29, 2021
fe62106
update sits_classify
rolfsimoes Sep 29, 2021
fa1ca74
update .sits_cube_create
rolfsimoes Sep 29, 2021
cdbaf76
fixed demos classify_raster_svm and classify_raster_xgb
gilbertocamara Sep 29, 2021
66df177
Closes #400
gilbertocamara Sep 30, 2021
596fb22
Closes #401
gilbertocamara Sep 30, 2021
ca23c57
Closes #401
gilbertocamara Sep 30, 2021
bab2111
closes #402
OldLipe Sep 30, 2021
577629b
update on sits_plot documentation
gilbertocamara Sep 30, 2021
c385010
Merge branch 'dev' of https://github.com/e-sensing/sits into dev
rolfsimoes Oct 1, 2021
bf01b9d
update test message
rolfsimoes Oct 2, 2021
e50252e
update PROBS band name to uppercase
rolfsimoes Oct 2, 2021
9d78eda
remove 'OPENDATA' source
rolfsimoes Oct 2, 2021
452a35c
remove 'OPENDATA' source
rolfsimoes Oct 2, 2021
d769e0e
change aws key to access_vars
rolfsimoes Oct 2, 2021
732a0b7
remove 'OPENDATA' source and add an open_data key
rolfsimoes Oct 2, 2021
3a9a132
support open_data check for AWS
rolfsimoes Oct 2, 2021
e93b17e
code style
rolfsimoes Oct 2, 2021
84c45d4
update error messages and add support to check file extensions
rolfsimoes Oct 2, 2021
13e92e8
support collection level S3 class
rolfsimoes Oct 2, 2021
7d7f2f6
update documentation on open data modifications
rolfsimoes Oct 2, 2021
7a2e87a
add default agg_method and resampling parameter values
rolfsimoes Oct 2, 2021
56ac409
update documentation on .check_chr_within and .check_chr_contain
rolfsimoes Oct 2, 2021
89512a8
add can_repeat parameter in .check_chr_within and .check_chr_contain
rolfsimoes Oct 2, 2021
f4d8270
change .check_chr_within to .check_chr_contains
rolfsimoes Oct 2, 2021
dbf32a6
update cube S3 class to sits_cube
rolfsimoes Oct 2, 2021
bde21e6
update default collection names to uppercase
rolfsimoes Oct 2, 2021
47c55a4
remove satellite and sensor parameters from sits_cube.probs_cube func…
rolfsimoes Oct 2, 2021
ac2dccb
remove .check_collection function (duplicated)
rolfsimoes Oct 2, 2021
5606950
code style
rolfsimoes Oct 2, 2021
e1eb083
add .cube_bands_check function to check bands in a cube
rolfsimoes Oct 2, 2021
aabb371
add .cube_check function to check for cube s3 class
rolfsimoes Oct 2, 2021
6b2fb3a
remove satellite and sensor parameter from sits_cube.probs_cube
rolfsimoes Oct 2, 2021
e04d3ac
change .check_chr_within to .check_chr_contains
rolfsimoes Oct 2, 2021
8dcc553
replace .check_collection to .source_collection_check function
rolfsimoes Oct 2, 2021
4bb34ef
update default collection to uppercase
rolfsimoes Oct 2, 2021
afe617c
remove .cube_band_resampling function
rolfsimoes Oct 2, 2021
322ab78
update cube s3 class functions
rolfsimoes Oct 2, 2021
eb2595b
code style
rolfsimoes Oct 2, 2021
196e387
replace class definition to .cube_s3class function
rolfsimoes Oct 2, 2021
c63e157
add support to s3 class functions on collection level
rolfsimoes Oct 2, 2021
2809a7a
replace direct access to object members by function accessors
rolfsimoes Oct 2, 2021
11a0d7f
replace .check_chr_within by .check_chr_contains
rolfsimoes Oct 2, 2021
3ddf3d1
remove .sits_cube_bands_check (duplicated) and improve code style
rolfsimoes Oct 2, 2021
ac6da1d
replace .sits_cube_clone by .sits_cube_create function
rolfsimoes Oct 2, 2021
b8fe675
add support to collection level s3 classes
rolfsimoes Oct 2, 2021
64454a0
user provides resampling method
rolfsimoes Oct 2, 2021
a746639
remove satellite and sensor parameters from .source_cube.probs_cube
rolfsimoes Oct 2, 2021
9cc0519
add support to collection level s3 class
rolfsimoes Oct 2, 2021
a5432ad
remove .sits_cube_bands_check function
rolfsimoes Oct 2, 2021
f2a17bf
change default NA parameters values to NA_character_
rolfsimoes Oct 2, 2021
30e69e7
add support to user provided resampling method
rolfsimoes Oct 2, 2021
4eb770c
replace .sits_cube_bands_check by .cube_bands_check function
rolfsimoes Oct 2, 2021
1f9f45c
add new check of file parameter
rolfsimoes Oct 2, 2021
8cb4256
update default parameter values type to character
rolfsimoes Oct 2, 2021
685ec45
add checks to .sits_ml_model_samples
rolfsimoes Oct 2, 2021
ff9fd4b
proceed with roi intersection on tiles and update error messages
rolfsimoes Oct 2, 2021
ee59e90
update function documentation
rolfsimoes Oct 2, 2021
4212f9f
remove .check_collection function
rolfsimoes Oct 2, 2021
1bf9874
change aws key to access_vars in config
rolfsimoes Oct 2, 2021
498ed39
update check on aws open data collections
rolfsimoes Oct 2, 2021
1ae50a2
add default s3 class for cubes
rolfsimoes Oct 2, 2021
7848c45
update s3 classes and functions
rolfsimoes Oct 2, 2021
4767e18
merge upstream master
rolfsimoes Oct 2, 2021
3154f3a
add .cube_check function
rolfsimoes Oct 2, 2021
6c48b7b
update NEWS
rolfsimoes Oct 2, 2021
3d0c92f
update dev version 0.15.0
rolfsimoes Oct 2, 2021
3dbe0e3
Merge pull request #406 from rolfsimoes/dev
gilbertocamara Oct 2, 2021
fa71d6a
Merge pull request #403 from OldLipe/hotfix/sits_cube
gilbertocamara Oct 2, 2021
d5e5dd0
Closes #407 #408
gilbertocamara Oct 4, 2021
260e693
Remove reshape2 package dependency
gilbertocamara Oct 4, 2021
95a5d1f
Closes #410
gilbertocamara Oct 5, 2021
7d6dbb0
fixed bug in replacing reshape2::melt
gilbertocamara Oct 5, 2021
20d4914
include open_data_token information
gilbertocamara Oct 5, 2021
87ef824
remove transverse all years
OldLipe Oct 5, 2021
fa4b844
Merge branch 'dev' of https://github.com/e-sensing/sits into dev
OldLipe Oct 5, 2021
3d69230
add usgs cube
OldLipe Oct 8, 2021
823a393
update docs
OldLipe Oct 8, 2021
16c6d1e
fix bug in deafrica cube
OldLipe Oct 12, 2021
324571f
add usgs format collection
OldLipe Oct 12, 2021
9221bd9
Close #416 #417 #414 #413 #412
gilbertocamara Oct 13, 2021
68f3304
update version number
gilbertocamara Oct 13, 2021
19bff0e
add format collection to usgs and deafrica cubes (closes #420)
OldLipe Oct 15, 2021
8230fc9
add usgs and deafrica ls8 in config
OldLipe Oct 15, 2021
af155d0
update regularize code
OldLipe Oct 15, 2021
9217721
add suport to ls8 collection in deafrica
OldLipe Oct 15, 2021
741253d
add support to ls8 collection in usgs
OldLipe Oct 15, 2021
3202629
update documentation
OldLipe Oct 15, 2021
24e7c49
merge with origin dev
OldLipe Oct 15, 2021
2ac7287
correct error in gdal_datatype
gilbertocamara Oct 15, 2021
6ddb5a2
Improvements in visualisation
gilbertocamara Oct 17, 2021
3ff0525
fix crs bug
OldLipe Oct 18, 2021
031cc2f
format code
OldLipe Oct 18, 2021
09afea3
fix stac version in config
OldLipe Oct 18, 2021
5fc9606
update gc code
OldLipe Oct 18, 2021
499eea3
merge with upstream dev
OldLipe Oct 18, 2021
9e835d9
remove not used packages in DESCRIPTION
OldLipe Oct 19, 2021
79715cc
update bit values in l8 cubes
OldLipe Oct 19, 2021
c5bad7e
add support to bitmask in sits_regularize
OldLipe Oct 19, 2021
7a1eb0c
fix conflicts
OldLipe Oct 19, 2021
9ac4630
update docs
OldLipe Oct 19, 2021
519c7ba
Merge pull request #423 from OldLipe/dev
gilbertocamara Oct 19, 2021
b209461
Removed dependency on devtools package
gilbertocamara Oct 22, 2021
7cb0c21
remove unused DEAFRICA collection
gilbertocamara Oct 22, 2021
3f373b0
fix #425
rolfsimoes Oct 22, 2021
b03f8fd
fix #395
rolfsimoes Oct 22, 2021
58af489
fix #411
rolfsimoes Oct 22, 2021
81a10eb
Update README
gilbertocamara Oct 22, 2021
bf06225
fix test_config
gilbertocamara Oct 22, 2021
5df3d72
fix config.yml
gilbertocamara Oct 22, 2021
87ada00
update drone version
OldLipe Oct 22, 2021
34f19ef
update drone version
OldLipe Oct 22, 2021
b9e68a4
merge with Rolf
OldLipe Oct 22, 2021
a16a5a0
remove sits_label_majority function
OldLipe Oct 22, 2021
1224426
change slide2 to slide
OldLipe Oct 22, 2021
f8756a7
update tests
OldLipe Oct 22, 2021
ec54acd
update docs
OldLipe Oct 22, 2021
1420138
Merge pull request #426 from OldLipe/dev
rolfsimoes Oct 22, 2021
f81c4a9
update README
OldLipe Oct 22, 2021
e67f429
update tests
OldLipe Oct 22, 2021
2d8bc88
Merge pull request #427 from OldLipe/dev
rolfsimoes Oct 22, 2021
b835148
add error in wtss time series
OldLipe Oct 23, 2021
25c896a
update test
OldLipe Oct 23, 2021
edc0f17
Merge pull request #428 from OldLipe/dev
OldLipe Oct 23, 2021
4a3e06f
update NEWS and format code
OldLipe Oct 23, 2021
20f2670
Merge pull request #429 from OldLipe/dev
OldLipe Oct 23, 2021
15a1850
update README
OldLipe Oct 23, 2021
3f4196c
Merge pull request #430 from OldLipe/dev
OldLipe Oct 23, 2021
ab4d0ca
Closes #432 #433 #434
Oct 25, 2021
4049ed6
update NEWS.md
gilbertocamara Oct 25, 2021
0abd395
Closes #436
OldLipe Oct 25, 2021
c71e9cd
fix typo
OldLipe Oct 25, 2021
4bf7aaa
updated R README
gilbertocamara Oct 25, 2021
6a5498c
fix test error
OldLipe Oct 25, 2021
d77cbf5
update NEWS.md
OldLipe Oct 25, 2021
3836af7
fix bug in sits_merge
OldLipe Oct 25, 2021
224892f
Merge pull request #437 from OldLipe/dev
rolfsimoes Oct 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update on sits_plot documentation
  • Loading branch information
gilbertocamara committed Sep 30, 2021
commit 577629bf6885396a0445ca299183d0ef3dec8cd8
6 changes: 2 additions & 4 deletions R/sits_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -1115,12 +1115,10 @@ plot.keras_model <- function(x, y, ...) {
)

# get the raster object
r <- suppressWarnings(raster::raster(cube$file_info[[1]]$path[[1]]))
r <- suppressWarnings(terra::rast(cube$file_info[[1]]$path[[1]]))

# convert from raster to points
map.p <- raster::rasterToPoints(r)
# create a data frame
df <- data.frame(map.p)
df <- terra::as.data.frame(r, xy = TRUE)
# define the column names for the data frame
colnames(df) <- c("x", "y", "class")

Expand Down
3 changes: 3 additions & 0 deletions demo/classify_raster_xgb.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ sinop_label <- sits_label_classification(
output_dir = tempdir()
)

# plot the classified map
plot(sinop_label)

# plot the probabilities
plot(sinop_probs)

Expand Down