-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
icon
issues on the development endpoint
#385
Comments
currently
icon doesn't show precipitation icon on dev whereas it does on prodicon
issues on the development endpoint
@alexander0042 Noticed another issue this morning where the {
"time": 1734487200,
"summary": "Drizzle",
"icon": "partly-cloudy-night",
"precipIntensity": 0.0797,
"precipProbability": 0.25,
"precipIntensityError": 0.0055,
"precipAccumulation": 0.008,
"precipType": "rain",
"temperature": 1.61,
"apparentTemperature": -5,
"dewPoint": -0.86,
"humidity": 0.83,
"pressure": 1017.25,
"windSpeed": 23.09,
"windGust": 38.71,
"windBearing": 238.78,
"cloudCover": 0.77,
"uvIndex": 0,
"visibility": 16.09,
"ozone": 312.75
}, I think because pop is exactly 25% it doesn't hit the possible check or the icon check so it falls back to the None icon check to set the icon. Copying the comment I left on the PR: Rain into a scenario in the hourly block where the visibility is low enough to trigger the fog icon but windy enough to trigger the wind icon. How its setup currently it will show the fog summary and icon (as Foggy and Breezy doesn't make sense) but I wonder if it should show the wind icon instead? {
"time": 1733983200,
"summary": "Foggy",
"icon": "fog",
"precipIntensity": 0,
"precipProbability": 0.07,
"precipIntensityError": 0.2704,
"precipAccumulation": 0,
"precipType": "snow",
"windSpeed": 27.36,
"windGust": 45.36,
"visibility": 0.38,
}, |
Sorry for the radio silence! Crazy busy week, and so 2.5.0 got pushed 😢. Thanks for keeping track of everything and highlighting the issues with it, since it really, really helps. I'm going to go through the tags this weekend and put it all in, so I'll update then! |
@alexander0042 So the plan is to fix up those few issues and port the rest of the languages over to python and push it to the translations repo? If everything goes well the launch would likely be near the end of the week? EDIT: Been getting 502 errors this morning when trying to access the development endpoint. It was doing it before but it would eventually work but this morning its just broken. |
Sorry for the repeated pings here @alexander0042 but is there any estimate on when the development endpoint will come back up? It's been giving me 502 errors since yesterday morning: {
"message": "An invalid response was received from the upstream server"
} |
Ok, a few thoughts here:
I'm going to quickly double check those HRRR values before release, but definitely improved a few things here! |
Still might be a good idea to have it anyway on the off chance that it might happen.
So if the precipitation is between 0-0.4 and less than 20% the possible text is shown? So if for an hour there's 1.5 mm rain forecasted and only a 20% chance then it doesn't show the possible text and uses fog/wind/cloud text/summary instead?
It might make sense for the fog icon to show if the wind threshold is below the medium wind threshold? If the visibility is low enough for fog and windy enough for the breezy text then the visibility obstruction likely isn't fog. |
@alexander0042 I'm noticing on the dev endpoint that sometimes I don't have an example on-hand this morning but I did notice on the weekend that there were a few cases of an hour having zero |
Describe the bug
@alexander0042 I thought for currently if precipIntensity is above 0.02 mm/h then it would show the icon and it wouldn't show the possible text. This is what I'm currently seeing on the dev endpoint at the moment:
Live is showing the icon/summary as sleet. I assume because the probability is only 11% it's not showing the icon and adds the possible text?
Expected behavior
The
currently
icon should show the precipitation icon if intensity is greater than 0.02 mm/h regardless of popActual behavior
The
currently
icon doesn't show the precipitation icon if intensity is greater than 0.02 mm/h and pop is less than 25%API Endpoint
Development
Location
Ottawa, Ontario
Other details
No response
Troubleshooting steps
The text was updated successfully, but these errors were encountered: