Python Code to Plot position of planets on RA-DEC Grid
Below is Python Output & Code to "Plot position of planets on RA-DEC Grid". Change the Setting parameters - Longitude, Latitude and Time. The comments "#" gives short description of the code. You may need to install the required libraries. *************************************************************************** from astropy.coordinates import EarthLocation, AltAz, get_sun, get_moon, solar_system_ephemeris, get_body from astropy.time import Time import astropy.units as u import matplotlib.pyplot as plt def plot_planet_positions(date_time, latitude, longitude): # Define observer's location observer_location = EarthLocation(lat=latitude*u.deg, lon=longitude*u.deg, height=0*u.m) # Define the time of observation observing_time = Time(date_time) # List of planets planets = ['mercury', 'venus', 'earth', 'mars', 'jupiter', 'saturn', 'uranus', 'neptu...