PHP 클래스 Horde_Service_Weather_Parser_Metar, horde

Responsible for parsing encoded METAR 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 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_hours array Map of hours descriptors.

보호된 메소드들

메소드 설명
_getMetarCodes ( ) : array Return the array of regexps used to parse METAR text. We don't define this in the declaration since we unset the entries as they are parsed.
_getRemarks ( ) : array Return the array of regexps used to parse METAR remarks section.
_parse ( array $data ) : array Parses METAR

메소드 상세

_getMetarCodes() 보호된 메소드

Return the array of regexps used to parse METAR text. We don't define this in the declaration since we unset the entries as they are parsed.
protected _getMetarCodes ( ) : array
리턴 array

_getRemarks() 보호된 메소드

Return the array of regexps used to parse METAR remarks section.
protected _getRemarks ( ) : array
리턴 array

_parse() 보호된 메소드

Parses METAR
protected _parse ( array $data ) : array
$data array An array of METAR data lines.
리턴 array An array of weather data. Possible keys include: - station: - dataRaw: - update: - updateRaw: - wind: - windDegrees: - windDirection: - windGust: - windVariability: - visibility: - visQualifier: - clouds: - amount - height - type - temperature - dewpoint - humidity - felttemperature - pressure - trend - type - from - to - at - remark - autostation - seapressure - presschg - snowdepth - snowequiv - cloudtypes - sunduration - 1hrtemp - 1hrdew - 6hmaxtemp - 6hmintemp - 24hmaxtemp - 24hmintemp - 3hpresstrend - nospeci - sensors - maintain - precipitation - amount - hours

프로퍼티 상세

$_hours 보호되어 있는 프로퍼티

Map of hours descriptors.
protected array $_hours
리턴 array