Learn R Programming

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

gdalcubes (version 0.3.1)

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

1,168

Version

0.3.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marius Appel

Last Published

August 27th, 2020

Functions in gdalcubes (0.3.1)

apply_pixel.cube

Apply arithmetic expressions over all pixels of a data cube
apply_time.cube

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

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

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

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

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

Apply an R function on chunks of a data cube
add_images

Add images to an existing image collection
dimension_values

Query coordinate values for all dimensions of a data cube
add_collection_format

Download and install an image collection format from a URL
animate

Animate a data cube as an image time series
dim.cube

Query data cube properties
apply_pixel

Apply a function over (multi-band) pixels
gdalcubes

gdalcubes: Earth Observation Data Cubes from Satellite Image Collections
collection_formats

List predefined image collection formats
create_image_collection

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

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

Fill NA data cube pixels by simple time series interpolation
extent

Derive the spatiotemporal extent of an image collection
nbands

Query data cube properties
names.cube

Query data cube properties
dimension_bounds

Query coordinate bounds for all dimensions of a data cube
memsize

Query data cube properties
ny

Query data cube properties
join_bands

Join bands of two identically shaped data cubes
pack_minmax

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

Query data cube properties
nx

Query data cube properties
reduce_time

Reduce multidimensional data over time
cube_view

Create or update a spatiotemporal data cube view
reduce_space.cube

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

Query data cube properties
read_chunk_as_array

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

Create a dummy data cube with a fill value
reduce_time.array

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

Coerce gdalcubes object into a stars object
query_points

Query data cube values at irregular spatiotemporal points
reduce_time.cube

Reduce a data cube over the time dimension
translate_cog

Convert complete image collections to cloud-optimized GeoTIFFs
as_json

Query data cube properties
gdalcubes_gdalversion

Get the GDAL version used by gdalcubes
dimensions

Query data cube properties
gdalcubes_options

Set or read global options of the gdalcubes package
image_collection

Load an existing image collection from a file
size

Query data cube properties
window_time

Apply a moving window operation over time
translate_gtiff

Convert complete image collections to cloud-optimized GeoTIFFs
gdalcubes_gdalformats

Get available GDAL drivers
gdalcubes_use_cache

Enable or disable caching of cubes.
gdalcubes_version

Query gdalcubes version information
gdalcubes_gdal_has_geos

Check if GDAL was built with GEOS
bands

Query data cube properties
filter_geom

Filter data cube pixels by a polygon
srs

Query data cube properties
write_tif

Export a data cube as a collection of GeoTIFF files
write_ncdf

Export a data cube as netCDF file(s)
filter_pixel

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

Print data cube view information
select_bands

Select bands of a data cube
image_mask

Create a mask for images in a raster data cube
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
print.image_collection

Print image collection information
select_time

Select time slices of a data cube
gdalcubes_set_ncdf_compression

Set compression level for netCDF files produced by gdalcubes
gdalcubes_set_threads

Set the number of threads for parallel data cube processing
plot.cube

Plot a gdalcubes data cube
print.cube

Print data cube information
raster_cube

Create a data cube from an image collection
zonal_statistics

Query summary statistics of data cube values over polygons
query_timeseries

Query data cube timeseries at irregular spatial points
window_time.cube

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

Write chunk data of a cube to stdout or a file