List of functions and classes (API)

List of functions and classes (API)#

Input and output#

load_scene(path[, bands, region, dtype])

Load a Landsat scene downloaded from USGS EarthExplorer.

save_scene(path, scene)

Save a Landsat scene to a tar archive in the USGS EarthExplorer format.

load_panchromatic(path[, region, dtype])

Load the panchromatic band from a USGS EarthExplorer Level 1 Landsat scene.

Processing#

composite(scene[, bands, rescale_to, dtype])

Create a composite using the given bands.

pansharpen(scene, panchromatic[, weights])

Pansharpen the red, green, and blue bands of a scene.

equalize_histogram(composite[, kernel_size, ...])

Adaptive histogram equalization for a composite

adjust_l1_colors(composite[, percentile])

Adjust the colors in an RGB composite from Level 1 data

interpolate_missing(scene[, pixel_radius])

Fill missing values (NaNs) in a scene by cubic interpolation

Sample datasets#

Functions for downloading and caching sample datasets.

datasets.fetch_brumadinho_after([untar])

Download a sample scene from after the Brumadinho tailings dam disaster

datasets.fetch_brumadinho_before([untar])

Download a sample scene from before the Brumadinho tailings dam disaster

datasets.fetch_liverpool([untar])

Download a sample scene from the city of Liverpool, UK

datasets.fetch_liverpool_panchromatic([untar])

Download a sample panchromatic band from the city of Liverpool, UK

datasets.fetch_manaus([untar])

Download a sample scene from Manaus, Brazil

datasets.fetch_momotombo([untar, level])

Download a sample scene from the December 2015 Momotombo volcano eruption

datasets.fetch_roraima([untar])

Download a sample scene from Mount Roraima surrounded by clouds