|
libSDRForge
|
Conservative period-based forecast extraction from offline NOAA transcripts. More...
Classes | |
| class | ForecastPeriod |
| Provide ForecastPeriod behavior. More... | |
Functions | |
| list[Match[str]] | period_matches (str text, *, bool allow_sunday_alias=False) |
| Recognize 'so night' only immediately following a Sunday period. | |
| tuple[ForecastPeriod,...] | extract_forecasts (str transcript, *, bool allow_sunday_alias=False) |
| Extract explicitly named periods; never infer missing measurements. | |
Variables | |
| _PERIOD | |
| tuple | _CONDITIONS |
| _TEMPERATURE | |
| _PROBABILITY = re.compile(r"\b(" + _SPOKEN_NUMBER + r")\s*(?:percent|%)\s+chance\b") | |
| _PROBABILITY_TRAILING | |
Conservative period-based forecast extraction from offline NOAA transcripts.
| tuple[ForecastPeriod, ...] sdrforge.weather.forecast.extract_forecasts | ( | str | transcript, |
| * | , | ||
| bool | allow_sunday_alias = False ) |
Extract explicitly named periods; never infer missing measurements.
| transcript | The transcript value. |
| allow_sunday_alias | The allow sunday alias value. |
| list[Match[str]] sdrforge.weather.forecast.period_matches | ( | str | text, |
| * | , | ||
| bool | allow_sunday_alias = False ) |
Recognize 'so night' only immediately following a Sunday period.
| text | The text value. |
| allow_sunday_alias | The allow sunday alias value. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |