diff --git a/docs/search.json b/docs/search.json index 8a453d0..c4c200d 100644 --- a/docs/search.json +++ b/docs/search.json @@ -382,7 +382,7 @@ "href": "source/reference/ref/st_as_stars.cube.html#examples", "title": "", "section": "Examples", - "text": "Examples\n\n# create image collection from example Landsat data only \n# if not already done in other examples\nif (!file.exists(file.path(tempdir(), \"L8.db\"))) {\n L8_files <- list.files(system.file(\"L8NY18\", package = \"gdalcubes\"),\n \".TIF\", recursive = TRUE, full.names = TRUE)\n create_image_collection(L8_files, \"L8_L1TP\", file.path(tempdir(), \"L8.db\"), quiet = TRUE) \n}\n\nL8.col = image_collection(file.path(tempdir(), \"L8.db\"))\nv = cube_view(extent=list(left=388941.2, right=766552.4, \n bottom=4345299, top=4744931, t0=\"2018-04\", t1=\"2018-04\"),\n srs=\"EPSG:32618\", nx = 497, ny=526, dt=\"P1M\")\nif(require(\"stars\"))\n st_as_stars(select_bands(raster_cube(L8.col, v), c(\"B04\", \"B05\")))\n\nLoading required package: stars\n\n\nWarning in library(package, lib.loc = lib.loc, character.only = TRUE,\nlogical.return = TRUE, : there is no package called 'stars'" + "text": "Examples\n\n# create image collection from example Landsat data only \n# if not already done in other examples\nif (!file.exists(file.path(tempdir(), \"L8.db\"))) {\n L8_files <- list.files(system.file(\"L8NY18\", package = \"gdalcubes\"),\n \".TIF\", recursive = TRUE, full.names = TRUE)\n create_image_collection(L8_files, \"L8_L1TP\", file.path(tempdir(), \"L8.db\"), quiet = TRUE) \n}\n\nL8.col = image_collection(file.path(tempdir(), \"L8.db\"))\nv = cube_view(extent=list(left=388941.2, right=766552.4, \n bottom=4345299, top=4744931, t0=\"2018-04\", t1=\"2018-04\"),\n srs=\"EPSG:32618\", nx = 497, ny=526, dt=\"P1M\")\nif(require(\"stars\"))\n st_as_stars(select_bands(raster_cube(L8.col, v), c(\"B04\", \"B05\")))\n\nLoading required package: stars\n\n\nLoading required package: abind\n\n\nLoading required package: sf\n\n\nLinking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE\n\n\nstars object with 3 dimensions and 2 attributes\nattribute(s):\n Min. 1st Qu. Median Mean 3rd Qu. Max. NA's\n4 6119 6928 8717 11063.82 10620 53002 99070\n5 5564 6411 13519 14300.35 17073 57497 99070\ndimension(s):\n from to offset delta refsys point\nx 1 497 388941 759.8 WGS 84 / UTM zone 18N NA\ny 1 526 4744931 -759.8 WGS 84 / UTM zone 18N NA\ntime 1 1 NA NA POSIXct FALSE\n values x/y\nx NULL [x]\ny NULL [y]\ntime [2018-04-01,2018-05-01)" }, { "objectID": "source/reference/ref/stack_cube.html", diff --git a/docs/source/about.html b/docs/source/about.html index 0d921ef..9abd115 100644 --- a/docs/source/about.html +++ b/docs/source/about.html @@ -171,7 +171,7 @@
Loading required package: stars
Warning in library(package, lib.loc = lib.loc, character.only = TRUE,
-logical.return = TRUE, : there is no package called 'stars'
+Loading required package: abind
+Loading required package: sf
+Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE
+stars object with 3 dimensions and 2 attributes
+attribute(s):
+ Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
+4 6119 6928 8717 11063.82 10620 53002 99070
+5 5564 6411 13519 14300.35 17073 57497 99070
+dimension(s):
+ from to offset delta refsys point
+x 1 497 388941 759.8 WGS 84 / UTM zone 18N NA
+y 1 526 4744931 -759.8 WGS 84 / UTM zone 18N NA
+time 1 1 NA NA POSIXct FALSE
+ values x/y
+x NULL [x]
+y NULL [y]
+time [2018-04-01,2018-05-01)