CheckMethod#

class CheckMethod(value)[source]#

Bases: ListEnum

Methods to recognize a product

BOTH = 'Both'#

Double check if you have a doubt.

Type:

Check the metadata and the filename

MTD = 'Metadata'#

faster method

Type:

Check the metadata

NAME = 'Filename'#

Check the filename:

Safer method that allows modified product names as it recursively looks for the metadata name in the product files. For products that have generic metadata files (ie. RS2 that as mtd named product.xml), it also checks the band name.