astroquery

How to get earth vector data from jpl horizons in python?

How to get earth vector data from jpl horizons in python? Question: I am trying to get the vector data for Earth using Astroquery’s Horizons Class. I have the following code: from astroquery.jplhorizons import Horizons import numpy as np earth = Horizons(id=399, epochs = {‘start’:’2005-06-20′, ‘stop’:’2005-06-21′,’step’:’1d’}) earthVectors = earth.vectors() earthX = earthVectors[‘x’].data # X is …

Total answers: 2