mirror of
https://github.com/appelmar/gdalcubes.git
synced 2025-02-23 16:24:15 +01:00
12 lines
382 B
R
12 lines
382 B
R
library(gdalcubes)
|
|
v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53,
|
|
t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P1D",
|
|
dx = 0.01, dy = 0.01)
|
|
v
|
|
|
|
|
|
gdalcubes:::.raster_cube_dummy(v, 3, 1.0) |>
|
|
rename_bands("band1" = "x") |>
|
|
names() |>
|
|
expect_equal(c("x","band2","band3"))
|
|
|