Method | Description | |
---|---|---|
_getTafCodes ( ) : array | Return a fresh set of the regexps needed for parsing the TAF data. | |
_parse ( array $data ) : array | Parses TAF data. |
protected _getTafCodes ( ) : array | ||
return | array |
protected _parse ( array $data ) : array | ||
$data | array | The TAF encoded weather data, spilt on line endings. |
return | array | An array of forecast data. Keys include: - station: (string) The station identifier. - dataRaw: (string) The raw TAF data. - update: (timestamp) Timestamp of last update. - validFrom: (Horde_Date) The valid FROM time. - validTo: (Horde_Date) The valid TO time. - time: (array) An array of Horde_Service_Weather_Period objects for each available valid time provided by the TAF report. |