Learn R Programming

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

gdalcubes (version 0.6.4)

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.6.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marius Appel

Last Published

April 14th, 2023

Functions in gdalcubes (0.6.4)

collection_formats

List predefined image collection formats
apply_time.cube

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

Apply an R function on chunks of a data cube
cube_view

Create or update a spatiotemporal data cube view
as_array

Convert a data cube to an in-memory R array
bands

Query data cube properties
as_json

Query data cube properties
dim.cube

Query data cube properties
create_image_collection

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

Crop data cube extent by space and/or time
dimensions

Query data cube properties
extent

Derive the spatiotemporal extent of an image collection
filter_pixel

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

Create a data cube proxy object copy
extract_geom

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

Query coordinate bounds for all dimensions of a data cube
gdalcubes

gdalcubes: Earth Observation Data Cubes from Satellite Image Collections
fill_time

Fill NA data cube pixels by simple time series interpolation
dimension_values

Query coordinate values for all dimensions of a data cube
filter_geom

Filter data cube pixels by a polygon
gdalcubes_gdalversion

Get the GDAL version used by gdalcubes
image_mask

Create a mask for images in a raster data cube
gdalcubes_options

Set or read global options of the gdalcubes package
image_collection

Load an existing image collection from a file
gdalcubes_version

Query gdalcubes version information
join_bands

Join bands of two identically shaped data cubes
gdalcubes_gdal_has_geos

Check if GDAL was built with GEOS
gdalcubes_gdalformats

Get available GDAL drivers
gdalcubes_set_gdal_config

Set GDAL config options
gdalcubes_selection

Subsetting data cubes
nt

Query data cube properties
pack_minmax

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

Query data cube properties
json_cube

Read a data cube from a json description file
names.cube

Query data cube properties
memsize

Query data cube properties
ncdf_cube

Read a data cube from an existing netCDF file
ny

Query data cube properties
nbands

Query data cube properties
reduce_space

Reduce multidimensional data over space
reduce_space.array

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

Plot a gdalcubes data cube
reduce_space.cube

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

Print data cube view information
select_time

Select time slices of a data cube
print.cube

Print data cube information
size

Query data cube properties
rename_bands

Rename bands of a data cube
reduce_time

Reduce multidimensional data over time
proj4

Query data cube properties
print.image_collection

Print image collection information
select_bands

Select bands of a data cube
read_chunk_as_array

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

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

Create a data cube from an image collection
slice_time

Extract a single time slice from a data cube
write_ncdf

Export a data cube as netCDF file(s)
write_chunk_from_array

Write chunk data of a cube to stdout or a file
stac_image_collection

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

Apply a moving window function over the time dimension of a data cube
window_time

Apply a moving window operation over time
stack_cube

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

Query data cube properties
st_as_stars.cube

Coerce gdalcubes object into a stars object
write_tif

Export a data cube as a collection of GeoTIFF files
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
aggregate_time

Aggregate data cube time series to lower temporal resolution
animate

Animate a data cube as an image time series
apply_pixel.array

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

Add images to an existing image collection
apply_pixel

Apply a function over (multi-band) pixels
apply_time.array

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

Spatial aggregation of data cubes
apply_pixel.cube

Apply arithmetic expressions over all pixels of a data cube
add_collection_format

Download and install an image collection format from a URL
apply_time

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