Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/e-sensing/sits into feature/…
Browse files Browse the repository at this point in the history
…detections-api
  • Loading branch information
M3nin0 committed May 14, 2024
2 parents ffeac18 + 1760ba9 commit f6749d2
Show file tree
Hide file tree
Showing 19 changed files with 384 additions and 337 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: sits
Type: Package
Version: 1.5.0
Version: 1.5.1
Title: Satellite Image Time Series Analysis for Earth Observation Data Cubes
Authors@R: c(person('Rolf', 'Simoes', role = c('aut'), email = '[email protected]'),
person('Gilberto', 'Camara', role = c('aut', 'cre'), email = '[email protected]'),
Expand Down
4 changes: 2 additions & 2 deletions R/api_gdal.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
),
params = list(
"-ot" = data_type,
"-of" = .conf("gdal_presets", "block", "of"),
"-of" = .conf("gdal_presets", "image", "of"),
"-b" = rep(1, nlayers),
"-outsize" = list(.ncols(block), .nrows(block)),
"-scale" = list(0, 1, miss_value, miss_value),
Expand All @@ -165,7 +165,7 @@
.xmin(bbox), .ymax(bbox), .xmax(bbox), .ymin(bbox)
),
"-a_nodata" = miss_value,
"-co" = .conf("gdal_presets", "block", "co")
"-co" = .conf("gdal_presets", "image", "co")
),
quiet = TRUE
)
Expand Down

0 comments on commit f6749d2

Please sign in to comment.