Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with the weather.gov feed

Status
Not open for further replies.

webmigit

Programmer
Aug 3, 2001
2,027
US
Alright, the weather.gov feed is the worst feed I've ever seen.. When there's no data for a field, it just doesn't include that field.

The structure for temperatures is that each is in an array. From my learning, it seems that

High = Temp[2]
Low = Temp[1]
Apparent = Temp[3]

But last night, there was no High reported, so Low was in Temp[1] and Apparent was in Temp[2] which caused an error.

This seems pretty faulty.

And as for conditions, if there's no report of like thunderstorms or rain, it lists nothing...

Does anyone work with this feed?

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Whats the URL of the feed?

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top