PHP 클래스 Horde_Service_Weather_Parser_Taf, horde

Responsible for parsing encoded TAF data. Parsing code adapted from PEAR's Services_Weather_Metar class. Original phpdoc attributes as follows:
저자: Alexander Wirtz ([email protected])
저자: Michael J Rubinsky ([email protected])
상속: extends Horde_Service_Weather_Parser_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 메소드들

메소드 설명
_getTafCodes ( ) : array Return a fresh set of the regexps needed for parsing the TAF data.
_parse ( array $data ) : array Parses TAF data.

메소드 상세

_getTafCodes() 보호된 메소드

Return a fresh set of the regexps needed for parsing the TAF data.
protected _getTafCodes ( ) : array
리턴 array

_parse() 보호된 메소드

TAF KLGA 271734Z 271818 11007KT P6SM -RA SCT020 BKN200 FM2300 14007KT P6SM SCT030 BKN150 FM0400 VRB03KT P6SM SCT035 OVC080 PROB30 0509 P6SM -RA BKN035 FM0900 VRB03KT 6SM -RA BR SCT015 OVC035 TEMPO 1215 5SM -RA BR SCT009 BKN015 BECMG 1517 16007KT P6SM NSW SCT015 BKN070
protected _parse ( array $data ) : array
$data array The TAF encoded weather data, spilt on line endings.
리턴 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.