Author Topic: NWS changing identifiers on CAP messages  (Read 522 times)

0 Members and 1 Guest are viewing this topic.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 885
    • LexMAWeather
NWS changing identifiers on CAP messages
« on: January 05, 2021, 07:53:31 AM »

At first glance, I don't think this causes any issues for the Curly-based alerts code nor the alert fetch from the NWS API in the v5.xx forecast code. Any thoughts, Ken?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8645
  • Saratoga, CA, USA Weather - free PHP scripts
Re: NWS changing identifiers on CAP messages
« Reply #1 on: January 05, 2021, 01:17:23 PM »
Curly's nws-alerts script set does not use the <identifier> entry in the CAP XML from

The id field is used by advforecast2.php JSON script to retrieve the text from  As long as changes the id field throughout their data, there should be no issue with the script -- the id field returned is used as the subsequent query as-is.

Ken True/Saratoga, CA, USA main site:
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP