$twcweather.alerts Observations

weather

#199

@WCmore Just noticed this one in my logs, it doesn’t appear like it already exists but it also doesn’t appear to have all the info due to logs shortening it.

adminDistrict:Florida, adminDistrictCode:FL, areaId:FLZ046, areaName:Seminole County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:8126dcb0-e35f-398b-a80a-7bf2e9c9fe2a, disclaimer:null, effectiveTimeLocal:2020-01-21T22:00:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Wind Chill Advisory, eventTrackingNumber:0001, expireTimeLocal:2020-01-22T09:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1579701600, flood:null, headlineText:Wind Chill Advisory from TUE 10:00 PM EST until WED 9:00 AM EST, ianaTimeZone:America/New_York, identifier:8cf38fe5261c7c5e4b02bb11895cc44b, issueTimeLocal:2020-01-21T15:18:00-05:00, issueTimeLocalTimeZone:EST, messageType:Update, messageTypeCode:2, officeAdminDistrict:Florida, officeAdminDistrictCode:FL, officeCode:KMLB, officeCountryCode:US, officeName:Melbourne, onsetTimeLocal:2020-01-21…[TRUNCATED]


#200

Thank you both for your contributions. I will add the new info to the Wiki on my next day off.


#201

[[adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNC093, areaName:Knox County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:1eecbbd9-446c-3aba-9f3f-0c452780ffae, disclaimer:null, effectiveTimeLocal:2020-02-06T09:03:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Flood Warning, eventTrackingNumber:0011, expireTimeLocal:2020-02-06T15:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1581019200, 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:Flood Warning from THU 9:03 AM EST until THU 3:00 PM EST, ianaTimeZone:America/New_York, identifier:af731dd822caf9f63f4c3264897fbfe5, issueTimeLocal:2020-02-06T09:03:00-05:00, issueTimeLocalTimeZone:EST, latitude:35.99, longitude:-83.93, messageType:New, messageTypeCode:1, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:2020-02-06T09:03:00-05:00, onsetTimeLocalTimeZone:EST, phenomena:FA, processTimeUTC:1580997796, productIdentifier:FLW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Unknown, urgencyCode:5], [adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNZ069, areaName:Knox County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:ba438c33-970d-3d9f-8fec-fc6a38045e4c, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Flash Flood Watch, eventTrackingNumber:0001, expireTimeLocal:2020-02-07T01:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1581055200, 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 FRI 1:00 AM EST, ianaTimeZone:America/New_York, identifier:01f78452913515525cec68c7bc8190b7, issueTimeLocal:2020-02-06T09:25:00-05:00, issueTimeLocalTimeZone:EST, latitude:00.00, longitude:00.00, messageType:Update, messageTypeCode:2, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:FF, processTimeUTC:1580999156, productIdentifier:FFA, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Moderate, severityCode:3, significance:A, source:National Weather Service, urgency:Unknown, urgencyCode:5]]


#202

I offer this piston up for review/critique/duplication/edit/use to anyone wishing to help with TWC weather alert notifications. This piston compares new alerts to our current known wiki database. New alerts can be sent as singles like [Special Weather Statement] or as multiples [Special Weather Statement], [Tropical Storm Watch], [Tornado Watch], so I needed to parse them. This piston will hopefully cut down on the number of known/null alerts and notify us of new alerts that need to be added to the wiki. Please feel free to make comments or suggestions.


#203

I like what you are doing here, @Pantheon

A couple of questions though:

(1) Why are you querying “$twcweather.alerts.eventDescription” at least four times back-to-back?!?

(I recommend only one query per run, and then referencing the variable that you just set for the remainder of the piston)


(2) Why are you setting the same data to three different variables? (lines 30, 34 & 35)


(3) This one is petty, but it looks like you are stripping down {weatherAlertCurrent} so it no longer contains the current alert. If it were me, I would leave that data intact to display the entire alert, but use a new variable {alertParse} to specifically track the new data…

Again, this last one is entirely cosmetic, but just be aware that currently, {weatherAlertCurrent} will not contain all of the current weather alerts.


#205

I did not intend to keep all of the weatherAlertCurrent if it contained multiple alerts because some of them may be alerts we already have. Nonetheless, your idea looks better.
Better?

EDIT : The following piston is the most current version with the suggested changes. Test it if you like. Please let me know if it needs tweaking. I will let it run a few days and see if it works with real data.


#206

While it is still fresh in my mind…

All 4 of the latest posts have been added to the Wiki now.

New Additions (and contributors):

On one of them, I was only able to add partial information:

  • Wind Chill Advisory was TRUNCATED (@SergL)

… and two of them, I believe was already listed:


Thanks again for everyone’s ongoing contributions!!


#207

Speaking of partial information… @Pantheon, can you please remove:
Flood Watch & High Wind Watch
from your {Alert_Data}…??

My logic is those two do not have all the data recorded on the Wiki.

Also, please do not add the new one (Wind Chill Advisory) to that variable yet, since that one was also TRUNCATED.


Looking at your last piston now…


#208

Done.


#209

That’s my bad, didn’t get to it in time so had to pull it out of the logs.

Keeping an eye out on this new piston though!


#210

It happens to us all…

One method to avoid that is to send it via SMS. Most phones can handle very long texts, and they do not auto-delete.


#211

Done


#212

I am still not getting any weather alerts, so I am unable to test your latest piston, @Pantheon, but at first glance, I cannot see any obvious issues.

Perhaps you can update the image above with the new {Alert_Data} and test it for a few days??

One thing that I would probably add for testing is the block on lines 49-60. I would make the ELSE block write to the log. This way, when you do not get a SMS, the log will show why.
(keep it short & sweet though, because it will be writing nearly every 15 mins)


Pro Tip:

If lines 55 & 56 go to the same phone, you can reduce your SMS by combining those two lines.
(meaning less likely to go over your daily SMS limit)


#213

The piston above is the most current version. @WCmore, thank you sir!


#214

@WCmore think we got a new one! :triangular_flag_on_post: Not sure what it meant locally since it was an average day. :joy:

[[adminDistrict:Florida, adminDistrictCode:FL, areaId:FLZ046, areaName:Seminole County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:59c84822-209b-3703-9cb3-4be5f3aeeafa, disclaimer:null, effectiveTimeLocal:2020-02-29T12:00:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Red Flag Warning, eventTrackingNumber:0001, expireTimeLocal:2020-02-29T19:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1583020800, flood:null, headlineText:Red Flag Warning from SAT 12:00 PM EST until SAT 7:00 PM EST, ianaTimeZone:America/New_York, identifier:9061bbdd7688412173508c36bf3061bf, issueTimeLocal:2020-02-29T04:25:00-05:00, issueTimeLocalTimeZone:EST, latitude:, longitude:, messageType:New, messageTypeCode:1, officeAdminDistrict:Florida, officeAdminDistrictCode:FL, officeCode:KMLB, officeCountryCode:US, officeName:Melbourne, onsetTimeLocal:2020-02-29T12:00:00-05:00, onsetTimeLocalTimeZone:EST, phenomena:FW, processTimeUTC:1582968363, productIdentifier:RFW, responseTypes:[[responseType:Prepare, responseTypeCode:3]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Expected, urgencyCode:2]]


#215

When you are happy with it, let me know, I’ll import and use it as well.


#216

Actually, I would like to get usage data now. So please feel free to run it and see what we get. I am in a relatively weather-quite part of the country so we do not get alerts that often.


#217

Copy, just leaving the country for 16x days so feedback might be a bit delayed


#218

Thanks for the new information!! I had to look this one up…


Red Flag Warning

Definition:

Informs land management agencies of the imminent or actual occurrence of Red Flag conditions. A Red Flag Warning will be issued when there is high confidence that Red Flag criteria will be met within the next 24 to 48 hours, or when those criteria are already being met or exceeded. A warning may be issued for all, or portions of a fire weather zone or region. Zones impacted by the event will be listed within the Red Flag Warning product.


Criteria:

A combination of weather and fuels conditions (as determined by fire management) for any 3 hours or more in a 12 hour period. These criteria for the forecast area of the Denver/Boulder NWS office are defined as the following:

  1. Frequent gusts of 25 mph or greater – AND relative humidity of 15% or less
  2. Dry thunderstorms (15% coverage or more, constituting an LAL 6.)

OTHER FACTORS:
In addition to the basic criteria above, a combination of other elements may result in Red Flag Conditions:

  1. Haines Index of 5 or 6, indicating a moderate or high potential for large, plume dominated fire growth.
  2. Wind shifts associated with frontal passages.
  3. First significant lightning event (wet or dry) after an extended hot and dry period.
  4. Poor relative humidity recovery overnight (RH remains at 40% or lower.)
  5. Any combination of weather and fuel moisture conditions which, in the judgment of the forecaster, would cause extensive wildfire occurrences.

#219

I have added “Red Flag Warning” to the Wiki

Thanks @SergL!!