Reader object

This module contains the Reader class.

The Reader class is an abstract class (a blueprint) inherited by every readers. A reader is an object used to extract bands (radiometric data) and metadata from satellite products (or a subset of products). It also allows one to perform resampling operations. There is a reader for each ‘product_type’.

The abstract class

Reader(input_product, requested_bands[, geom])

Abstract class inherited by every specific reader.

Custom namedtuples

Inputs(input_product, requested_bands, ROI)

ROI(geom, srid)

Available readers

Numerous readers are availables.

For Sentinel-2 products:

S2ESAReader(input_product, requested_bands)

A reader dedicated to extract data from both S2_ESA_L1C and S2_ESA_L2A products.

S2THEIAReader(input_product, requested_bands)

A reader dedicated to extract data from S2_THEIA_L2A products.

GRSReader(input_product, product_type, ...)

A reader dedicated to extract data from both S2_GRS, L4_GRS, L5_GRS, L7_GRS and L8_GRS products.

C2RCCReader(input_product, requested_bands)

A reader dedicated to extract data from C2RCC products.

For Landsat 8 products:

L8USGSL1C1Reader(input_product, requested_bands)

A reader dedicated to extract data from L8_USGS_L1C1 products.

L8USGSL2Reader(input_product, requested_bands)

A reader dedicated to extract data from L8_USGS_L2C1 products (.hdf).

GRSReader(input_product, product_type, ...)

A reader dedicated to extract data from both S2_GRS, L4_GRS, L5_GRS, L7_GRS and L8_GRS products.

C2RCCReader(input_product, requested_bands)

A reader dedicated to extract data from C2RCC products.