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:
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
보호된 메소드들
메소드 |
설명 |
|
_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 |
|
메소드 상세
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 |
프로퍼티 상세
Map of hours descriptors.
protected array $_hours |
리턴 |
array |
|