Accumulate segments and emit completed periods without duplicating them.
More...
Accumulate segments and emit completed periods without duplicating them.
◆ __init__()
| None sdrforge.weather.forecast_assembler.NoaaForecastAssembler.__init__ |
( |
| self | ) |
|
Provide init behavior.
- Parameters
-
| self | The current instance. |
◆ feed()
| tuple[AssembledForecast, ...] sdrforge.weather.forecast_assembler.NoaaForecastAssembler.feed |
( |
| self, |
|
|
str | transcript ) |
Provide feed behavior.
- Parameters
-
| self | The current instance. |
| transcript | The transcript value. |
- Returns
- The operation result.
◆ flush()
| tuple[AssembledForecast, ...] sdrforge.weather.forecast_assembler.NoaaForecastAssembler.flush |
( |
| self | ) |
|
Emit any last incomplete period at end-of-recording.
- Parameters
-
| self | The current instance. |
- Returns
- The operation result.
◆ _first_segment
| int | None sdrforge.weather.forecast_assembler.NoaaForecastAssembler._first_segment = None |
|
protected |
◆ _last_segment
| int | None sdrforge.weather.forecast_assembler.NoaaForecastAssembler._last_segment = None |
|
protected |
◆ _next_index
| int sdrforge.weather.forecast_assembler.NoaaForecastAssembler._next_index = 0 |
|
protected |
◆ _pending
| str sdrforge.weather.forecast_assembler.NoaaForecastAssembler._pending = "" |
|
protected |
The documentation for this class was generated from the following file: