sisppeo.readers.S2THEIAReader

class sisppeo.readers.S2THEIAReader(input_product, requested_bands, geom=None, out_resolution=None, theia_bands='FRE', theia_masks=None, **_ignored)[source]

Bases: sisppeo.readers.reader.Reader

A reader dedicated to extract data from S2_THEIA_L2A products.

For more information about THEIA S2 L2A products, please see: https://labo.obs-mip.fr/multitemp/sentinel-2/theias-sentinel-2-l2a-product-format/

dataset

A dataset containing extracted data.

__init__(input_product, requested_bands, geom=None, out_resolution=None, theia_bands='FRE', theia_masks=None, **_ignored)[source]

See base class.

Parameters
  • out_resolution – The wanted resolution of the output product. Used when performing resampling operations.

  • theia_bands – The bands to be extracted. Must be either “SRE” (for Surface REflectance) or “FRE” (for Flat REflectance).

  • theia_masks – A dict whose keys are the names of THEIA’s masks to extract (“CLM”, “MG2” or “SAT”) and vals are lists of bits to use (e.g., [0, 1, 2] ; if None, all bits will be used for the corresponding mask).

Methods

__init__(input_product, requested_bands[, ...])

See base class.

create_ds()

See base class.

extract_bands()

See base class.

create_ds()[source]

See base class.

extract_bands()[source]

See base class.