satmo.global_variables module

class satmo.global_variables.SuperDict[source]

Bases: dict

Class to enable use of regex patterns as dictionary keys

Parameters:dict (dict) – A dictionary

Examples

>>> a = SuperDict({'rrs_.*': 12, 'chlor_a': 11})
>>> print a['rrs_555']
>>> print a['chlor_a']
>>> print a['random_key']
satmo.global_variables.afai_modis(red, nir, swir)[source]
satmo.global_variables.afai_viirs(red, nir, swir)[source]
satmo.global_variables.fai_modis(red, nir, swir)[source]