eoio.readers.sentinel3_slstr.metadata.extractor module#

High-level metadata extractor for Sentinel-3 SLSTR products.

This extractor wraps the SLSTR XML reader implemented in s3_slstr_mtd.S3SLSTRXMLReader and exposes the same public interface used by the rest of the readers framework (BaseMetadataExtractor).

class eoio.readers.sentinel3_slstr.metadata.extractor.S3SLSTRMetadataExtractor(reader)[source]#

Bases: BaseMetadataExtractor

High-level metadata extractor for Sentinel-3 SLSTR products.

The extractor caches spectral information from the product manifest and exposes product- and variable-level metadata through the BaseMetadataExtractor interface.

get_basic_metadata() dict[source]#

Extract basic metadata from the dataset, to be used in other tools in MetEOR.

Returns:

Basic metadata dictionary.

get_product_metadata() dict[source]#

Extract product metadata from the dataset.

Returns:

Product metadata dictionary.

get_variable_basic_metadata(var: str) dict[source]#

Extract basic variable metadata from the dataset.

Parameters:

var – Variable name for which metadata should be extracted.

Returns:

Variable metadata dictionary.

get_variable_product_metadata(var: str) dict[source]#

Extract variable metadata from the dataset.

Parameters:

var – Variable name for which metadata should be extracted.

Returns:

Variable metadata dictionary.