AnsweredAssumed Answered

New NWS API for weather forecasts

Question asked by Devin on Apr 24, 2019
Latest reply on May 13, 2019 by Devin

Has anyone consumed forecast data using the new (somewhat) json NWS weather api? We are successfully pulling in historical data through the api, but are struggling on how to successfully consume data using the UFL Connector due to unique timestamp formatting. Each forecast value timestamp has a PHP DateInterval suffix. "PT2H" means a 2 hour interval, PT3H", 3 hours, and so on. So as an example, the value below would cover or span 2 hours (starting at 8am and ending at 10am). Anyone have any thoughts on how to approach this?

"values": [
  "validTime": "2017-02-17T08:00:00+00:00/PT2H",
  "value": -6.1111111111111


I know there is a way to consume forecast data as outlined in Public Weather and Environmental Internet Data Sources Integration into the PI System.pdf using SOAP, but NWS is really steering people toward their api for any kind of efforts moving forward.