diff --git a/articles/stars1.html b/articles/stars1.html index db2e5205..24a05c23 100644 --- a/articles/stars1.html +++ b/articles/stars1.html @@ -596,7 +596,7 @@

OD: space x space x travel ## stars object with 5 dimensions and 1 attribute ## attribute(s), summary of first 1e+05 cells: ## Min. 1st Qu. Median Mean 3rd Qu. Max. -## traffic 0 8 10 10.01755 12 26 +## traffic 0 8 10 10.00328 12 27 ## dimension(s): ## from to offset delta ## origin 1 100 NA NA diff --git a/articles/stars1_files/figure-html/unnamed-chunk-23-1.png b/articles/stars1_files/figure-html/unnamed-chunk-23-1.png index 12f0e324..3edb3fa9 100644 Binary files a/articles/stars1_files/figure-html/unnamed-chunk-23-1.png and b/articles/stars1_files/figure-html/unnamed-chunk-23-1.png differ diff --git a/articles/stars2.html b/articles/stars2.html index 07f7d179..a30ea28c 100644 --- a/articles/stars2.html +++ b/articles/stars2.html @@ -297,7 +297,7 @@

Stars proxy objects## downsample set to 18

##    user  system elapsed 
-##   1.006   0.170   0.692
+## 0.996 0.192 0.695

This takes only around 1 second, since only those pixels are read that can be seen on the plot. If we read the entire image in memory first, as we would do with

@@ -405,12 +405,12 @@

Lazy evaluation, changing eva ## [[1]] ## adrop(x = x, drop = drop) ## attr(,".Environment") -## <environment: 0x5f318b7fd8e0> +## <environment: 0x56432cd23a80> ## ## [[2]] ## x[i = i, 1:10, 1:10, , drop = drop, crop = crop] ## attr(,".Environment") -## <environment: 0x5f318b75c640> +## <environment: 0x56432cc82a40>

Doing this allows for optimizing the order in which operations are done. As an example, for st_apply, reading can be done sequentially over the dimensions over which the function is applied:

@@ -473,14 +473,14 @@

Plotting with changed evaluation ## st_apply(X = X, MARGIN = MARGIN, FUN = FUN, CLUSTER = CLUSTER, ## PROGRESS = PROGRESS, FUTURE = FUTURE, rename = rename, .fname = .fname) ## attr(,".Environment") -## <environment: 0x5f318d173838> +## <environment: 0x56432e6a34e8> ## ## This object has pending lazy operations: dimensions as printed may not reflect this. system.time(plot(s2.ndvi)) # read - compute ndvi - plot ## downsample set to 18

##    user  system elapsed 
-##   0.678   0.191   0.373
+## 0.691 0.168 0.367 diff --git a/news/index.html b/news/index.html index f62d1f84..300e7a37 100644 --- a/news/index.html +++ b/news/index.html @@ -59,7 +59,8 @@

version 0.6-5

-