Web Weather > Weather Web Resources

NWS changing identifiers on CAP messages

(1/1)

Jasiu:
https://www.weather.gov/media/notification/pdf2/scn21-01cap_handler.pdf

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?

saratogaWX:
Curly's nws-alerts script set does not use the <identifier> entry in the CAP XML from alerts.weather.gov.

The id field is used by advforecast2.php JSON script to retrieve the text from api.weather.gov.  As long as api.weather.gov 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.

Navigation

[0] Message Index

Go to full version