Question about how to get StationId for lat/lng #478
Unanswered
KCRotaryUSA
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This is a multi-step process. You first need the latitude and longitude of the location you're looking to find the observations for. This is outside of the scope of the API but can be accomplished through a "geocoding" service if you're looking to automate the process. Once you have the latitude and Longitude (Kearney, MO used in the examples below):
An alternative method if you know the WFO office ID you could directly call |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm calling https://api.weather.gov/stations/KRCM/observations/latest to get the current temp for Kearney, MO. If I didn't know the StationId for a particular lat/lng or City/State, what call(s) can I make get get the StationId? Maybe there is a better call to get the current temp for a lat/lng?
Beta Was this translation helpful? Give feedback.
All reactions