satellites-above
v1.4.0
Published
GPS satellite tracker - which GPS satellites are visible above a given location?
Downloads
3
Readme
satellites-above
This node module allows you to easily gather information about the GPS satellites which are currently visible from a given location on earth. Additional information about the satellites' relative elevation and azimuth are returned as well. Using JsPredict for smooth calculations.
How to install it?
npm install --save satellites-above
How to use it?
const SatellitesAbove = require('satellites-above');
let satellites = new SatellitesAbove();
satellites
.load({download: true})
.then(() => {
let sats = satellites.above(52.520645, 13.409779);
console.log(sats);
});
$> node example.js
[+] Downloading TLE file..
[+] Loaded 31 GPS satellites
[+] Finding satellites above 52.520645, 13.409779
[ { pnr: '10',
azimuth: 162.64770521748392,
elevation: 39.92090170684154 },
{ pnr: '16',
azimuth: 223.13576718986934,
elevation: 58.74067393499978 },
{ pnr: '18',
azimuth: 108.7719771229539,
elevation: 53.685250648551936 },
{ pnr: '20',
azimuth: 46.941697880412825,
elevation: 21.617107809987786 },
{ pnr: '08',
azimuth: 292.8757183035666,
elevation: 24.704872916607023 } ]
Special thanks
- rosh93 for his work on JsPredict
- Tr4sHCr4fT for inspiring me with his python based gpsinfo :)