public class GeoFunctions extends Object
Constructor and Description |
---|
GeoFunctions() |
Modifier and Type | Method and Description |
---|---|
static double[] |
calculate_AER(double currentJulianDate,
double[] lla_deg_m,
double[] eci_pos)
calculate the pointing information Azumuth, Elevation, and Range (AER) to
a satellite from a location on Earth (given Lat, Long, Alt)
if elevation >=0 then sat is above local horizon
|
static double[] |
calculateECIposition(double[] lla_deg_m,
double theta)
Calculate ECI position from local mean sidereal time and geodetic lat long alt
|
private static double[] |
calculateGeodeticLLA(double[] r,
double d) |
private static double |
earthRotationDeg(double d) |
static double[] |
eci2sez(double[] rECI,
double thetaDeg,
double latDeg)
transform ECI to topocentric-horizon system (SEZ) (south-East-Zenith)
|
static double[] |
GeodeticLLA(double[] modPos,
double mjd)
Compute Geodetic Latatude/Longitude/Altitude from Mean of Date position vector and Date
|
public GeoFunctions()
public static double[] GeodeticLLA(double[] modPos, double mjd)
modPos
- Mean of date position vectormjd
- modified julian date (is this UTC or TT?) guessing UTCprivate static double[] calculateGeodeticLLA(double[] r, double d)
private static double earthRotationDeg(double d)
public static double[] calculate_AER(double currentJulianDate, double[] lla_deg_m, double[] eci_pos)
currentJulianDate
- Julian Date for AER calculation (corresponds to ECI position)lla_deg_m
- lat long and alt of station in deg/deg/meters (Geodetic)eci_pos
- ECI position of object in meters (sat)public static double[] calculateECIposition(double[] lla_deg_m, double theta)
lla_deg_m
- lat long and alt of station in deg/deg/meters (Geodetic)theta
- local mean sidereal time (Degrees)public static double[] eci2sez(double[] rECI, double thetaDeg, double latDeg)
rECI
- position in ECI coordinates (meters)thetaDeg
- local sidereal time (degrees)latDeg
- observer's latitude (degrees)