

def _check_geo_param(self, arg_list):
    " Checks each function call to make sure that the user has provided at least one of the following geographic\n        parameters: 'stid', 'state', 'country', 'county', 'radius', 'bbox', 'cwa', 'nwsfirezone', 'gacc', or 'subgacc'.\n\n        Arguments:\n        ----------\n        arg_list: list, mandatory\n            A list of kwargs from other functions.\n\n        Returns:\n        --------\n            None.\n\n        Raises:\n        -------\n            MesoPyError if no geographic search criteria is provided.\n\n        "
    geo_func = (lambda a, b: any(((i in b) for i in a)))
    check = geo_func(self.geo_criteria, self)
    if (check is False):
        raise MesoPyError('No stations or geographic search criteria specified. Please provide one of the following: stid, state, county, country, radius, bbox, cwa, nwsfirezone, gacc, subgacc')

dataset/ETHPy150Open mesowx/MesoPy/MesoPy.py Meso._check_geo_param/VarMisuse@46/242 `arg_list`->`self`