Post

Replies

Boosts

Views

Activity

HourWeather timezone offset?
I'm playing with Swift Charts and WeatherKit. I have a simple chart where I plot temperate values for the current day. When I log out the date values, they look right, but when I actually look at the data, it looks like it's missing a timezone offset. I'm looking at a location that is UTC-7. The data is showing the lowest temperature of the day occurring at 1:30pm and the peak temp occurring at midnight. I feel that I need to shift all the values coming from weatherkit by my timezone offset.
3
0
831
Jun ’22
precipitationAmount inaccurate in hour forecast in Canada
I've been getting at the precipitationAmount data using this hack from another thread. I've often found that the precip amount is 0mm for every hour of the day. Every entry for today has the same precipAmount of 0mm: HourWeather(date: 2022-06-27 22:00:00 +0000, cloudCover: 0.15, condition: Mostly Clear, symbolName: "sun.max", dewPoint: 12.43 °C, humidity: 0.78, isDaylight: true, precipitation: , precipitationChance: 0.0, precipitationAmount: 0.0 mm However the iOS 16 beta 2 weather app is showing precip data for today at the same location. Is the iOS 16 Weather App using the same WeatherKit as I am? I'm finding the data in weatherkit to be pretty different than the data in the weather app.
1
0
484
Jun ’22
Is WeatherKit wind direction backwards?
It seems like the direction of the wind is reported in the direction it's heading vs the direction it's coming from. Most of the time in other weather products, wind is reported in the direction it's coming from. eg. A west wind is coming from the west (heading east) and would have a bearing of 90.0 ° (coming from the west) Am I correct in thinking that the below reported wind is actually a "West wind"? WeatherKit.Wind(compassDirection: East, direction: 90.0 °, speed: 7.09 km/h, gust: Optional(18.18 km/h))
3
0
1k
Jun ’22
WeatherKit current data very inaccurate in Canada
Has anyone noticed that the current weather from WeatherKit can be pretty inaccurate? I'm mostly looking at the data for Canadian cities. The iOS 16 weather app is accurate, so I'm not sure if it is using the same WeatherKit implementation. For example in Penticton, BC, at one point yesterday the iOS 16 weather app was reporting a North wind at 6km/h, but WeatherKit was reporting 38km/h at 223 degrees(which is West). The weather app's report was accurate to what was observed outside. I'm using some CLLocation coordinates that are right in the middle of the city, so I'm not sure how the data is that far off what is being reported in the iOS 16 weather app.
2
0
1.6k
Jun ’22