Scalable, Spatiotemporal Tidy Arrays

Reading, manipulating, writing and plotting spatiotemporal Arrays (including raster data) in R, using GDAL bindings provided by package sf.


News

version 0.2-0

  • vignettes now use an external package, starsdata, for larger dataset examples

  • support [<-.stars e.g. to mask out values; support is.na.stars to replace NA masks

  • support cut methods and factor arrays (plot, subset); #56

  • add st_rasterize, which uses GDALRasterize to rasterize an sf object; #13

  • st_as_sf.stars now uses GDAL(F)Polygonize when give a regular or sheared grid grid cells are not points, and returns contour bands using GDALContourGenerateEx (requiring GDAL 2.4.0) in case cells are points; #13

  • support curvilinear grids; see #54 and the data_model vignette

  • add vignette about how stars_proxy objects work

  • stars_proxy objects defer processing of st_apply jobs until after subsampling; #50

  • allow reading sections of a raster, raster at a lower resolution, selected bands; #48

  • allow reading vectors (arrays) with more than 2^31 elements; #48

  • fold all higher dimensions into the third dimension before coercing to Raster; #40

version 0.1-1

  • add meta data reader to read_stars

version 0.1-0

  • add merge (merge attributes into array dimension) and split (split dimension over attributes)

  • interface to sf, raster and spacetime

  • improve plotting

  • handle logical arrays in plot

  • add st_apply, analogous to apply

  • add cropping/masking when used as x[buf] with buf an sf, sfc or bbox object; masking when x[buf, crop = FALSE]

  • add Ops (+,-,/ etc) and Math (sqrt, pow, sin etc) methods

  • add dimnames and dimnames<- methods for stars objects

  • downsample large grids to only plot pixels actually shown

  • can plot rectilinear grids (but will plot rgb images as regular grids)

  • rgb argument to image works

  • [ array-like subsetting works; first index is attribute selector

version 0.0

  • interface the 9 C++ gdal utils through gdal_utils() (now part of sf)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("stars")

0.2-0 by Edzer Pebesma, 3 months ago


https://github.com/r-spatial/stars/


Report a bug at https://github.com/r-spatial/stars/issues/


Browse source code at https://github.com/cran/stars


Authors: Edzer Pebesma [aut, cre] , Michael Sumner [ctb] , Etienne Racine [ctb] , Adriano Fantini [ctb]


Documentation:   PDF Manual  


Task views: Analysis of Spatial Data


Apache License license


Imports methods, parallel, classInt, ncdf4, ncmeta, rlang, units

Depends on abind, sf

Suggests covr, dplyr, ggplot2, ggthemes, gstat, knitr, lwgeom, maps, pbapply, plm, raster, rmarkdown, sp, spacetime, testthat, viridis, zoo, xts, starsdata


Suggested by ggspatial, mapview, sf.

Enhanced by landscapemetrics.


See at CRAN