Skip to content

fix: lower precipitation intensity threshold for wet detection #567

@Orinks

Description

@Orinks

Description

The is_wet() function in minutely_precipitation.py uses the precipitation intensity to determine if a data point represents active precipitation. If the threshold is too high, light rain or drizzle may not trigger notifications even though the user would want to know about it.

Investigation Needed

  • Check what threshold is_wet() currently uses
  • Compare against Pirate Weather's typical intensity values for light rain (~0.01-0.1 mm/h) vs moderate rain (~0.1-1.0 mm/h)
  • AccuWeather uses dBZ radar reflectivity thresholds mapped to light/moderate/heavy categories
  • Consider making the sensitivity configurable ("Notify for: Light rain and above / Moderate rain and above / Heavy rain only")

Impact

Ensures light rain and drizzle events aren't silently ignored

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions