Done.
$twcweather.alerts Observations
I have 4 active alerts right now.
Severe Thunderstorm Warning
River Flood Warning
Flash Flood Watch
Special Weather Statement
Nothing new, but this is the first time I’ve seen 4 active.
Flash Food Watch / Severe Thunderstorm Warning / River Flood Warning - combined alert
[[adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHZ010, areaName:Lorain County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:966040b5-6c75-35ba-a4e3-86be68520f1a, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Flash Flood Watch, eventTrackingNumber:0001, expireTimeLocal:2020-03-29T12:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585497600, flood:[floodCrestTimeLocal:null, floodCrestTimeLocalTimeZone:null, floodEndTimeLocal:null, floodEndTimeLocalTimeZone:null, floodImmediateCause:Excessive Rainfall, floodImmediateCauseCode:ER, floodLocationId:00000, floodLocationName:N/A, floodRecordStatus:N/A, floodRecordStatusCode:OO, floodSeverity:N/A, floodSeverityCode:0, floodStartTimeLocal:null, floodStartTimeLocalTimeZone:null], headlineText:Flash Flood Watch until SUN 12:00 PM EDT, ianaTimeZone:America/New_York, identifier:0dc278e2c990c2da5ce01c0d0d5c61e8, issueTimeLocal:2020-03-28T11:33:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:Update, messageTypeCode:2, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:FF, processTimeUTC:1585409596, productIdentifier:FFA, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Moderate, severityCode:3, significance:A, source:National Weather Service, urgency:Unknown, urgencyCode:5], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Observed, certaintyCode:1, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:8d7f9636-4529-35b5-8c92-57aa1e7a62fa, disclaimer:null, effectiveTimeLocal:2020-03-28T12:56:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Severe Thunderstorm Warning, eventTrackingNumber:0013, expireTimeLocal:2020-03-28T13:30:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585416600, flood:null, headlineText:Severe Thunderstorm Warning from SAT 12:56 PM EDT until SAT 1:30 PM EDT, ianaTimeZone:America/New_York, identifier:3b6b09cfac2c840992144c0d3944e9a6, issueTimeLocal:2020-03-28T12:56:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-03-28T12:56:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:SV, processTimeUTC:1585414596, productIdentifier:SVR, responseTypes:[[responseType:Shelter, responseTypeCode:1]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Immediate, urgencyCode:1], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:7e33d6c5-d000-39a3-bf65-0042b3ab40a3, disclaimer:null, effectiveTimeLocal:2020-03-28T15:20:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:River Flood Warning, eventTrackingNumber:0021, expireTimeLocal:2020-03-29T19:15:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585523700, flood:[floodCrestTimeLocal:2020-03-29T02:00:00-04:00, floodCrestTimeLocalTimeZone:EDT, floodEndTimeLocal:2020-03-29T13:15:00-04:00, floodEndTimeLocalTimeZone:EDT, floodImmediateCause:Excessive Rainfall, floodImmediateCauseCode:ER, floodLocationId:ELRO1, floodLocationName:Black River at Elyria, floodRecordStatus:A record flood is not expected, floodRecordStatusCode:NO, floodSeverity:Minor, floodSeverityCode:1, floodStartTimeLocal:2020-03-28T15:20:00-04:00, floodStartTimeLocalTimeZone:EDT], headlineText:River Flood Warning from SAT 3:20 PM EDT until SUN 7:15 PM EDT, ianaTimeZone:America/New_York, identifier:d9e5920fc20e17d3d6eab505fecdd35a, issueTimeLocal:2020-03-28T12:37:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-03-28T15:20:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:FL, processTimeUTC:1585413478, productIdentifier:FLW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Unknown, urgencyCode:5]]
Thank you @dejavux2 for the astute observation…
I actually found a new dataPoint for River Flood Warning:
productIdentifier:FLW
and have added it to the Wiki.
Wind Advisory (mixed in with 2 others) We have so much going on today in the weather…
[[adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHZ010, areaName:Lorain County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:966040b5-6c75-35ba-a4e3-86be68520f1a, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Flash Flood Watch, eventTrackingNumber:0001, expireTimeLocal:2020-03-29T12:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585497600, flood:[floodCrestTimeLocal:null, floodCrestTimeLocalTimeZone:null, floodEndTimeLocal:null, floodEndTimeLocalTimeZone:null, floodImmediateCause:Excessive Rainfall, floodImmediateCauseCode:ER, floodLocationId:00000, floodLocationName:N/A, floodRecordStatus:N/A, floodRecordStatusCode:OO, floodSeverity:N/A, floodSeverityCode:0, floodStartTimeLocal:null, floodStartTimeLocalTimeZone:null], headlineText:Flash Flood Watch until SUN 12:00 PM EDT, ianaTimeZone:America/New_York, identifier:dde58afb13e473e12f7a8fade9dc7c24, issueTimeLocal:2020-03-28T16:07:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:Update, messageTypeCode:2, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:FF, processTimeUTC:1585426048, productIdentifier:FFA, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Moderate, severityCode:3, significance:A, source:National Weather Service, urgency:Unknown, urgencyCode:5], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:7e33d6c5-d000-39a3-bf65-0042b3ab40a3, disclaimer:null, effectiveTimeLocal:2020-03-28T15:20:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:River Flood Warning, eventTrackingNumber:0021, expireTimeLocal:2020-03-29T19:15:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585523700, flood:[floodCrestTimeLocal:2020-03-29T02:00:00-04:00, floodCrestTimeLocalTimeZone:EDT, floodEndTimeLocal:2020-03-29T13:15:00-04:00, floodEndTimeLocalTimeZone:EDT, floodImmediateCause:Excessive Rainfall, floodImmediateCauseCode:ER, floodLocationId:ELRO1, floodLocationName:Black River at Elyria, floodRecordStatus:A record flood is not expected, floodRecordStatusCode:NO, floodSeverity:Minor, floodSeverityCode:1, floodStartTimeLocal:2020-03-28T15:20:00-04:00, floodStartTimeLocalTimeZone:EDT], headlineText:River Flood Warning from SAT 3:20 PM EDT until SUN 7:15 PM EDT, ianaTimeZone:America/New_York, identifier:d9e5920fc20e17d3d6eab505fecdd35a, issueTimeL:ocal:2020-03-28T12:37:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-03-28T15:20:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:FL, processTimeUTC:1585413478, productIdentifier:FLW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Unknown, urgencyCode:5], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHZ010, areaName:Lorain County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:5d1542e1-3bf1-33d9-a5b4-f6c78e89f554, disclaimer:null, effectiveTimeLocal:2020-03-29T10:00:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Wind Advisory, eventTrackingNumber:0003, expireTimeLocal:2020-03-29T20:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585526400, flood:null, headlineText:Wind Advisory from SUN 10:00 AM EDT until SUN 8:00 PM EDT, ianaTimeZone:America/New_York, identifier:38543699915ed9a40b0f0dfd2e4ed12c, issueTimeLocal:2020-03-28T15:55:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-03-29T10:00:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:WI, processTimeUTC:1585425362, productIdentifier:NPW, responseTypes:[[responseType:Execute, responseTypeCode:4]], severity:Moderate, severityCode:3, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2]]
Thanks @dejavux2…
I looked over your last post, but I could not find anything new to add to the Wiki
…
[ [ adminDistrict:Ohio,
adminDistrictCode:OH,
areaId:OHZ010,
areaName:Lorain County,
areaTypeCode:Z,
categories:[ [
category:Met,
categoryCode:2
]
],
certainty:Unknown,
certaintyCode:5,
countryCode:US,
countryName:UNITED STATES OF AMERICA,
detailKey:966040b5-6c75-35ba-a4e3-86be68520f1a,
disclaimer:null,
effectiveTimeLocal:null,
effectiveTimeLocalTimeZone:null,
eventDescription:Flash Flood Watch,
eventTrackingNumber:0001,
expireTimeLocal:2020-03-29T12:00:00-04:00,
expireTimeLocalTimeZone:EDT,
expireTimeUTC:1585497600,
flood:[
floodCrestTimeLocal:null,
floodCrestTimeLocalTimeZone:null,
floodEndTimeLocal:null,
floodEndTimeLocalTimeZone:null,
floodImmediateCause:Excessive Rainfall,
floodImmediateCauseCode:ER,
floodLocationId:00000,
floodLocationName:N/A,
floodRecordStatus:N/A,
floodRecordStatusCode:OO,
floodSeverity:N/A,
floodSeverityCode:0,
floodStartTimeLocal:null,
floodStartTimeLocalTimeZone:null
],
headlineText:Flash Flood Watch until SUN 12:00 PM EDT,
ianaTimeZone:America/New_York,
identifier:dde58afb13e473e12f7a8fade9dc7c24,
issueTimeLocal:2020-03-28T16:07:00-04:00,
issueTimeLocalTimeZone:EDT,
latitude:0,
longitude:0,
messageType:Update,
messageTypeCode:2,
officeAdminDistrict:Ohio,
officeAdminDistrictCode:OH,
officeCode:KCLE,
officeCountryCode:US,
officeName:Cleveland,
onsetTimeLocal:null,
onsetTimeLocalTimeZone:null,
phenomena:FF,
processTimeUTC:1585426048,
productIdentifier:FFA,
responseTypes:[ [
responseType:Avoid,
responseTypeCode:5
]
],
severity:Moderate,
severityCode:3,
significance:A,
source:National Weather Service,
urgency:Unknown,
urgencyCode:5
],
[ adminDistrict:Ohio,
adminDistrictCode:OH,
areaId:OHC093,
areaName:Lorain County,
areaTypeCode:C,
categories:[ [
category:Met,
categoryCode:2
]
],
certainty:Unknown,
certaintyCode:5,
countryCode:US,
countryName:UNITED STATES OF AMERICA,
detailKey:7e33d6c5-d000-39a3-bf65-0042b3ab40a3,
disclaimer:null,
effectiveTimeLocal:2020-03-28T15:20:00-04:00,
effectiveTimeLocalTimeZone:EDT,
eventDescription:River Flood Warning,
eventTrackingNumber:0021,
expireTimeLocal:2020-03-29T19:15:00-04:00,
expireTimeLocalTimeZone:EDT,
expireTimeUTC:1585523700,
flood:[
floodCrestTimeLocal:2020-03-29T02:00:00-04:00,
floodCrestTimeLocalTimeZone:EDT,
floodEndTimeLocal:2020-03-29T13:15:00-04:00,
floodEndTimeLocalTimeZone:EDT,
floodImmediateCause:Excessive Rainfall,
floodImmediateCauseCode:ER,
floodLocationId:ELRO1,
floodLocationName:Black River at Elyria,
floodRecordStatus:A record flood is not expected,
floodRecordStatusCode:NO,
floodSeverity:Minor,
floodSeverityCode:1,
floodStartTimeLocal:2020-03-28T15:20:00-04:00,
floodStartTimeLocalTimeZone:EDT
],
headlineText:River Flood Warning from SAT 3:20 PM EDT until SUN 7:15 PM EDT,
ianaTimeZone:America/New_York,
identifier:d9e5920fc20e17d3d6eab505fecdd35a,
issueTimeL:ocal:2020-03-28T12:37:00-04:00,
issueTimeLocalTimeZone:EDT,
latitude:0,
longitude:0,
messageType:New,
messageTypeCode:1,
officeAdminDistrict:Ohio,
officeAdminDistrictCode:OH,
officeCode:KCLE,
officeCountryCode:US,
officeName:Cleveland,
onsetTimeLocal:2020-03-28T15:20:00-04:00,
onsetTimeLocalTimeZone:EDT,
phenomena:FL,
processTimeUTC:1585413478,
productIdentifier:FLW,
responseTypes:[ [
responseType:Avoid,
responseTypeCode:5
]
],
severity:Severe,
severityCode:2,
significance:W,
source:National Weather Service,
urgency:Unknown,
urgencyCode:5
],
[ adminDistrict:Ohio,
adminDistrictCode:OH,
areaId:OHZ010,
areaName:Lorain County,
areaTypeCode:Z,
categories:[ [
category:Met,
categoryCode:2
]
],
certainty:Likely,
certaintyCode:2,
countryCode:US,
countryName:UNITED STATES OF AMERICA,
detailKey:5d1542e1-3bf1-33d9-a5b4-f6c78e89f554,
disclaimer:null,
effectiveTimeLocal:2020-03-29T10:00:00-04:00,
effectiveTimeLocalTimeZone:EDT,
eventDescription:Wind Advisory,
eventTrackingNumber:0003,
expireTimeLocal:2020-03-29T20:00:00-04:00,
expireTimeLocalTimeZone:EDT,
expireTimeUTC:1585526400,
flood:null,
headlineText:Wind Advisory from SUN 10:00 AM EDT until SUN 8:00 PM EDT,
ianaTimeZone:America/New_York,
identifier:38543699915ed9a40b0f0dfd2e4ed12c,
issueTimeLocal:2020-03-28T15:55:00-04:00,
issueTimeLocalTimeZone:EDT,
latitude:0,
longitude:0,
messageType:New,
messageTypeCode:1,
officeAdminDistrict:Ohio,
officeAdminDistrictCode:OH,
officeCode:KCLE,
officeCountryCode:US,
officeName:Cleveland,
onsetTimeLocal:2020-03-29T10:00:00-04:00,
onsetTimeLocalTimeZone:EDT,
phenomena:WI,
processTimeUTC:1585425362,
productIdentifier:NPW,
responseTypes:[ [
responseType:Execute,
responseTypeCode:4
]
],
severity:Moderate,
severityCode:3,
significance:Y,
source:National Weather Service,
urgency:Expected,
urgencyCode:2
]
]
Did I miss something?
Did you have: “phenomena:WI” already?
Now that I look over it again, I’m not seeing anything else.
Received an alert yesterday. The only new data point that I see is eventTackingNumber:0009 related to Dense Fog. Not sure the significance but here ya go.
[ [ adminDistrict:Virginia,
adminDistrictCode:VA,
areaId:VAZ051,
areaName:Culpeper County,
areaTypeCode:Z,
categories:[ [
category:Met,
categoryCode:2
]
],
certainty:Likely,
certaintyCode:2,
countryCode:US,
countryName:UNITED STATES OF AMERICA,
detailKey:6265c320-8725-36b7-8be5-d650f4912b5e,
disclaimer:null,
effectiveTimeLocal:null,
effectiveTimeLocalTimeZone:null,
eventDescription:Dense Fog Advisory,
eventTrackingNumber:0009,
expireTimeLocal:2020-03-29T09:00:00-04:00,
expireTimeLocalTimeZone:EDT,
expireTimeUTC:1585486800,
flood:null,
headlineText:Dense Fog Advisory until SUN 9:00 AM EDT,
ianaTimeZone:America/New_York,
identifier:6b00545218bad4349949c9eea999568b,
issueTimeLocal:2020-03-29T05:49:00-04:00,
issueTimeLocalTimeZone:EDT,
latitude:XX.XX,
longitude:XX.XX,
messageType:New,
messageTypeCode:1,
officeAdminDistrict:Maryland,
officeAdminDistrictCode:MD,
officeCode:KLWX,
officeCountryCode:US,
officeName:Baltimore/Washington,
onsetTimeLocal:null,
onsetTimeLocalTimeZone:null,
phenomena:FG,
processTimeUTC:1585475379,
productIdentifier:NPW,
responseTypes:[ [
responseType:Execute,
responseTypeCode:4
]
],
severity:Moderate,
severityCode:3,
significance:Y,
source:National Weather Service,
urgency:Expected,
urgencyCode:2
]
]
Thanks, @fieldsjm… I have added that to the Wiki.
I sure wish we had enough information to determine what “eventTrackingNumber” is for…
I just found a TWC document that lists some new dataPoints… (not found on our Wiki
)
I am hoping that some people with an active alert can test these commands in an Expression
box, and report their findings here…
- $twcweather.alerts.details
- $twcweather.alerts.details.class
- $twcweather.alerts.details.phenomena
- $twcweather.alerts.details.disclaimer
- $twcweather.alerts.details.text
- $twcweather.alerts.details.text.description
- $twcweather.alerts.details.text.instruction
- $twcweather.alerts.details.text.overview
(They should return [] if there is no active alert for your area)
Those last three (if they work) will be incredibly valuable to our programming…
No Dice…I have an active alert
(expression) $twcweather.alerts »»» (dynamic) [[adminDistrict:Virginia, adminDistrictCode:VA, areaId:VAZ051, areaName:Culpeper County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:bb1fb552-88c8-3d2a-a21d-46b0076c81d9, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Special Weather Statement, eventTrackingNumber:0000, expireTimeLocal:2020-03-30T16:15:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1585599300, flood:null, headlineText:Special Weather Statement until MON 4:15 PM EDT, ianaTimeZone:America/New_York, identifier:e873d3e703dff6875aebef3d9c290222, issueTimeLocal:2020-03-30T10:01:00-04:00, issueTimeLocalTimeZone:EDT, latitude:xx, longitude:xx, messageType:New, messageTypeCode:1, officeAdminDistrict:Maryland, officeAdminDistrictCode:MD, officeCode:KLWX, officeCountryCode:US, officeName:Baltimore/Washington, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:TSL, processTimeUTC:1585576911, productIdentifier:SPS, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:S, source:National Weather Service, urgency:Unknown, urgencyCode:5]]
(expression) $twcweather.alerts.details »»» (dynamic) [null]
(expression) $twcweather.alerts.details.class »»» (dynamic) []
(expression) $twcweather.alerts.details.phenomena »»» (dynamic) []
(expression) $twcweather.alerts.details.disclaimer »»» (dynamic) []
(expression) $twcweather.alerts.details.text »»» (dynamic) []
(expression) $twcweather.alerts.details.text »»» (dynamic) []
(expression) $twcweather.alerts.details.text.instruction »»» (dynamic) []
(expression) $twcweather.alerts.details.text.overview »»» (dynamic) []
(expression) $twcweather.alerts.details.text.overview[0] »»» (dynamic) null
(expression) $twcweather.alerts.details.text[0].overview »»» (dynamic)
(expression) $twcweather.alerts.details[0].text.overview »»» (dynamic)
Even tried some variations at the end, any others while it’s acitve?
Thank you for testing!
You can try dropping the string “details.
”
- $twcweather.alerts.class
- $twcweather.alerts.text
- $twcweather.alerts.text.description
- $twcweather.alerts.text.instruction
- $twcweather.alerts.text.overview
(expression) $twcweather.alerts.class »»» (dynamic) [null]
(expression) $twcweather.alerts.text »»» (dynamic) [null]
(expression) $twcweather.alerts.text.description »»» (dynamic) []
(expression) $twcweather.alerts.text.instruction »»» (dynamic) []
(expression) $twcweather.alerts.text.overview »»» (dynamic) []
(expression) $twcweather.alerts.overview »»» (dynamic) [null]
(expression) $twcweather.alerts.instruction »»» (dynamic) [null]
(expression) $twcweather.alerts.description »»» (dynamic) [null]
(expression) $twcweather.alerts.details.instruction »»» (dynamic) []
(expression) $twcweather.alerts.details.overview »»» (dynamic) []
(expression) $twcweather.alerts.details.description »»» (dynamic) []
Threw in a few variations on the “text” string as well
Grrr… Well thank you for testing. Guess I am still shooting blind, LOL
Just for clarity, can you please test to make sure that your alert is still active?
$twcweather.alerts
Side Note:
Maybe someone else can try to decipher the JSON example here…
(With no alerts in my location, it is very hard for me to test)
Here is a copy / paste from that page, so it is a bit easier to read.
(most of the new data is found under the section “text”)
get /v1/alert/{detail_key}/details.json
{
"metadata": {
"version": "v1",
"transaction_id": "1407766348658:1285362530",
"expire_time_gmt": 1373914800,
"language": "en-US"
},
"alerts": [
{
"class": "bulletin",
"key": "77128ec9-cebe-46b2-8d72-d1f6860454e7",
"msg_type_cd": 1,
"msg_type": "New",
"pil": "TOR",
"phenomena": "TO",
"significance": "W",
"etn": "0003",
"office_cd": "KTFX",
"event_desc": "Tornado Warning",
"severity_cd": 1,
"severity": "Severe",
"area_type": "C",
"lat": 48.65,
"lon": -113.13,
"area_id": "MTC035",
"area_name": "Glacier",
"cntry_cd": "USA",
"cntry_name": "United States",
"headline_text": "Tornado Warning in effect until 8AM EDT WED",
"source": "National Weather Service",
"disclaimer": "Time delays between this website and <a href='http://meteoalarm.eu/'>Meteoalarm.eu</a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, visit <a href='http://meteoalarm.eu/'>Meteoalarm</a>.",
"issue_dt_tm_local": "2014-09-19T09:45:00-06:00",
"issue_dt_tm_tz_abbrv": "EDT",
"identifier": "a463d8adbd563a981673b1beab2b04994e80078a",
"proc_dt_tm_local": "2014-10-01T10:00:00-04:00",
"proc_dt_tm_tz_abbrv": "EST",
"office_name": "Great Falls",
"office_st_cd": "MT",
"office_cntry_cd": "US",
"st_cd": "MT",
"st_name": "Montana",
"categories": [
{
"category": "Met",
"category_cd": 2
}
],
"response_types": [
{
"response_type": "Evacuate",
"response_type_cd": 2,
"urgency": "Expected",
"urgency_cd": 2,
"certainty": "Observed",
"certainty_cd": 1,
"effective_dt_tm_local": "2014-10-03T11:01:00-04:00",
"expire_dt_tm_local": "2014-09-19T09:45:00-06:00",
"expire_time_gmt": 1373914800,
"effective_dt_tm_tz_abbrv": "EDT",
"expire_dt_tm_tz_abbrv": "EDT",
"onset_dt_tm_local": "2014-10-03T11:01:00-04:00",
"onset_dt_tm_tz_abbrv": "EDT"
}
],
"text": [
{
"language_cd": "en-US",
"description": "WINDS...NORTH WINDS WILL INCREASE RAPIDLY TONIGHT AND GUST TO 45 MPH AFTER MIDNIGHT ALONG THE LAKE SUPERIOR SHORELINE.",
"instruction": "A LAKESHORE FLOOD ADVISORY INDICATES THAT ONSHORE WINDS WILL GENERATE FLOODING OF LOW AREAS ALONG THE LAKESHORE.",
"overview": "string"
}
],
"polygon": [
{
"lat": 48.65,
"lon": -83.13
}
],
"flood": {
"fld_location_id": "SMBM8",
"fld_location_name": "Saint Mary River at International boundary",
"fld_severity_cd": "1",
"fld_severity": "Minor",
"fld_immediate_cause_cd": "ER",
"fld_immediate_cause": "Excessive Rainfall",
"fld_record_status_cd": "NO",
"fld_record_status": "A record flood is not expected",
"fld_start_dt_tm_local": "2014-10-03T11:01:00-04:00",
"fld_start_dt_tm_tz_abbrv": "EDT",
"fld_crest_dt_tm_local": "2014-10-03T11:01:00-04:00",
"fld_crest_dt_tm_tz_abbrv": "EDT",
"fld_end_dt_tm_local": "2014-10-03T11:01:00-04:00",
"fld_end_dt_tm_tz_abbrv": "EDT"
}
}
]
}
It seems silly to give us the name of an alert, without also giving us the description, instruction & overview…
We got the ALL CLEAR…
There is a Tornado Warning in the following. I just happen to be in webCoRE when it was announced, so I hurried up and copied it. Waited for the “all clear” before posting:
$twcweather.alerts[0].eventDescription
“Tornado Warning”
“Severe Thunderstorm Warning”
“Severe Thunderstorm Watch”
$twcweather.alerts[0].headlineText
“Tornado Warning from TUE 11:29 PM EDT until WED 12:00 AM EDT”
“Severe Thunderstorm Warning from TUE 11:38 PM EDT until WED 12:45 AM EDT”
“Severe Thunderstorm Watch from TUE 9:08 PM EDT until WED 3:00 AM EDT”
$twcweather.alerts
[[adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Observed, certaintyCode:1, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:c628f926-f4e2-3b25-a71c-cddf36c9f9dd, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Severe Thunderstorm Warning, eventTrackingNumber:0024, expireTimeLocal:2020-04-07T23:45:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1586317500, flood:null, headlineText:Severe Thunderstorm Warning until TUE 11:45 PM EDT, ianaTimeZone:America/New_York, identifier:36383cef05dcf6d66c97df2b547987c9, issueTimeLocal:2020-04-07T23:34:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:Update, messageTypeCode:2, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:SV, processTimeUTC:1586316873, productIdentifier:SVS, responseTypes:[[responseType:Shelter, responseTypeCode:1]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Immediate, urgencyCode:1], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Observed, certaintyCode:1, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:a08666e6-075c-3c34-b525-bcaf4f28c802, disclaimer:null, effectiveTimeLocal:2020-04-07T23:29:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Tornado Warning, eventTrackingNumber:0001, expireTimeLocal:2020-04-08T00:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1586318400, flood:null, headlineText:Tornado Warning from TUE 11:29 PM EDT until WED 12:00 AM EDT, ianaTimeZone:America/New_York, identifier:415338d879ca30f56604ccac03993c32, issueTimeLocal:2020-04-07T23:29:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-04-07T23:29:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:TO, processTimeUTC:1586316578, productIdentifier:TOR, responseTypes:[[responseType:Shelter, responseTypeCode:1]], severity:Extreme, severityCode:1, significance:W, source:National Weather Service, urgency:Immediate, urgencyCode:1], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Observed, certaintyCode:1, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:328c80fc-de0b-3c73-b4f4-992cd3f9617d, disclaimer:null, effectiveTimeLocal:2020-04-07T23:38:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Severe Thunderstorm Warning, eventTrackingNumber:0028, expireTimeLocal:2020-04-08T00:45:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1586321100, flood:null, headlineText:Severe Thunderstorm Warning from TUE 11:38 PM EDT until WED 12:45 AM EDT, ianaTimeZone:America/New_York, identifier:19e72c9332602d7e9e5f198410ddc71c, issueTimeLocal:2020-04-07T23:38:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-04-07T23:38:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:SV, processTimeUTC:1586317101, productIdentifier:SVR, responseTypes:[[responseType:Shelter, responseTypeCode:1]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Immediate, urgencyCode:1], [adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHC093, areaName:Lorain County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Possible, certaintyCode:3, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:af9354d0-a476-3213-aea0-a613fd240596, disclaimer:null, effectiveTimeLocal:2020-04-07T21:08:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Severe Thunderstorm Watch, eventTrackingNumber:0084, expireTimeLocal:2020-04-08T03:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1586329200, flood:null, headlineText:Severe Thunderstorm Watch from TUE 9:08 PM EDT until WED 3:00 AM EDT, ianaTimeZone:America/New_York, identifier:51e107459d37edce1ab2603142329105, issueTimeLocal:2020-04-07T21:08:00-04:00, issueTimeLocalTimeZone:EDT, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:2020-04-07T21:08:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:SV, processTimeUTC:1586308146, productIdentifier:WCN, responseTypes:[[responseType:Monitor, responseTypeCode:6]], severity:Severe, severityCode:2, significance:A, source:National Weather Service, urgency:Future, urgencyCode:3]]