Track explicit forecast areas and suspected bulletin cycles.
More...
|
| None | __init__ (self) |
| | Initialize forecast attribution state.
|
| str|None | area (self) |
| | Return the current area state.
|
| tuple[str,...] | observed_areas (self) |
| | Return the current observed areas state.
|
| tuple[str,...] | areas (self) |
| | Return the current areas state.
|
| int | cycle (self) |
| | Return the current cycle state.
|
| bool | cycle_warning (self) |
| | Return the current cycle warning state.
|
| str | boundary_status (self) |
| | Return the current boundary status state.
|
| str|None | observe_completed (self, str transcript, str|None period=None) |
| | Return current area and process headers for subsequent forecasts.
|
Track explicit forecast areas and suspected bulletin cycles.
◆ __init__()
| None sdrforge.weather.forecast_area.ForecastAreaTracker.__init__ |
( |
| self | ) |
|
Initialize forecast attribution state.
- Parameters
-
| self | The tracker instance. |
◆ area()
| str | None sdrforge.weather.forecast_area.ForecastAreaTracker.area |
( |
| self | ) |
|
Return the current area state.
- Parameters
-
| self | The tracker instance. |
- Returns
- The requested attribution state.
◆ areas()
| tuple[str, ...] sdrforge.weather.forecast_area.ForecastAreaTracker.areas |
( |
| self | ) |
|
Return the current areas state.
- Parameters
-
| self | The tracker instance. |
- Returns
- The requested attribution state.
◆ boundary_status()
| str sdrforge.weather.forecast_area.ForecastAreaTracker.boundary_status |
( |
| self | ) |
|
Return the current boundary status state.
- Parameters
-
| self | The tracker instance. |
- Returns
- The requested attribution state.
◆ cycle()
| int sdrforge.weather.forecast_area.ForecastAreaTracker.cycle |
( |
| self | ) |
|
Return the current cycle state.
- Parameters
-
| self | The tracker instance. |
- Returns
- The requested attribution state.
◆ cycle_warning()
| bool sdrforge.weather.forecast_area.ForecastAreaTracker.cycle_warning |
( |
| self | ) |
|
Return the current cycle warning state.
- Parameters
-
| self | The tracker instance. |
- Returns
- The requested attribution state.
◆ observe_completed()
| str | None sdrforge.weather.forecast_area.ForecastAreaTracker.observe_completed |
( |
| self, |
|
|
str | transcript, |
|
|
str | None | period = None ) |
Return current area and process headers for subsequent forecasts.
- Parameters
-
| self | The tracker instance. |
| transcript | Completed forecast transcript. |
| period | Optional named forecast period. |
- Returns
- The current area when unambiguously identified.
Headers are deliberately not used to label the forecast preceding them. Ambiguous headers clear the area instead of guessing.
◆ observed_areas()
| tuple[str, ...] sdrforge.weather.forecast_area.ForecastAreaTracker.observed_areas |
( |
| self | ) |
|
Return the current observed areas state.
- Parameters
-
| self | The tracker instance. |
- Returns
- The requested attribution state.
◆ _area
| str | None sdrforge.weather.forecast_area.ForecastAreaTracker._area = None |
|
protected |
◆ _areas
| tuple sdrforge.weather.forecast_area.ForecastAreaTracker._areas = () |
|
protected |
◆ _boundary_status
| str sdrforge.weather.forecast_area.ForecastAreaTracker._boundary_status = "none" |
|
protected |
◆ _cycle
| int sdrforge.weather.forecast_area.ForecastAreaTracker._cycle = 0 |
|
protected |
◆ _cycle_warning
| bool sdrforge.weather.forecast_area.ForecastAreaTracker._cycle_warning = False |
|
protected |
◆ _observed_areas
| sdrforge.weather.forecast_area.ForecastAreaTracker._observed_areas = current_areas |
|
protected |
◆ _previous_period
| str | None sdrforge.weather.forecast_area.ForecastAreaTracker._previous_period = None |
|
protected |
The documentation for this class was generated from the following file: