Learn R Programming

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

gdalcubes (version 0.7.0)

Earth Observation Data Cubes from Satellite Image Collections

Description

Processing collections of Earth observation images as on-demand multispectral, multitemporal raster data cubes. Users define cubes by spatiotemporal extent, resolution, and spatial reference system and let 'gdalcubes' automatically apply cropping, reprojection, and resampling using the 'Geospatial Data Abstraction Library' ('GDAL'). Implemented functions on data cubes include reduction over space and time, applying arithmetic expressions on pixel band values, moving window aggregates over time, filtering by space, time, bands, and predicates on pixel values, exporting data cubes as 'netCDF' or 'GeoTIFF' files, plotting, and extraction from spatial and or spatiotemporal features. All computational parts are implemented in C++, linking to the 'GDAL', 'netCDF', 'CURL', and 'SQLite' libraries. See Appel and Pebesma (2019) for further details.

Copy Link

Version

Install

install.packages('gdalcubes')

Monthly Downloads

1,168

Version

0.7.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marius Appel

Last Published

March 7th, 2024

Functions in gdalcubes (0.7.0)

chunk_apply

Apply an R function on chunks of a data cube
as_array

Convert a data cube to an in-memory R array
apply_time.cube

Apply a user-defined R function over (multi-band) pixel time series
cube_view

Create or update a spatiotemporal data cube view
crop

Crop data cube extent by space and/or time
as.data.frame.cube

Convert a data cube to a data.frame
collection_formats

List predefined image collection formats
as_json

Query data cube properties
bands

Query data cube properties
create_image_collection

Create an image collection from a set of GDAL datasets or files
dimension_values

Query coordinate values for all dimensions of a data cube
filter_geom

Filter data cube pixels by a polygon
extent

Derive the spatiotemporal extent of an image collection
.copy_cube

Create a data cube proxy object copy
filter_pixel

Filter data cube pixels by a user-defined predicate on band values
extract_geom

Extract values from a data cube by spatial or spatiotemporal features
fill_time

Fill NA data cube pixels by simple time series interpolation
dim.cube

Query data cube properties
gdalcubes_gdalformats

Get available GDAL drivers
gdalcubes_gdalversion

Get the GDAL version used by gdalcubes
gdalcubes

gdalcubes: Earth Observation Data Cubes from Satellite Image Collections
gdalcubes_gdal_has_geos

Check if GDAL was built with GEOS
dimensions

Query data cube properties
dimension_bounds

Query coordinate bounds for all dimensions of a data cube
gdalcubes_set_gdal_config

Set GDAL config options
image_collection

Load an existing image collection from a file
pack_minmax

Helper function to define packed data exports by min / max values
nx

Query data cube properties
gdalcubes_options

Set or read global options of the gdalcubes package
ny

Query data cube properties
gdalcubes_selection

Subsetting data cubes
names.cube

Query data cube properties
plot.cube

Plot a gdalcubes data cube
print.cube_view

Print data cube view information
print.image_collection

Print image collection information
memsize

Query data cube properties
json_cube

Read a data cube from a json description file
reduce_space

Reduce multidimensional data over space
ncdf_cube

Read a data cube from an existing netCDF file
nbands

Query data cube properties
read_chunk_as_array

Read chunk data of a data cube from stdin or a file
image_mask

Create a mask for images in a raster data cube
join_bands

Join bands of two identically shaped data cubes
nt

Query data cube properties
select_bands

Select bands of a data cube
predict.cube

Model prediction
select_time

Select time slices of a data cube
st_as_stars.cube

Coerce gdalcubes object into a stars object
print.cube

Print data cube information
write_ncdf

Export a data cube as netCDF file(s)
stac_image_collection

Create an image collection from a STAC feature collection
reduce_space.cube

Reduce a data cube over spatial (x,y or lat,lon) dimensions
reduce_space.array

Apply a function over space and bands in a four-dimensional (band, time, y, x) array and reduce spatial dimensions
raster_cube

Create a data cube from an image collection
proj4

Query data cube properties
stack_cube

Create a data cube from a set of images with the same spatial extent and spatial reference system
reduce_time

Reduce multidimensional data over time
srs

Query data cube properties
reduce_time.array

Apply a function over time and bands in a four-dimensional (band, time, y, x) array and reduce time dimension
reduce_time.cube

Reduce a data cube over the time dimension
window_space

Apply a moving window (focal) operation or a convolution kernel over spatial dimensions of a data cube.
slice_time

Extract a single time slice from a data cube
size

Query data cube properties
slice_space

Extract a single time series (spatial slice) from a data cube
write_tif

Export a data cube as a collection of GeoTIFF files
rename_bands

Rename bands of a data cube
window_time

Apply a moving window operation over the time dimension of a data cube
write_chunk_from_array

Write chunk data of a cube to stdout or a file
apply_pixel.array

Apply a function over pixels in a four-dimensional (band, time, y, x) array
aggregate_space

Spatial aggregation of data cubes
animate

Animate a data cube as an image time series
aggregate_time

Aggregate data cube time series to lower temporal resolution
add_images

Add images to an existing image collection
apply_pixel

Apply a function over (multi-band) pixels
apply_pixel.cube

Apply arithmetic expressions over all pixels of a data cube
apply_time

Apply a function over (multi-band) pixel time series
add_collection_format

Download and install an image collection format from a URL
apply_time.array

Apply a function over pixel time series in a four-dimensional (band, time, y, x) array