This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ephem | |
import datetime | |
Boston=ephem.Observer() | |
Boston.lat='42.3462' | |
Boston.lon='-71.0978' | |
Boston.date = datetime.datetime.now() | |
# %% these parameters are for super-precise estimates, not necessary. | |
Boston.elevation = 3 # meters | |
Boston.pressure = 1010 # millibar |