Learn R Programming

⚠️There's a newer version (0.7-0) of this package.Take me there.

stars (version 0.6-5)

Spatiotemporal Arrays, Raster and Vector Data Cubes

Description

Reading, manipulating, writing and plotting spatiotemporal arrays (raster and vector data cubes) in 'R', using 'GDAL' bindings provided by 'sf', and 'NetCDF' bindings by 'ncmeta' and 'RNetCDF'.

Copy Link

Version

Install

install.packages('stars')

Monthly Downloads

46,238

Version

0.6-5

License

Apache License

Issues

Pull Requests

Stars

Forks

Maintainer

Edzer Pebesma

Last Published

April 4th, 2024

Functions in stars (0.6-5)

print_stars

print stars or dimensions object
st_coordinates

retrieve coordinates for raster or vector cube cells
st_contour

Compute or plot contour lines or sets
st_dimensions

get dimensions from stars object
predict.stars

Predict values, given a model object, for a stars or stars_proxy object
st_downsample

downsample stars or stars_proxy objects
st_join.stars

Spatially join a stars and an `sf` object
st_intersects.stars

spatial intersect predicate for stars and sfc object
st_set_bbox

set bounding box parameters of regular grid
st_dim_to_attr

create an array with dimension values
st_crop

crop a stars object
st_sfc2xy

replace POINT simple feature geometry list with an x y raster
dplyr

dplyr verbs for stars objects
make_intervals

create an intervals object
read_stars

read raster/array dataset from file or connection
%in%,stars-method

evaluate whether cube values are in a given set
redimension

redimension array, or collapse attributes into a new dimension
st_geotransform

get or set the geotransform, or rotation matrix
cut_stars

cut methods for stars objects
st_extract

Extract cell values at point locations
as

Coerce stars object into a Raster raster or brick
read_ncdf

Read NetCDF into stars object
stars_subset

subset stars objects
stars_sentinel2

Sentinel-2 sample tile
st_apply

st_apply apply a function to one or more array dimensions
ops_stars

S3 Ops Group Generic Functions for stars objects
contour.stars

plot contours of a stars object
plot

plot stars object, with subplots for each level of first non-spatial dimension
st_as_sf

Convert stars object into an sf object
st_as_stars

convert objects into a stars object
st_warp

Warp (resample) grids in stars objects to a new grid, possibly in an new coordinate reference system
st_rasterize

rasterize simple feature geometries
st_cells

return the cell index corresponding to the location of a set of points
st_res

obtain (spatial) resolution of a stars object
st_xy2sfc

replace x y raster dimensions with simple feature geometry list (points, or polygons = rasterize)
st_mosaic

build mosaic (composite) of several spatially disjoint stars objects
st_raster_type

get the raster type (if any) of a stars object
st_tile

Specify parameters to load raster in blocks
st_rotate

Transform rotated pole long/lat regular grid to unrotated curvilinear grid
st_rgb

reduce dimension to rgb (alpha) hex values
st_transform

transform geometries in stars objects to a new coordinate reference system, without warping
write_stars

write stars object to gdal dataset (typically: to file)
bcsd_obs

Monthly Gridded Meteorological Observations
expand_dimensions

expand the dimension values into a list
aggregate.stars

spatially or temporally aggregate stars object
geom_stars

ggplot geom for stars objects
c.stars

combine multiple stars objects, or combine multiple attributes in a single stars object into a single array
prcomp

Principle components of stars object
L7_ETMs

Landsat-7 bands for a selected region around Olinda, BR
merge

merge or split stars object
mdim

Read or write data using GDAL's multidimensional array API