db["weather_temperature"] = $0
}
-/^OK in:WEATHER phenomena/\
+/^OK in:WEATHER phenomenon/\
{
shift()
shift()
shift()
- alert_trigger_low("weather_phenomena", "WeatherPhenomena", $0)
+ alert_trigger_low("weather_phenomenon", "WeatherPhenomenon", $0)
}
/^OK in:DATE_TIME/\
temp_fahrenheit = (temp_celsius * (9 / 5)) + 32
print "temperature " temp_fahrenheit "°F"
for (i=first["Phenomena"]; i<=last["Phenomena"]; i++) {
- print "phenomena " values[i]
+ phenomenon = values[i]
+ if (phenomenon) {
+ print "phenomenon " phenomenon
+ }
}
}
}