Introduction
My goal is follow up the title of this question and obtain the Earth coordinates (latitude, longitude)
from the keplerian coords (w, Ohm, i, a, e, M)
. My idea is to find a space object (asteroid or whatever) make a straight line from it that goes right into Earth. Then plot it on a map with latitude and longitude.
This is by very first attempt in this subject and every bit of information is more than welcome (although please don't make me read 100 pages, be specific, this is a "self learning programming summer project" where I learn data and science thanks in advance)
Sources of knowledge
For the Keplerian variables I got them from here
in this case I used Ceres's variables:
M = 77.44; //Mean
e = 0.0760; //Eccentricity
a = 2.7691; //Smj axis
i = 10.59; //inclination
w = 73.59; //perigee
Ohm = 80.80; //node
For the formulas I used these from an old NASA publication where I used these formulas:
Cartesian solution:
--Formulas--
x = a*((cos(E)-e)*(cos(w)*cos(Ohm)-sin(w)*sin(Ohm)*cos(i))+(((1-e^2)^(1/2))*sin(E))*(-sin(w)cos(Ohm)-cos(w)*sin(Ohm)*cos(i)));
y = a*((cos(E)-e)*(cos(w)*sin(Ohm)+sin(w)*cos(Ohm)*cos(i))+(((1-e^2)^(1/2))*sin(E))*(-sin(w)sin(Ohm)+cos(w)*sin(Ohm)*cos(i)));
z = a*((cos(E)-e)*(sin(w)*sin(i))+((1-e^2)^(1/2))*sin(E)*(cos(w)*sin(i)))
from which I got the next results:
--RESULTS--
x = 1.35824;
y = -2.6455
z = -0.7783;
then proceed for the latitude calculation with:
--Formulas--
radius = sqrt(x^2 + y^2 + z^2)
latitude = cotan(z/(sqrt(x^2+y^2)))
from which I got the next results:
--RESULT--
radius = 3.0739;
latitude = -3.7332;
Problem
I have the feeling I messed up or misunderstood something along the way to my goal and the result that I encountered is wrong. At least for the latitude, as per the longitude I won't calculate if my latitude is wrong. (Why keep wasting time in wrong numbers and assumptions?)
Goal
To be able to convert those variables into latitude and longitude for a map representation of Earth.
Notes
- I already read some similar posts in this community and maybe this question is prone to be labelled as duplicated, I hope it's not, and it's solved in a way it can help anybody with similar problems.
- My aim is not to have a full understanding of the concept but enough to keep working on my numbers and calculations and thus translate it into (JavaScript).
- I am self taught in every subject of my interest and I am open for learning new stuff from others.
Similar Questions
Calculation of coordinates from JPL Small-body database parameters?
What is this algorithm to calculate orbital state vectors?
Ground longitude/latitude under a satellite (cartesian coordinates) at a specfic epoch