eoio.readers.planetscope.metadata module#
eoio.readers.planetscope.metadata - extractor class for PlanetScope metadata.
- class eoio.readers.planetscope.metadata.PlanetScopeMetadataExtractor(reader)[source]#
Bases:
BaseMetadataExtractorMetadata helper for PlanetScope products.
Solely responsible for extracting metadata. No heavy dependencies.
Can be full or basic level.
- get_angle_metadata() dict[source]#
Return metadata for angle variables (solar/observer angles).
- Returns:
Dictionary of angle variable metadata.
- get_aux_metadata() dict[source]#
Return metadata for auxiliary data variables. TODO implement when masks are implemented - see Landsat reader for example.
- Returns:
Dictionary of auxiliary data variable metadata.
- get_basic_metadata() dict[source]#
Extract basic metadata from the product metadata, to be used in other tools in MetEOR.
- Returns:
Basic metadata dictionary.
- get_product_metadata() dict[source]#
Note: reflectance coeff and radiometric scale factor info (for processor) found in xml, everything else in the two jsons.
- get_variable_basic_metadata(var: str) dict[source]#
Extract variable metadata from the product metadata.
- Parameters:
var – Variable name.
- Returns:
Variable metadata dictionary.