import Geo::METAR

METAR reports are available on-line, thanks to the National Weather
Service.  Since reading the METAR format isn't easy for non-pilots,
these reports are relatively useles to the common man who just wants a
quick glace at the weather.  This module tries to parse the METAR
reports so the data can be used to create readable weather reports
and/or process the data in applications.

feedback and ok merdely@
This commit is contained in:
okan 2008-04-05 04:13:44 +00:00
parent 36ab5a8c78
commit 19b4913d9a
4 changed files with 39 additions and 0 deletions

19
geo/p5-Geo-METAR/Makefile Normal file
View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/05 04:13:44 okan Exp $
COMMENT= process aviation weather reports in the METAR format
MODULES= cpan
DISTNAME= Geo-METAR-1.15
CATEGORIES= geo
# Perl
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Geo-METAR
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl \
${PREFIX}/share/examples/p5-Geo-METAR
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Geo-METAR-1.15.tar.gz) = bLksPDzglPFRe2AfXiLQ0Q==
RMD160 (Geo-METAR-1.15.tar.gz) = pdHWF72zr2yD6cCojc2QDo6ezI4=
SHA1 (Geo-METAR-1.15.tar.gz) = SBXw+RUHzFo6FzUU4P/tQmjJbTg=
SHA256 (Geo-METAR-1.15.tar.gz) = xzq4S5r0EpXV0iZmD7o7/W2jRyBgzWNFe8/85QiT5TY=
SIZE (Geo-METAR-1.15.tar.gz) = 16002

View File

@ -0,0 +1,8 @@
METAR reports are available on-line, thanks to the National Weather
Service. Since reading the METAR format isn't easy for non-pilots,
these reports are relatively useles to the common man who just wants a
quick glace at the weather. This module tries to parse the METAR
reports so the data can be used to create readable weather reports
and/or process the data in applications.
Note: fetch_temp.pl example script requires p5-libwww.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/05 04:13:44 okan Exp $
${P5SITE}/Geo/
${P5SITE}/Geo/METAR.pm
@man man/man3p/Geo::METAR.3p
share/examples/p5-Geo-METAR/
share/examples/p5-Geo-METAR/fetch_temp.pl
share/examples/p5-Geo-METAR/simple_dump.pl