- class CheckMethod(value)[source]#
Methods to recognize a product
- BOTH = 'Both'#
Double check if you have a doubt.
Check the metadata and the filename
- MTD = 'Metadata'#
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.