CVS: phpweather/output pw_text_sk.php,1.3,1.4
Brought to you by:
iridium
From: Ondrej J. <ne...@us...> - 2002-12-16 00:15:57
|
Update of /cvsroot/phpweather/phpweather/output In directory sc8-pr-cvs1:/tmp/cvs-serv4985 Modified Files: pw_text_sk.php Log Message: Added proper snowing handling. Removed some unneccessary comments at the end of file. Index: pw_text_sk.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/output/pw_text_sk.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- pw_text_sk.php 5 Sep 2002 01:47:18 -0000 1.3 +++ pw_text_sk.php 16 Dec 2002 00:15:52 -0000 1.4 @@ -314,7 +314,8 @@ $this->strings['weather']['+'] = ' hustým '; $this->strings['weather']['RA'] = ' da¾ïom'; $this->strings['with'] = ' a '; - } elseif ($weather[$k]['precipitation'] == 'DZ') { // mrholenie + } elseif ($weather[$k]['precipitation'] == 'DZ' // mrholenie + || $weather[$k]['precipitation'] == 'SN') { // sne®enie $this->strings['weather']['-'] = ' riedke '; $this->strings['weather'][' '] = ' stredné '; $this->strings['weather']['+'] = ' husté '; @@ -345,26 +346,15 @@ /* -NOTES: ------- +Some advanced (problematic?) metars to test: -Metars to test: -+----+------+---------------------------------------------------------------------------------+ -| cc | icao | metar | -+----+------+---------------------------------------------------------------------------------+ -| FI | EFKK | EFKK 281950Z 18008KT 150V220 9999 -SHRA FEW012 SCT016 BKN020 BKN075 12/12 Q0998 | -| KH | VDPP | VDPP 281030Z 23008KT 9000 FEW015 FEW025CB SCT300 33/26 Q1008 CB:S/NW/E | -+----+------+---------------------------------------------------------------------------------+ - -Why is there backslash instead of slash in Airport name? -cc=DJ&icao=HDAM - -Problematic metars: +EFKK 281950Z 18008KT 150V220 9999 -SHRA FEW012 SCT016 BKN020 BKN075 12/12 Q0998 +VDPP 281030Z 23008KT 9000 FEW015 FEW025CB SCT300 33/26 Q1008 CB:S/NW/E +LZIB 150730Z 10005MPS 1200 R31/P1500N R22/P1500N -SN BR OVC006 M03/M04 Q1026 NOSIG 201530Z VABB 24012KT 5000 FU FEW018 SCT025 28/22 Q1004 NOSIG MWCR 2820000Z 12016KT 9999 HZ FEW016 BKN200 32/25 Q1015 NOSIG CYZT 281900Z 10019G26KT 20SM VCSH FEW025 BKN050 OVC110 13/09 A2956 RMK SC1SC6AC2 SLP009 - - */ +*/ ?> |