Learn R Programming

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

gdalcubes (version 0.2.5)

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, and plotting. The package implements lazy evaluation and multithreading. 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

712

Version

0.2.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marius Appel

Last Published

May 17th, 2020

Functions in gdalcubes (0.2.5)

extent

Derive the spatiotemporal extent of an image collection
filter_pixel

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

Reduce all bands of a data cube over the time dimension with a single reducer function
reduce_space

Reduce multidimensional data over space
gdalcubes

gdalcubes: Earth Observation Data Cubes from Satellite Image Collections
gdalcubes_set_threads

Set the number of threads for parallel data cube processing
gdalcubes_start_server

Start one or more gdalcubes_server background processes
dimensions

Query data cube properties
dimension_values

Query coordinate values for all dimensions of a data cube
nx

Query data cube properties
collection_formats

List predefined image collection formats
fill_time

Fill NA data cube pixels by simple time series interpolation
nbands

Query data cube properties
gdalcubes_stop_server

Stop all gdalcubes_server processes
reduce_time

Reduce multidimensional data over time
query_points

Query data cube values at irregular spatiotemporal points
window_time

Apply a moving window operation over time
reduce_time.array

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

Create a data cube from an image collection
ny

Query data cube properties
gdalcubes_use_cache

Enable or disable caching of cubes.
gdalcubes_options

Set or read global options of the gdalcubes package
dim.cube

Query data cube properties
nt

Query data cube properties
memsize

Query data cube properties
add_collection_format

Download and install an image collection format from a URL
add_images

Add images to an existing image collection
plot.cube

Plot a gdalcubes data cube
gdalcubes_gdalversion

Get the GDAL version used by gdalcubes
pack_minmax

Helper function to define packed data exports by min / max values
window_time.cube

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

Reduce a data cube over the time dimension
names.cube

Query data cube properties
proj4

Query data cube properties
create_image_collection

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

Join bands of two identically shaped data cubes
print.image_collection

Print image collection information
gdalcubes_debug_output

Enable or disable debug output from the gdalcubes C++ library
image_mask

Create a mask for images in a raster data cube
print.cube

Print data cube information
gdalcubes_gdalformats

Get available GDAL drivers
size

Query data cube properties
select_bands

Select bands of a data cube
print.cube_view

Print data cube view information
gdalcubes_server_status

Status report of gdalcubes_server instances
srs

Query data cube properties
write_ncdf

Export a data cube as a netCDF file
write_chunk_from_array

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

Set compression level for netCDF files produced by gdalcubes
raster_cube_dummy

Create a dummy data cube with a fill value
image_collection

Load an existing image collection from a file
gdalcubes_version

Query gdalcubes version information
read_chunk_as_array

Read chunk data of a data cube from stdin or a file
reduce_space.array

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

Reduce a data cube over spatial (x,y or lat,lon) dimensions
write_tif

Export a data cube as a collection of GeoTIFF files
apply_pixel.array

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

Apply arithmetic expressions over all pixels of a data cube
animate

Animate a data cube as an image time series
chunk_apply

Apply an R function on chunks of a data cube
bands

Query data cube properties
as_array

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

Query data cube properties
cube_view

Create, update, or query a spatiotemporal data cube view
apply_pixel

Apply a function over (multi-band) pixels