pirateweather icon indicating copy to clipboard operation
pirateweather copied to clipboard

Precipitation Types

Open cloneofghosts opened this issue 1 year ago • 1 comments

This issue is a continuation of the discussion from this issue https://github.com/alexander0042/pirate-weather-ha/issues/78 and since the discussion about adding other precipitation types.

I know that DarkSky is pretty limited when it comes to precipitation types (as well as icons) and I am aware that you want to keep things compatible with DarkSky and using flags/API options instead of breaking things. I know that WeatherKit has added in more icons/precipitation types to their API so maybe it's worth breaking things in this case?

Maybe the following could be added as precipTypes:

  • freezingrain or ice
  • hail
  • mixed
  • unknown or precipitation

I thought about adding in thunderstorm but since it isn't a form of precipitation I decided to exclude it. I was thinking about thunderstorms today and it would be a nice addition to the API. I know there are ways to forecast using Lifted Index/CAPE/precipRate/wind speed/etc. and using the Blitzortung (#6) to show in the currently section.

I would show the icon only if precipType is rain and it would always come after the precipType so if we use today as an example it would show Freezing Rain and Thunderstorms.

EDIT: I might be misunderstanding the Categorical Ice/Rain/Snow/Sleet that HRRR offers. During precipitation only one of those four values will be 1 and the rest 0? If that's the case then maybe we can not bother adding in mixed as a precipType

cloneofghosts avatar Apr 03 '23 15:04 cloneofghosts

This issue was probably missed so will bump for visibility. Probably more of a long-term issue here so adding the keep label would be useful.

cloneofghosts avatar Jul 19 '23 14:07 cloneofghosts