Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sgp4

A NodeJS port of python-sgp4 used for predicting and calculating orbital information of satellites from TLE data.

sgp4, node-sgp4, satellite, tle, norad, wgs84, wgs72

readme

node-sgp4

Build Status

SGP4 is one of five simplified pertubation models used to calculate various orbital information about satellites. This library was ported from python-sgp4 and uses some functions from satellite-js to convert coordinates.

If you need any support, click the badge below. Support is not guaranteed and I provide it only when I am not busy. Join the chat at https://gitter.im/joshuaferrara/node-sgp4

NPM

Installation

npm install sgp4

Example | Google Maps Demo

An example is provided in the top directory named example.js. To run the example, simply use the command node example. This example program will print the latitude and longitude of the ISS at the current point in time based off of TLE data from 14 September 2015.

Notes

Most of the methods are self explanatory. The example does a great job of showing how to get different types of coordinates. There are many functions at the bottom of sgp4.js that allow conversion between different coordinate models.

License

MIT