libSDRForge
Loading...
Searching...
No Matches
forecast.py File Reference

Classes

class  sdrforge.weather.forecast.ForecastPeriod
 Provide ForecastPeriod behavior. More...

Namespaces

namespace  sdrforge
 libSDRForge public Python package.
namespace  sdrforge.weather
 RF-derived weather observations and NOAA SAME alert metadata.
namespace  sdrforge.weather.forecast
 Conservative period-based forecast extraction from offline NOAA transcripts.

Functions

list[Match[str]] sdrforge.weather.forecast.period_matches (str text, *, bool allow_sunday_alias=False)
 Recognize 'so night' only immediately following a Sunday period.
tuple[ForecastPeriod,...] sdrforge.weather.forecast.extract_forecasts (str transcript, *, bool allow_sunday_alias=False)
 Extract explicitly named periods; never infer missing measurements.

Variables

 sdrforge.weather.forecast._PERIOD
tuple sdrforge.weather.forecast._CONDITIONS
 sdrforge.weather.forecast._TEMPERATURE
 sdrforge.weather.forecast._PROBABILITY = re.compile(r"\b(" + _SPOKEN_NUMBER + r")\s*(?:percent|%)\s+chance\b")
 sdrforge.weather.forecast._PROBABILITY_TRAILING