Alert text often repeats

  • 1
  • Question
  • Updated 2 months ago
The text in the weather alerts in the retrieved json data often repeats itself.  Why is that?  I've looked for patterns to see if there's an obvious way to parse it so as to not show double text to my users, but don't find an obvious way to determine when the first alert stops and the duplicate alert starts.

Why does this happen, and is there any way to parse it reliably?

Thanks.

-----------

Example from today:

Special Statement &nbsp;...Snow expected Christmas eve...<br><br>Areas of snow will develop later Sunday afternoon and then &nbsp;continue into Sunday night. The snow may mix with rain at times&nbsp;Sunday afternoon, especially along and south of the Ohio River, &nbsp;before changing over to all snow Sunday evening. Snowfall &nbsp;accumulations through Sunday night of 1 to 2 inches will be &nbsp;possible north of the Ohio River with generally an inch or less &nbsp;south of the Ohio River.<br><br>Motorists are advised to use extra caution if traveling this&nbsp;Holiday weekend with the potential for accumulating snow. Slick &nbsp;spots will be possible on area roadways along with reduced &nbsp;visibilities.<br><br>&nbsp;404 PM EST Sat Dec 23 2017<br><br>...Snow expected Christmas eve...<br><br>Areas of snow will develop later Sunday afternoon and then &nbsp;continue into Sunday night. The snow may mix with rain at times&nbsp;Sunday afternoon, especially along and south of the Ohio River, &nbsp;before changing over to all snow Sunday evening. Snowfall &nbsp;accumulations through Sunday night of 1 to 2 inches will be &nbsp;possible north of the Ohio River with generally an inch or less &nbsp;south of the Ohio River.<br><br>Motorists are advised to use extra caution if traveling this&nbsp;Holiday weekend with the potential for accumulating snow. Slick &nbsp;spots will be possible on area roadways along with reduced &nbsp;visibilities.  <br>Until 6:00 AM EST on December 24, 2017<br><br>
Photo of Mark Stein

Mark Stein

  • 4 Posts
  • 0 Reply Likes

Posted 2 months ago

  • 1
Photo of NYSTA

NYSTA

  • 18 Posts
  • 0 Reply Likes
I've had the same issue on the XML data side.  I've posted something similar several times on this forum with no response from the WU staff.  I even sent an FYI to their support email.