Update of /cvsroot/phpweather/phpweather/output
In directory usw-pr-cvs1:/tmp/cvs-serv16423
Modified Files:
pw_text_cs.php
Log Message:
Little fix in function parse_cloud_group($cloud_group).
Removed unneccessary test metars from the bottom of file.
Index: pw_text_cs.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text_cs.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- pw_text_cs.php 27 Sep 2002 20:24:46 -0000 1.1
+++ pw_text_cs.php 1 Oct 2002 19:03:15 -0000 1.2
@@ -249,7 +249,7 @@
if (isset($condition) && $condition == 'CAVOK') {
$this->strings['cloud_group_beg'] =
- str_replace(' byla ', ' nebyla ', $this->strings['cloud_group_beg']);
+ str_replace('Bylo ', 'Nebyla ', $this->strings['cloud_group_beg']);
}
return parent::parse_cloud_group($cloud_group);
@@ -295,29 +295,5 @@
return parent::print_pretty_weather($weather);
}
}
-
-/*
-
-NOTES:
-------
-
-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:
-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
-
-
- */
?>
|