1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add py-metar 1.5.0

Metar is a python package for interpreting METAR and SPECI weather reports.

This module extracts the data recorded in the main-body groups of reports that
follow the WMO spec or the US conventions, except for the runway state and trend
groups, which are parsed but ignored. The most useful remark groups defined in
the US spec are parsed, as well, such as the cumulative precipitation, min/max
temperature, peak wind and sea-level pressure groups. No other regional
conventions are formally supported, but a large number of variant formats found
in international reports are accepted.

WWW: https://pypi.org/project/metar/
WWW: https://github.com/tomp/python-metar
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-04-29 19:46:07 +00:00
parent 8931507aaa
commit abd6b7819c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468646
5 changed files with 35 additions and 1 deletions

1
MOVED
View File

@ -7946,7 +7946,6 @@ devel/pyinstaller|devel/py-pyinstaller|2015-12-09|Add py- prefix to directory na
math/why3-gpl|math/why3-spark|2015-12-10|Change why3 suffix (upstream request and for consistency)
devel/py-memoryprofiler|devel/py-memory_profiler|2015-12-11|Rename to consistency with other Python ports
print/py-cups|print/py-pycups|2015-12-11|Renamed to match upstream naming
astro/py-metar|astro/py-pymetar|2015-12-11|Renamed to match upstream naming
devel/jep|devel/py-jep|2015-12-11|Renamed to match upstream naming
ftp/py-curl|ftp/py-pycurl|2015-12-13|Renamed to match upstream naming
www/py-django-pipeline12||2015-12-15|Has expired: Django 1.4 extended support ended on 2015-10-01

View File

@ -87,6 +87,7 @@
SUBDIR += py-astLib
SUBDIR += py-astropy
SUBDIR += py-horoscopegenerator
SUBDIR += py-metar
SUBDIR += py-metpy
SUBDIR += py-pymetar
SUBDIR += py-pywapi

19
astro/py-metar/Makefile Normal file
View File

@ -0,0 +1,19 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= metar
PORTVERSION= 1.5.0
CATEGORIES= astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Parse METAR-coded weather reports
LICENSE= MIT
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
.include <bsd.port.mk>

3
astro/py-metar/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1524959591
SHA256 (metar-1.5.0.tar.gz) = 1a1cc2047b7fe0fd3444ad0fb4d432c2950bc67e9904f29cc4349270802c287a
SIZE (metar-1.5.0.tar.gz) = 24058

12
astro/py-metar/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
Metar is a python package for interpreting METAR and SPECI weather reports.
This module extracts the data recorded in the main-body groups of reports that
follow the WMO spec or the US conventions, except for the runway state and trend
groups, which are parsed but ignored. The most useful remark groups defined in
the US spec are parsed, as well, such as the cumulative precipitation, min/max
temperature, peak wind and sea-level pressure groups. No other regional
conventions are formally supported, but a large number of variant formats found
in international reports are accepted.
WWW: https://pypi.org/project/metar/
WWW: https://github.com/tomp/python-metar