get_earth

sunpy.coordinates.ephemeris.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 (various) – Time to use as Time or in a parse_time-compatible format
Returns:out (SkyCoord) – Location of the Earth in the HeliographicStonyhurst frame