Skip to content

Rain/Snow Icon not Showing in Currently Section #29

Closed
@cloneofghosts

Description

@cloneofghosts

Did the threshold to show the precipitation icon on the currently block change? When I look at the API currently I see a precipIntensity of 0.36 so it should be showing snow as it's over the 0.25 threshold to show the snow icon. When I look in the hourly section it works like normal. My guess is that when you added the fallback to hourly data something messed up with the icon calculation in the HRRR domain?

Data from the API is below:

  "currently": {
    "time": 1677960000,
    "summary": "Cloudy",
    "icon": "cloudy",
    "nearestStormDistance": 0,
    "nearestStormBearing": 0,
    "precipIntensity": 0.36,
    "precipProbability": 0.25,
    "precipIntensityError": 0.0974,
    "precipType": "snow",
    "temperature": -0.03,
    "apparentTemperature": -1.95,
    "dewPoint": -1.09,
    "humidity": 0.93,
    "pressure": 998.9,
    "windSpeed": 5.736,
    "windGust": 12.15,
    "windBearing": 25.56,
    "cloudCover": 1.0,
    "uvIndex": 1.82,
    "visibility": 3.5,
    "ozone": 346.37
  },
...
    "hourly": {
    "summary": "Cloudy",
    "icon": "cloudy",
    "data": [
      {
        "time": 1677960000,
        "icon": "snow",
        "summary": "Snow",
        "precipIntensity": 0.2857,
        "precipProbability": 0.47,
        "precipIntensityError": 0.1053,
        "precipAccumulation": 0.2857,
        "precipType": "snow",
        "temperature": -0.02,
        "apparentTemperature": -1.95,
        "dewPoint": -1.09,
        "humidity": 0.93,
        "pressure": 998.9,
        "windSpeed": 5.74,
        "windGust": 12.15,
        "windBearing": 25.56,
        "cloudCover": 1.0,
        "uvIndex": 1.82,
        "visibility": 3.5,
        "ozone": 346.37
      },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkeep

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions