Top Level Functions#

Opening Rasters#

Raster(raster[, _fast_path])

Abstraction of georeferenced raster data with lazy function evaluation.

open_dataset(path[, crs, ...])

Open a netCDF or GRIB dataset.

Combining Rasters#

band_concat(rasters)

Join a sequence of rasters along the band dimension.

Creating Rasters from a Template#

constant_raster(raster_template[, value, ...])

Create a Raster filled with a constant value like a template raster.

empty_like(raster_template[, bands, dtype, ...])

Create a Raster filled with uninitialized data like a template raster.

full_like(raster_template, value[, bands, ...])

Create a Raster filled with a constant value like a template raster.

ones_like(raster_template[, bands, dtype, ...])

Create a Raster filled with ones like a template raster.

random_raster(raster_template[, ...])

Creates a Raster of random values based on the desired distribution.

zeros_like(raster_template[, bands, dtype, ...])

Create a Raster filled with zeros like a template raster.

Remapping Rasters#

reclassify(raster, remapping[, unmapped_to_null])

Reclassify the input raster values based on a mapping.

remap_range(raster, mapping[, inclusivity])

Remaps values based on a mapping or list of mappings.

Vectors#

Vector(geo[, size])

A class representing vector data.

count_layer_features(path, layer)

Count the number of features in a layer of a vector source file.

list_layers(path)

List the layers in a vector source file.

open_vectors(path[, layers])

Open a vector source.