get_earth

sunpy.coordinates.get_earth(time='now')[source] [edit on github]

Return a SkyCoord for the location of the Earth at a specified time in the HeliographicStonyhurst frame. The longitude will be 0 by definition.

Parameters

time (tuple, str, pandas.Timestamp, pandas.Series, pandas.DatetimeIndex, datetime.datetime, datetime.date, numpy.datetime64, numpy.ndarray, astropy.time.Time) – Time to use in a parse_time-compatible format

Returns

out (SkyCoord) – Location of the Earth in the HeliographicStonyhurst frame