I'm bumping my old thread with more info. I did a deep dive into the hourly WeatherKit data that is returned. I've been using precipitationAmount to report the snow amout, but there's actually a property returned called snowfallAmount!! And it appears to contain values that are what I have been expecting for snow. WeatherKit.HourWeather(date: 2024-01-09 15:00:00 +0000, cloudCover: 0.98, cloudCoverLow: 0.0, cloudCoverMid: 0.0, cloudCoverHigh: 0.0, condition: Heavy Snow, symbolName: cloud.snow, dewPoint: -0.44 °C, humidity: 0.96, isDaylight: true, precipitation: snow, precipitationChance: 0.61, precipitationAmount: 2.75 mm, snowfallAmount: 27.16 mm, pressure: 1018.33 mbar, pressureTrend: Falling, temperature: 0.16 °C, apparentTemperature: -4.72 °C, uvIndex: WeatherKit.UVIndex(value: 1, category: Low), visibility: 778.16 m, wind: WeatherKit.Wind(compassDirection: Southeast, direction: 127.0 °, speed: 17.97 km/h, gust: Optional(51.98 km/h))), BUT if you look at the HourWeather in SwiftUI the sno
precipitationAmount
17 results found
Post
Replies
Boosts
Views
Activity
HI there, when requesting the daily forecast via the WeatherKit REST API, I found out that under certain circumstances the moon phase full is skipped. Example from Japan (working): { forecastDaily: { name: DailyForecast, metadata: { attributionURL: https://developer.apple.com/weatherkit/data-source-attribution/, expireTime: 2024-10-21T15:16:10Z, latitude: 35.650, longitude: 139.840, readTime: 2024-10-21T14:16:10Z, reportedTime: 2024-10-21T12:00:37Z, units: m, version: 1, sourceType: modeled }, days: [ ..., { forecastStart: 2024-10-16T15:00:00Z, forecastEnd: 2024-10-17T15:00:00Z, conditionCode: MostlyCloudy, maxUvIndex: 4, moonPhase: waxingGibbous, moonrise: 2024-10-17T07:47:26Z, moonset: 2024-10-16T20:09:01Z, precipitationAmount: 0.09, precipitationChance: 0.43, precipitationType: rain, ... windSpeedMax: 16.03, }, { forecastStart: 2024-10-17T15:00:00Z, forecastEnd: 2024-10-18T15:00:00Z, conditionCode: Rain, maxUvIndex: 4, moonPhase: full, moonrise: 2024-10-18T08:20:34Z, moonset: 2024-10-17T21:24:49Z,