Skip Menu |

This queue is for tickets about the Geo-METAR CPAN distribution.

Report information
The Basics
Id: 65623
Status: new
Priority: 0/
Queue: Geo-METAR

People
Owner: Nobody in particular
Requestors: rsuinux [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Use of uninitialized value in concatenation
Date: Thu, 10 Feb 2011 17:20:03 +0100
To: bug-Geo-METAR [...] rt.cpan.org
From: rémi suinot <rsuinux [...] gmail.com>
hello; (sorry for my english) I use geo::metar 1.15 in my debian (stable) station for monitoring various data (temperature, pressure) The code on my LFBF (Limoges, France) With the test fetch_temp.pl, I have some errors: perl /usr/share/doc/libgeo-metar-perl/examples/fetch_temp.pl LFBL Use of uninitialized value in string eq at /usr/share/perl5/Geo/METAR.pm line 1295. The temperature at LFBL is 60.8 F (16 C) as of Thu Feb 10 17:11:28 2011. The metar data for this error is: LFBL 101600Z 22006KT 200V260 CAVOK 16/01 Q1019 NOSIG And, for presure, wind and other data, other error! With dump for previous line just modified simple.pl: $m->metar("LFBL 101600Z 22006KT 200V260 CAVOK 16/01 Q1019 NOSIG"); $m->dump; $perl /usr/share/doc/libgeo-metar-perl/examples/simple_dump.pl Modified METAR dump follows. type: METAR site: LFBL date_time: 101600Z modifier: wind: 22006KT variable wind: visibility: 9999 runway: weather: CAVOK sky: CAVOK temp_dew: 16/01 alt: pressure: 1019 slp: remarks: ALT: 30.091052677 ALT_HP: 1019 DATE: 10 DEW_C: 01 DEW_F: 33.8 HOURLY_DEW_C: HOURLY_DEW_F: HOURLY_PRECIP: HOURLY_TEMP_C: HOURLY_TEMP_F: METAR: LFBL 101600Z 22006KT 200V260 CAVOK 16/01 Q1019 NOSIG MOD: REMARKS: RUNWAY: SITE: LFBL SKY: Sky Clear SLP: TEMP_C: 16 TEMP_F: 60.8 TIME: 16:00 UTC TYPE: Routine Weather Report VERSION: 1.15 VISIBILITY: 9999 meters WEATHER: No significant weather WEATHER_LOG: WIND_DIR_ABB: SW WIND_DIR_DEG: 220 WIND_DIR_ENG: Southwest WIND_GUST_KTS: WIND_GUST_MPH: WIND_GUST_MS: WIND_KTS: 06 WIND_MPH: 6.9046767 WIND_MS: 3.086666664 WIND_VAR: Varying between 200 and 260 WIND_VAR_1: 200 WIND_VAR_2: 260 WIND_VAR_ENG_1: South/Southwest WIND_VAR_ENG_2: West/Southwest !!! no error !!!! What is the différence? Is a bug or just Me? R. Suinot