import ports/astro/py-sgp4, ok martin@
This Python package computes the position and velocity of an earth-orbiting satellite, given the satellite's TLE orbital elements from a source like https://celestrak.com/. It implements the most recent version of SGP4, and is regularly run against the SGP4 test suite to make sure that its satellite position predictions agree to within 0.1 mm with the predictions of the standard distribution of the algorithm. This error is far less than the 1-3km/day by which satellites themselves deviate from the ideal orbits described in TLE files.
This commit is contained in:
parent
beba1f8f97
commit
10abf179f7
31
astro/py-sgp4/Makefile
Normal file
31
astro/py-sgp4/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2021/11/03 22:27:47 sthen Exp $
|
||||
|
||||
COMMENT = Python implementation of SGP4 satellite tracking algorithm
|
||||
|
||||
MODPY_EGG_VERSION = 2.20
|
||||
|
||||
DISTNAME = sgp4-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
|
||||
CATEGORIES = astro
|
||||
|
||||
HOMEPAGE = https://github.com/brandon-rhodes/python-sgp4
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} m
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYTEST_ARGS = sgp4/tests.py
|
||||
|
||||
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
astro/py-sgp4/distinfo
Normal file
2
astro/py-sgp4/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (sgp4-2.20.tar.gz) = n94yiHL0hOtkTavjISK6YXVw/2G1SLcgCp1jYprDCXw=
|
||||
SIZE (sgp4-2.20.tar.gz) = 160815
|
10
astro/py-sgp4/pkg/DESCR
Normal file
10
astro/py-sgp4/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
This Python package computes the position and velocity of an
|
||||
earth-orbiting satellite, given the satellite's TLE orbital elements
|
||||
from a source like https://celestrak.com/.
|
||||
|
||||
It implements the most recent version of SGP4, and is regularly run
|
||||
against the SGP4 test suite to make sure that its satellite position
|
||||
predictions agree to within 0.1 mm with the predictions of the standard
|
||||
distribution of the algorithm. This error is far less than the 1-3km/day
|
||||
by which satellites themselves deviate from the ideal orbits described
|
||||
in TLE files.
|
37
astro/py-sgp4/pkg/PLIST
Normal file
37
astro/py-sgp4/pkg/PLIST
Normal file
@ -0,0 +1,37 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/11/03 22:27:47 sthen Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/SGP4-VER.TLE
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}conveniences.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}earth_gravity.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}exporter.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}ext.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}functions.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}io.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}model.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}omm.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}propagation.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}tests.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}wrapper.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/${MODPY_PYCACHE}wulfgar.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/api.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/conveniences.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/earth_gravity.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/exporter.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/ext.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/functions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/io.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/model.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/omm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/propagation.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/sample_omm.csv
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/sample_omm.xml
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/tcppver.out
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/tests.py
|
||||
@so lib/python${MODPY_VERSION}/site-packages/sgp4/vallado_cpp.${MODPY_PYC_MAGIC_TAG}so
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/wrapper.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sgp4/wulfgar.py
|
Loading…
x
Reference in New Issue
Block a user