Skip to content

Commit f825637

Browse files
committed
# biodivMapR2 v2.3.10
## change - add option "BIGTIFF=IF_SAFER" when calling sf::gdal_utils to produce mosaics
1 parent 44ca32d commit f825637

File tree

7 files changed

+13
-9
lines changed

7 files changed

+13
-9
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: biodivMapR
22
Title: biodivMapR: an R package for a- and ß-diversity mapping using remotely-sensed images
3-
Version: 2.3.9
3+
Version: 2.3.10
44
Authors@R: c(person(given = "Jean-Baptiste",
55
family = "Feret",
66
email = "jb.feret@teledetection.fr",

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export(center_reduce)
1616
export(check_data)
1717
export(clean_NAsInf)
1818
export(compute_bc_diss)
19-
export(compute_mask_IQR)
19+
export(compute_mask_iqr)
2020
export(compute_mask_iqr_tiles)
2121
export(compute_nn_from_ordination)
2222
export(continuum_removal)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# biodivMapR2 v2.3.10
2+
## change
3+
- add option "BIGTIFF=IF_SAFER" when calling sf::gdal_utils to produce mosaics
4+
15
# biodivMapR2 v2.3.9
26
## fix
37
- create output_dir if does not exist when calling biodivMapR_full

R/compute_mask_IQR.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' @importFrom terra rast values names varnames writeRaster
1111
#' @export
1212

13-
compute_mask_IQR <- function(input_raster_path,
13+
compute_mask_iqr <- function(input_raster_path,
1414
output_mask_path,
1515
input_mask_path = NULL,
1616
weightIRQ = 3,

R/mosaic_tiles.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mosaic_tiles <- function(pattern, dir_path, vrt_save, siteName = NULL,
2626
if (!file.exists(mosaic_path) | overwrite)
2727
sf::gdal_utils(util = 'translate', source = output_vrt_path,
2828
destination = mosaic_path,
29-
options = c("-co", "COMPRESS=LZW"))
29+
co = c("COMPRESS=LZW", "BIGTIFF=IF_SAFER"))
3030

3131
# delete vrt
3232
file.remove(output_vrt_path)

man/compute_mask_IQR.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/biodivMapR_02.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ SI_path <- spectralindices_from_raster(input_raster_path = input_raster_path,
159159
# (e.g. negative reflectance or extremely low values used in ratio)
160160
# this optional step ensures that erroneous vegetation indices are discarded.
161161
mask_path_SI <- file.path(output_dir_SI, 'Mask_update_IQR.tif')
162-
compute_mask_IQR(input_raster_path = SI_path,
162+
compute_mask_iqr(input_raster_path = SI_path,
163163
output_mask_path = mask_path_SI,
164164
input_mask_path = input_mask_path)
165165
```

0 commit comments

Comments
 (0)