Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with spherical coordinates. #15

Closed
JudgeTredd opened this issue Aug 14, 2019 · 3 comments
Closed

Issues with spherical coordinates. #15

JudgeTredd opened this issue Aug 14, 2019 · 3 comments
Assignees
Labels

Comments

@JudgeTredd
Copy link

Describe the bug
I'm not sure if I'm missing something here but I don't get accurate azimuth/elevation values when comparing to other ISS locators.

Observer Lat/Long/Height is: 45.68338, -73.43246, 0

1.) Comparing ISS data the azimuth and elevation are off by varying amounts. The Lat/Long/Altitude of the satellite are correct.

2.) Pass values are strange both for duration and elevation:

Start Of Contact: 14.08.2019-16:06:16, End of Contact: 14.08.2019-16:14:46, Max Elevation: 153.799149518202
Start Of Contact: 14.08.2019-16:15:01, End of Contact: 14.08.2019-19:38:01, Max Elevation: 4170.55683568467
Start Of Contact: 14.08.2019-19:38:16, End of Contact: 14.08.2019-01:13:31, Max Elevation: 1726.2632728008
Start Of Contact: 14.08.2019-08:58:01, End of Contact: 14.08.2019-12:10:16, Max Elevation: 179.48558251804
Start Of Contact: 14.08.2019-12:10:31, End of Contact: 14.08.2019-15:16:46, Max Elevation: 985.429678273676
Start Of Contact: 14.08.2019-15:17:01, End of Contact: 14.08.2019-15:35:16, Max Elevation: 284.913716508419
Start Of Contact: 14.08.2019-15:35:31, End of Contact: 14.08.2019-23:02:01, Max Elevation: 3840.08671322694

To Reproduce

TLE data used were the most updated from Celestrak.

  1. What function was called:

       //Calculate Sperical Coordinates from an Observer to Satellite
         //returns 3D-Point with range(km), azimuth(radians), elevation(radians) to the Satellite
         One_Sgp4.Point3d spherical = One_Sgp4.SatFunctions.calcSphericalCoordinate(observer, startTime, resultDataList[0]);
    

I used spherical.x spherical.y and spherical.z for altitude, azimuth and elevation.

satissue

Again not sure if I'm just missing something here.

Thank you,

@1manprojects 1manprojects self-assigned this Aug 15, 2019
@1manprojects 1manprojects added the In Progress currently being worked on label Aug 15, 2019
@1manprojects
Copy link
Owner

Thanks for the information,
I'm currently reworking the Pass Prediction to fix some issues that most likely you are having. At its current State (Master branch) the Calculations for the passes are off by around 6° which I'm still investigating. If I find the error I will release a new version. The current release (version 1.0.8) does not contain the newer Pass-Prediction.

@1manprojects
Copy link
Owner

Found the Issue, the Coordinates of the Ground location were not correctly calculated for the calcSpericalCoordinate function. This has been fixed and a new Version as been published to Nuget.

@JudgeTredd
Copy link
Author

You skilled man. Thanks for your hard work.

@1manprojects 1manprojects removed the In Progress currently being worked on label Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants