1.5.1.1.4.1.1. polar2grid.filters._base module¶
Base class for all filters.
- class polar2grid.filters._base.BaseFilter(product_filter_criteria: dict = None)[source]¶
- Bases: - object- Base class for filtering products that don’t match certain conditions. - This class uses a series of metadata comparisons to check if a product should be checked for filtering. If any of the product metadata criteria match then filtering checks are continued. Otherwise, the product is ignored. If the criteria is not provided or is - Noneor is empty then no products will be checked. If the criteria is passed as- Truethen all products will be checked.- By default, no extra filtering is performed and only the metadata criteria is used. This means that if no criteria is provided, this class will remove all provided DataArrays. - FILTER_MSG = "Unloading '{}' due to filtering."¶
 
