Skip to content

Does the station info change? If so, how often? #746

Answered by JJKraw
alternapop asked this question in Q&A
Discussion options

You must be logged in to vote

First, a correction. OKX/34,38 isn't a station. It's a forecast gridpoint, which is a 2.4 square km area. The second URL you list is forecast information for that area. So be clear that this isn't reported data. It's the forecast for that area.

If you go back to that first URL, look at the return value observationStations. That URL refers to actual reporting stations near the lat/lon you supply. In this case: https://api.weather.gov/gridpoints/OKX/34,38/stations

As far as the lat/lon to gridpoint mapping, my code caches it for a day. YMMV.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alternapop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants