Weather
From webCoRE Wiki - Web-enabled Community's own Rule Engine
Contents
- 1 Alerts
- 2 Almanac
- 3 Conditions
- 3.1 Weather
- 3.2 Temperature_string
- 3.3 Temp_f
- 3.4 Temp_C
- 3.5 Relative_humidity
- 3.6 Wind_string
- 3.7 Wind_dir
- 3.8 Wind_degrees
- 3.9 Wind_mph
- 3.10 Wind_gust_mph
- 3.11 Wind_kph
- 3.12 Wind_gust_kph
- 3.13 Pressure_mb
- 3.14 Pressure_in
- 3.15 Pressure_trend
- 3.16 Dewpoint_string
- 3.17 Dewpoint_f
- 3.18 Dewpoint_c
- 3.19 Heat_index_string
- 3.20 Heat_index_f
- 3.21 Heat_index_c
- 3.22 Windchill_string
- 3.23 Windchill_f
- 3.24 Windchill_c
- 3.25 Feelslike_string
- 3.26 Feelslike_f
- 3.27 Feelslike_c
- 3.28 Visibility_mi
- 3.29 Visibility_km
- 3.30 Solarradiation
- 3.31 UV
- 3.32 Precip_1hr_string
- 3.33 Precip_1hr_in
- 3.34 Precip_1hr_metric
- 3.35 Precip_today_string
- 3.36 Precip_today_in
- 3.37 Precip_today_metric
Alerts
- Returns the short name description, expiration time and a long text description of a severe alert, if one has been issued for your location.
Type
- Syntax
$weather.alerts.alerts.type
- Returns
- Returns a 3 letter code of any alerts in your area.
- Example
[WAT, SPE]
Description
- Syntax
$weather.alerts.alerts.description
- Returns
- Returns a full text description of any alerts in your area.
- Example
[Areal Flood Advisory, Special Statement]
Date
- Syntax
$weather.alerts.alerts.date
- Returns
- Returns the time and date of when alerts went into effect.
- Example
[8:28 PM CDT on July 13, 2017, 8:41 PM CDT on July 13, 2017]
Date_epoch
- Syntax
$weather.alerts.alerts.date_epoch
- Returns
- Returns the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT) till the alert went into effect.
- Example
[1499995680, 1499996460]
Expires
- Syntax
$weather.alerts.alerts.expires
- Returns
- Returns the time and date of when the alerts expire.
- Examples
[2:30 AM CDT on July 14, 2017, 9:15 PM CDT on July 13, 2017]
Expires_epoch
- Syntax
$weather.alerts.alerts.expires_epoch
- Returns
- Returns the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT) till the alert expires
- Examples
[1500017400, 1499998500]
Message
- Syntax
$weather.alerts.alerts.message
- Returns
- Returns the full weather alert message
- Examples
[ The National Weather Service in Pleasant Hill has issued a * urban and small stream flood advisory for... Johnson County in east central Kansas... * until 230 am CDT Friday * at 826 PM CDT, Doppler radar indicated heavy rain due to thunderstorms. This will cause urban and small stream flooding in the advisory area. Up to two to three inches of rain have already fallen with an additional one to two inches possible over the next two hours to three hours. * Some locations that will experience flooding include... Overland Park, Olathe, Shawnee, Lenexa, Leawood, Prairie Village, Gardner, Merriam, mission, Bonner Springs, De Soto, Spring Hill, Fairway, Mission Hills, Edgerton, Westwood, Lake quivira, Westwood Hills, Mission Woods and Countryside. Precautionary/preparedness actions... Turn around, don't drown when encountering flooded roads. Most flood deaths occur in vehicles. Be especially cautious at night when it is harder to recognize the dangers of flooding. Lat...Lon 3899 9502 3900 9502 3898 9495 3900 9492 3898 9492 3901 9489 3906 9487 3906 9484 3904 9480 3904 9461 3874 9461 3874 9500 3897 9504 Welsh 828 PM CDT Thu Jul 13 2017 The National Weather Service in Pleasant Hill has issued a * urban and small stream flood advisory for... Johnson County in east central Kansas... * until 230 am CDT Friday * at 826 PM CDT, Doppler radar indicated heavy rain due to thunderstorms. This will cause urban and small stream flooding in the advisory area. Up to two to three inches of rain have already fallen with an additional one to two inches possible over the next two hours to three hours. * Some locations that will experience flooding include... Overland Park, Olathe, Shawnee, Lenexa, Leawood, Prairie Village, Gardner, Merriam, mission, Bonner Springs, De Soto, Spring Hill, Fairway, Mission Hills, Edgerton, Westwood, Lake quivira, Westwood Hills, Mission Woods and Countryside. Precautionary/preparedness actions... Turn around, don't drown when encountering flooded roads. Most flood deaths occur in vehicles. Be especially cautious at night when it is harder to recognize the dangers of flooding. Lat...Lon 3899 9502 3900 9502 3898 9495 3900 9492 3898 9492 3901 9489 3906 9487 3906 9484 3904 9480 3904 9461 3874 9461 3874 9500 3897 9504 Welsh , ...Significant weather advisory for southeastern Johnson... northwestern Cass and southwestern Jackson counties until 915 PM CDT... At 841 PM CDT, Doppler radar was tracking a strong thunderstorm near Belton, moving east at 20 mph. Winds in excess of 40 mph will be possible with this storm. Locations impacted include... Kansas City, Overland Park, Olathe, Lee's Summit, Lenexa, Leawood, Raytown, Grandview, Belton, Prairie Village, Raymore and Stanley. This includes the following highways... Interstate 35 in Kansas near mile marker 222. Interstate 470 between mile markers 0 and 4. Interstate 435 near mile marker 0, and between mile markers 65 and 83. Lat...Lon 3877 9471 3894 9475 3903 9450 3879 9441 time...Mot...loc 0141z 255deg 13kt 3884 9465 Welsh 841 PM CDT Thu Jul 13 2017 ...Significant weather advisory for southeastern Johnson... northwestern Cass and southwestern Jackson counties until 915 PM CDT... At 841 PM CDT, Doppler radar was tracking a strong thunderstorm near Belton, moving east at 20 mph. Winds in excess of 40 mph will be possible with this storm. Locations impacted include... Kansas City, Overland Park, Olathe, Lee's Summit, Lenexa, Leawood, Raytown, Grandview, Belton, Prairie Village, Raymore and Stanley. This includes the following highways... Interstate 35 in Kansas near mile marker 222. Interstate 470 between mile markers 0 and 4. Interstate 435 near mile marker 0, and between mile markers 65 and 83. Lat...Lon 3877 9471 3894 9475 3903 9450 3879 9441 time...Mot...loc 0141z 255deg 13kt 3884 9465 Welsh ]
Phenomena
- Syntax
$weather.alerts.alerts.phenomena
- Returns
- Returns a 2 letter code of the phenomena. (Reference chart on the right)
- Examples
[FA, SP]
Significance
- Syntax
$weather.alerts.alerts.significance
- Arguments
- Returns
- Returns a single letter code of the significance. (Reference chart on the right)
- Examples
[Y, S]
Zones
- Syntax
$weather.alerts.alerts.ZONES
- Returns
- Returns the affected zones in [state: , ZONE: ] format.
- Examples
[[[state:KS, ZONE:105]], [[state:KS, ZONE:105], [state:MO, ZONE:037], [state:MO, ZONE:043]]]
StormBased
- Syntax
$weather.alerts.alerts.StormBased
- Returns
- Returns location inforomation with basic latitude and longitude coordinates for the storm as well as the storms position, heading and speed.
- Examples
[[:], [Vertex_count:4, vertices:[[lon:-94.71, lat:38.77], [lon:-94.75, lat:38.94], [lon:-94.50, lat:39.03], [lon:-94.41, lat:38.79]], stormInfo:[Motion_deg:255, time_epoch:1499910060, position_lon:-94.65, position_lat:38.84, Motion_spd:13]]]
Almanac
- Records within the United States come from the National Weather Service, with approximately 120 reporting stations giving records. Records for the rest of the United States, and locations outside of the United States, come from the data we have stored. These are compiled records and only go as far back as we have data for. The average high and low temperature going back as far as Weather Underground has data for OR from National Weather Service going back 30 years.
- Examples from July 13th
Airport_code
- Syntax
$weather.alerts.alerts.airport_code
- Returns
- Returns the observed location.
- Examples
KIXD
Temp_high.normal.F
- Syntax
$weather.alerts.alerts.temp_high.normal.F
- Returns
- Returns the average high temperature in fahrenheit.
- Examples
87
Temp_high.normal.C
- Syntax
$weather.alerts.alerts.temp_high.normal.C
- Returns
- Returns the average high temperature in celsius.
- Examples
30
Temp_high.record.F
- Syntax
$weather.alerts.alerts.temp_high.record.F
- Returns
- Returns the highest temperature in fahrenheit measured on this date.
- Examples
98
Temp_high.record.C
- Syntax
$weather.alerts.alerts.temp_high.record.C
- Returns
- Returns the highest temperature in celsius measured on this date.
- Examples
36
Temp_high.recordyear
- Syntax
$weather.alerts.alerts.temp_high.recordyear
- Returns
- Returns the year the highest temperature was measured on this date.
- Examples
2004
Temp_low.normal.F
- Syntax
$weather.alerts.alerts.temp_low.normal.F
- Returns
- Returns the average low temperature in fahrenheit.
- Examples
66
Temp_low.normal.C
- Syntax
$weather.alerts.alerts.temp_low.normal.C
- Returns
- Returns the average low temperature in celsius.
- Examples
18
Temp_low.record.F
- Syntax
$weather.alerts.alerts.temp_low.record.F
- Returns
- Returns the lowest temperature in fahrenheit measured on this date.
- Examples
57
Temp_low.record.C
- Syntax
$weather.alerts.alerts.temp_low.record.C
- Returns
- Returns the lowest temperature in celsius measured on this date.
- Examples
13
Temp_low.recordyear
- Syntax
$weather.alerts.alerts.temp_low.recordyear
- Returns
- Returns the year the lowest temperature was measured on this date.
- Examples
1999
Conditions
- Returns the current temperature, weather condition, humidity, wind, 'feels like' temperature, barometric pressure, and visibility.
Weather
- Syntax
$weather.conditions.current_observation.weather
- Returns
- Returns the description of the current weather.
- Example
Light Rain
Temperature_string
- Syntax
$weather.conditions.current_observation.temperature_string
- Returns
- Returns a string value with temperature in fahrenheit and celsius.
- Example
71.1 F (21.7 C)
Temp_f
- Syntax
$weather.conditions.current_observation.temp_f
- Returns
- Returns a decimal of the temperature in fahrenheit.
- Example
71.1
Temp_C
- Syntax
$weather.conditions.current_observation.temp_c
- Returns
- Returns a decimal of the temperature in celsius.
- Example
21.7
Relative_humidity
- Syntax
$weather.conditions.current_observation.relative_humidity
- Returns
- Returns the relative humidity with percent sign.
- Example
88%
Wind_string
- Syntax
$weather.conditions.current_observation.wind_string
- Returns
- Returns a string value with description of the wind.
- Example
From the SSW at 2.0 MPH
Wind_dir
- Syntax
$weather.conditions.current_observation.wind_dir
- Returns
- Returns a string value of the current wind direction.
- Example
West
Wind_degrees
- Syntax
$weather.conditions.current_observation.wind_degrees
- Returns
- Returns an integer value of the winds degree.
- Example
270
Wind_mph
- Syntax
$weather.conditions.current_observation.wind_mph
- Returns
- Returns a decimal value of the current wind MPH.
- Example
1.0
Wind_gust_mph
- Syntax
$weather.conditions.current_observation.wind_gust_mph
- Returns
- Returns an integer value of wind gust MPH.
- Example
0
Wind_kph
- Syntax
$weather.conditions.current_observation.wind_kph
- Returns
- Returns a decimal value of the current wind KPH.
- Example
0
Wind_gust_kph
- Syntax
$weather.conditions.current_observation.wind_gust_kph
- Returns
- Returns an integer value of wind gust KPH.
- Example
0
Pressure_mb
- Syntax
$weather.conditions.current_observation.pressure_mb
- Returns
- Returns an integer of current pressure in millibars.
- Example
1019
Pressure_in
- Syntax
$weather.conditions.current_observation.pressure_in
- Returns
- Returns a decimal of current pressure in inches.
- Example
30.09
Pressure_trend
- Syntax
$weather.conditions.current_observation.pressure_trend
- Returns
- Returns a positive (+) or negative (-) sign of pressure trend.
- Example
+
Dewpoint_string
- Syntax
$weather.conditions.current_observation.dewpoint_string
- Returns
- Returns a string value of current dewpoint temperatures in fahrenheit and celsius.
- Example
68 F (20 C)
Dewpoint_f
- Syntax
$weather.conditions.current_observation.dewpoint_f
- Returns
- Returns an integer of the current dewpoint in fahrenheit.
- Example
68
Dewpoint_c
- Syntax
$weather.conditions.current_observation.dewpoint_c
- Returns
- Returns an integer of the current dewpoint in celsius.
- Example
20
Heat_index_string
- Syntax
$weather.conditions.current_observation.heat_index_string
- Returns
- Returns a string of the current heat index.
- Example
(TODO)
Heat_index_f
- Syntax
$weather.conditions.current_observation.heat_index_f
- Returns
- Returns (TODO).
- Example
(TODO)
Heat_index_c
- Syntax
$weather.conditions.current_observation.heat_index_c
- Returns
- Returns (TODO).
- Example
(TODO)
Windchill_string
- Syntax
$weather.conditions.current_observation.windchill_string
- Returns
- Returns (TODO).
- Example
(TODO)
Windchill_f
- Syntax
$weather.conditions.current_observation.windchill_f
- Returns
- Returns (TODO).
- Example
(TODO)
Windchill_c
- Syntax
$weather.conditions.current_observation.windchill_c
- Returns
- Returns (TODO).
- Example
(TODO)
Feelslike_string
- Syntax
$weather.conditions.current_observation.feelslike_string
- Returns
- Returns a string with current feels like temperatures in fahrenheit and celsius.
- Example
71.0 F (21.7 C)
Feelslike_f
- Syntax
$weather.conditions.current_observation.feelslike_f
- Returns
- Returns a decimal of current feels like temperature in fahrenheit.
- Example
71
Feelslike_c
- Syntax
$weather.conditions.current_observation.feelslike_c
- Returns
- Returns a decimal of current feels like temperature in celsius.
- Example
21.7
Visibility_mi
- Syntax
$weather.conditions.current_observation.visibility_mi
- Returns
- Returns a decimal of current visibility in miles.
- Example
10.0
Visibility_km
- Syntax
$weather.conditions.current_observation.visibility_km
- Returns
- Returns a decimal of current visibility in kilometers.
- Example
16.1
Solarradiation
- Syntax
$weather.conditions.current_observation.solarradiation
- Returns
- Returns (TODO).
- Example
(TODO)
UV
- Syntax
$weather.conditions.current_observation.UV
- Returns
- Returns an integer of current UV.
- Example
0
Precip_1hr_string
- Syntax
$weather.conditions.current_observation.precip_1hr_string
- Returns
- Returns a string of precipitation in the past hour in inches and millimeters.
- Example
0.01 in ( 0 mm)
Precip_1hr_in
- Syntax
$weather.conditions.current_observation.precip_1hr_in
- Returns
- Returns a decimal of precipitation in the past hour in inches.
- Example
0.01
Precip_1hr_metric
- Syntax
$weather.conditions.current_observation.precip_1hr_metric
- Returns
- Returns a decimal of precipitation in the past hour in millimeters.
- Example
0
Precip_today_string
- Syntax
$weather.conditions.current_observation.precip_today_string
- Returns
- Returns a string of precipitation in total for the day in inches and millimeters.
- Example
0.49 in (12 mm)
Precip_today_in
- Syntax
$weather.conditions.current_observation.precip_today_in
- Returns
- Returns a decimal of precipitation in total for the day in inches.
- Example
0.49
Precip_today_metric
- Syntax
$weather.conditions.current_observation.precip_today_metric
- Returns
- Returns a decimal of precipitation in total for the day in millimeters.
- Example
12