/predict4java

java library for satellite position prediction

Primary LanguageJava

predict4java


Maven Central
codecov

predict4java provides real-time satellite tracking and orbital prediction information.

Status: deployed to Maven Central

mavenized fork of http://code.google.com/p/predict4java/

Quoting from above site:

This is a Java port of the core elements of the Open Source (GPL v2) Predict program, Copyright John A. Magliacane, KD2BD 1991-2003:

http://www.qsl.net/kd2bd/predict.html

Dr. T.S. Kelso is the author of the SGP4/SDP4 orbital models, originally written in Fortran and Pascal, and released into the public domain through his website:

http://www.celestrak.com/

Neoklis Kyriazis, 5B4AZ, later re-wrote Dr. Kelso's code in C, and released it under the GNU GPL in 2002. PREDICT's core is based on 5B4AZ's code translation efforts.

The Author of the pre-mavenized version is: David A. B. Johnson, G4DPZ

Continuous integration with Jenkins for this project is here.

Project reports including Javadocs are here.

Notes

During the mavenizing process the following minor changes to the original project were made:

  • TestUtil dependency is not available in a maven repository so commented out the calls to that library in SatPosTest and SatPassTimeTest.
  • checkstyle configuration is included in the source but is not referenced yet by the maven checkstyle plugin

More enhancements to the original codebase have been performed since the original mavenization and are indicated in the commit history.

Getting started

Add this dependency to your pom.xml:

<dependency>
    <groupId>com.github.davidmoten</groupId>
    <artifactId>predict4java</artifactId>
    <version>VERSION_HERE</version>
</dependency>

Build instructions

cd <YOUR_WORKSPACE>
git clone http://github.com/davidmoten/predict4java.git
cd predict4java
mvn clean install

View site reports

The generated maven site includes these reports:

  • Cobertura coverage
  • Checkstyle
  • PMD
  • CPD
  • FindBugs
  • JDepend
  • JavaNCSS
  • Tag List
  • Javadocs

To generate:

mvn clean site

Then open target/site/index.html in a browser