Skip to content

Commit

Permalink
modify cog file ext
Browse files Browse the repository at this point in the history
  • Loading branch information
david-beauchesne committed Feb 16, 2024
1 parent 3a43919 commit 119227e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ncea_species.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ncea_species <- function(focus, drivers, vc, sensitivity, metaweb, trophic_sensi
as(dat, "Raster") |>
terra::rast() |>
terra::writeRaster(
filename = here::here(out, glue::glue("{focus}.cog")),
filename = here::here(out, glue::glue("{focus}.tif")),
filetype = "COG",
gdal = c("COMPRESS=LZW", "TILED=YES", "OVERVIEW_RESAMPLING=AVERAGE"),
overwrite = TRUE
Expand Down

0 comments on commit 119227e

Please sign in to comment.