question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Different ways to calculate the longitude

See original GitHub issue

I am not sure if this is a bug or a misundersting from my side (probably the last_

I am trying to calculate the longitude of a planet and I get different results in if I do osculating_elements_of((planet - sun).at(t).true_longitude or (planet - sun).at(t).ecliptic_latlon()[1]

I thought it might be a problem with the equinox, so I calculated the difference between the longitude for two planets and still both methods do not match.

Any ideas?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
heratspacecommented, Oct 4, 2019

I appreciate the time you spent answering this. I will try to convert between the two planes to see if I can recover that.

0reactions
brandon-rhodescommented, Oct 10, 2019

In the meantime I’m going to close this issue since it’s not currently pending any action to be taken in Skyfield’s code. Feel free to continue the discussion here by commenting further, though!

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Ways to Determine Latitude and Longitude
1. Understand latitude. Latitude measures how far a point is north or south of the equator. Since the earth is round, distance from...
Read more >
Calculating Longitude
Calculating longitude by comparing time difference. If we have two accurate clocks, one calibrated to GMT and the other calibrated to local time,...
Read more >
Latitude and Longitude Distance Calculation Explained
One of the most common ways to calculate distances using latitude and longitude is the haversine formula, which is used to measure distances...
Read more >
How to determine your coordinates (latitude and longitude) ...
The longitude value can be calculated by using a “1 degree longitude for 4 minutes time difference” formula. Now you know how to...
Read more >
How do I calculate longitude from time?
Because one day is 24 hours long one can easily use time to calculate longitude. One hour of time difference corresponds to 15°...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found