code: def get_alerts_on(self, weather_param):
          
          result = []
          for alert in self.alerts:
              for met_condition in alert.met_conditions:
                  if met_condition['condition'].weather_param == weather_param:
                      result.append(alert)
                      break
          return result
docs: Returns all the `Alert` objects of this `Trigger` that refer to the specified weather parameter (eg. 'temp',
          'pressure', etc.). The allowed weather params are the ones enumerated by class
          `pyowm.alertapi30.enums.WeatherParametersEnum`
          :param weather_param: str, values in `pyowm.alertapi30.enums.WeatherParametersEnum`
          :return: list of `Alert` instances