Replies: 6 comments 4 replies
-
A more generic value that is not a url so it can be mapped to any graphic representation, including the current forecast icons. As a user of the API for other weather apps, I wish it was yesterday. Alas, there is no timeline yet. Hopefully, when the API is updated with pop and other information, rather than a direct copy of the current forecast application json. |
Beta Was this translation helpful? Give feedback.
-
Hopefully, the new values will reflect the prior icon names so an easy mapping can be done to existing images. I see that weather.gov uses forecast.weather.gov/newimages/... for the images, including the use of DualImage.php to dynamically generate the split 6hr:6hr images when needed. Also the NOAA Weather Homepage widget uses forecast.weather.gov/MapClick.php?...type=json |
Beta Was this translation helpful? Give feedback.
-
The API is the future, but it's your call when it's complete enough to transition (aside from when mapclick json sunsets, which has no timeline yet).
…On Sat, Jun 18, 2022, 5:37 PM Ken True ***@***.***> wrote:
Hopefully, the new values will reflect the prior icon names so an easy
mapping can be done to existing images.
I see that weather.gov uses forecast.weather.gov/newimages/... for the
images, including the use of DualImage.php to dynamically generate the
split 6hr:6hr images when needed. Also the NOAA Weather Homepage widget
uses forecast.weather.gov/MapClick.php?...type=json
<https://forecast.weather.gov/MapClick.php?lat=37.27105000000006&lon=-122.01400999999998&unit=0&lg=english&FcstType=json>
to acquire data. Should we be using this instead of the api.weather.gov
for forecasts until the API is fully settled?
It does include icon links and is quite simple to parse with one query to
get all the data for the point lat/long.
—
Reply to this email directly, view it on GitHub
<#557 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFQSTRQAQY6NGOMIHCGVALVPZFRVANCNFSM5ZFLG2CA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Has this moved at all? I'm building against the API and trying to get a finite list of possible conditions so we can provide our own icons. The system icons made sense as keys but if they're going away, I'm not sure what would work. |
Beta Was this translation helpful? Give feedback.
-
It won't officially go away without much ado and a formal replacement, as
use the same for official NWS applications.
…On Mon, Dec 4, 2023, 1:47 PM Justin ***@***.***> wrote:
Has this moved at all? I'm building against the API and trying to get a
finite list of possible conditions so we can provide our own icons. The
system icons made sense as keys but if they're going away, I'm not sure
what would work.
—
Reply to this email directly, view it on GitHub
<#557 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFQSTQHJH7G6NMYKIIO7X3YHYSG5AVCNFSM5ZFLG2CKU5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TONZVG4YDENY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Any updates? We are also looking for a distinct set of values that we can map to custom icons. The values being returned in the deprecated icon field have recently changed and no longer match the previous values exactly so we are getting errors. |
Beta Was this translation helpful? Give feedback.
-
The current specification at https://www.weather.gov/documentation/services-web-api shows that
/icons
/icons/{set}/{timeOfDay}/{first}
/icons/{set}/{timeOfDay}/{first}/{second}
are all marked as deprecated. However a gridpoint request like
https://api.weather.gov/gridpoints/MTR/94,80/forecast
still returns data referencing the /icons/ API.
Note the "icon": values.
What is the "icon": value intended to be replaced with if the /icons API is discontinued, and when might this happen?
Beta Was this translation helpful? Give feedback.
All reactions