English | Deutsch

All functions

Download and plot functions

Every function has a long name and a short alias. Both names call the same function. Click a name to open its documentation on the page of the data type.

Data type

Download (long name)

Download (alias)

Plot (long name)

Plot (alias)

NDVI (Sentinel-2)

download_normalized_difference_vegetation_index()

download_ndvi

plot_normalized_difference_vegetation_index()

plot_ndvi

EVI (Sentinel-2)

download_enhanced_vegetation_index()

download_evi

plot_enhanced_vegetation_index()

plot_evi

NDVI (Landsat)

download_landsat_ndvi()

download_landsat

plot_landsat_ndvi()

plot_landsat

NDWI (Sentinel-2)

download_normalized_difference_water_index()

download_ndwi

plot_normalized_difference_water_index()

plot_ndwi

NDMI (Sentinel-2)

download_normalized_difference_moisture_index()

download_ndmi

plot_normalized_difference_moisture_index()

plot_ndmi

NDSI (Sentinel-2)

download_normalized_difference_snow_index()

download_ndsi

plot_normalized_difference_snow_index()

plot_ndsi

True-colour image (Sentinel-2)

download_true_color_image()

download_tci

plot_true_color_image()

plot_tci

False-colour urban image (Sentinel-2)

download_false_color_urban()

download_urban

plot_false_color_urban()

plot_urban

False-colour infrared image (Sentinel-2)

download_false_color_infrared()

download_infrared

plot_false_color_infrared()

plot_infrared

False-colour SWIR image (Sentinel-2)

download_false_color_swir()

download_swir

plot_false_color_swir()

plot_swir

Land surface temperature (Sentinel-3)

download_land_surface_temperature()

download_lst

plot_land_surface_temperature()

plot_lst

Soil water index

download_soil_water_index()

download_swi

plot_soil_water_index()

plot_swi

Elevation (Copernicus DEM)

download_digital_elevation_model()

download_dem

plot_digital_elevation_model()

plot_dem

Land cover (ESA WorldCover)

download_land_cover()

(none)

plot_land_cover()

(none)

Scene classification (Sentinel-2)

download_scene_classification_map()

download_scl

plot_scene_classification_map()

plot_scl

Other functions

Function

What it does

Page

plot_raster()

draws any GeoTIFF

Plot functions

show_scl_classes()

prints the Sentinel-2 SCL classes with a hint for each

Sentinel-2 scene classification

enhance_color(), enhance_contrast()

turn reflectance into colours

Helpers for files

Constants

Name

Content

Page

cdec.SCL_CLASSES, cdec.SCL_HINTS, cdec.SCL_COLORS

the 12 SCL classes, a hint for each and their colours

Sentinel-2 scene classification

cdec.SCL_LAND, cdec.SCL_LAND_AND_WATER, cdec.SCL_LAND_WATER_AND_SNOW

ready-made selections (4, 5), (4, 5, 6) and (4, 5, 6, 11)

Sentinel-2 scene classification

cdec.WORLDCOVER_CLASSES, cdec.WORLDCOVER_COLORS

names and colours of the land cover classes

Land cover (ESA WorldCover)