get_moon

astroplan.get_moon(time, location, pressure=None)[source]

Position of the Earth’s moon.

Currently uses PyEphem to calculate the position of the moon by default (requires PyEphem to be installed). Set use_pyephem to False to calculate the moon position with jplephem (requires jplephem to be installed).

Parameters:

time : Time or see below

Time of observation. This will be passed in as the first argument to the Time initializer, so it can be anything that Time will accept (including a Time object).

location : EarthLocation

Location of the observer on Earth

pressure : None or Quantity (optional)

Returns:

moon_sc : SkyCoord

Position of the moon at time