Questions tagged [pyephem]

PyEphem provides the Python language with routines for computing the location of celestial objects like the sun, moon, and planets, as well as for any asteroids, comets, and earth satellites for which the caller can provide orbital elements. Rise, set, and transit times can be computed for any object, and basic coordinate computations are also supported.

272 questions
0
votes
1 answer

Longitude of lunar nodes using Skyfield

I am trying to find out the longitude of ascending/descending moon nodes using Skyfield but unable to find any reference in documentation. Is it possible? Also do any of the JPL Files provide this data already?
Prabhash
  • 73
  • 9
0
votes
1 answer

Uncertainty of sun-earth distance in Pyephem

I wonder if anybody ever has assessed the uncertainty of the sun-earth distance calculations of pyephem? Since it might be used as an input to other calculations, this would be of relevance for further uncertainty analysis. Cheers, F
Staty
  • 13
  • 3
0
votes
0 answers

Downloading, Installing, Importing libraries in Spyder for Windows 10

I am trying to run PyEphem on Spyder. I am extremely new to Python and libraries in general. Currently it just says that I'm running Spyder in Python 2.7. 1) I would like to run the most up to date version of Python via Spyder and then import or…
a_here_and_now
  • 177
  • 3
  • 15
0
votes
1 answer

PyEphem: AlwaysUpError for the Sun occurs in a location where this shouldn't happen

import ephem rwth = ephem.Observer() rwth.lat = '50.8' rwth.long = '6.1' rwth.horizon = '-18' rwth.next_setting(ephem.Sun()) This will result in an error Traceback (most recent call last): File "", line 1, in File …
0
votes
1 answer

how can i calculate distances with pyephem?

hi i need a little help if any of you know how to calculate the distance of a coordinates and a satellite projection, i mean, when i predict the path of the satellite i need to know what is the distance between the future path and the coordinates…
Gring
  • 1
  • 1
0
votes
1 answer

PyEphem: How to test if an object is above the horizon?

I am writing a Python script that gives basic data for all the planets, the Sun and the Moon. My first function divides the planets between those that are above the horizon, and those that are not risen yet: planets = { 'mercury':…
eichan
  • 95
  • 13
0
votes
1 answer

PySolar issues without timezone

I am trying to find the solar zenith angle for data sets throughout the United States. The issue I am having is that my data set timestamp does not give me the time zone it is located in. Here is an example below: Blodgett_lat =…
Jason
  • 181
  • 2
  • 14
0
votes
1 answer

Why can't I get the same coordinate back with pyephem?

If you simply create a FixedObject and give it a set of coordinates and then ask for them back you get a different position: >>> import ephem >>> TestStar = ephem.FixedBody() >>> TestStar._ra, TestStar._dec = '12:43:20', '-45:34:12' >>>…
JunCTionS
  • 442
  • 5
  • 13
0
votes
1 answer

pyEphem for calculting perfect moon position, using Lahiri ayanamsa

I am looking PyEphem python module to find moon position with accuracy for astrological research import ephem 'Setting Delhi as location with 77E12 longitude, 28:36 lattitude Delhi = ephem.Observer() Delhi.lon =…
Ipa
  • 1
  • 1
0
votes
0 answers

Circular/Ideal Orbits using PyEphem

After many days searching for the answer and probaly not asking the google oracle the right question I am here. First off I am not an astronomer and other I might just be missing that one piece of information I need to answer this myself I am trying…
archdata
  • 11
  • 3
0
votes
0 answers

Pyephem Earth-sun distance in AU with de405 ephemeris

In a project I have to calculate the earth sun distances in astronomical units with de405 ephemeris. I used pyephem, jplephem, skyfield also installed de405 package but couldn't achieve and wrote this code: from skyfield.jpllib import…
geode
  • 1
  • 3
0
votes
1 answer

Pyephem date comparision not triggering code

I have this script triggered at 3am from crontab on a raspberry pi. The idea is to take a timelapse video over the course of a day but only between sun up and sunset. The code when triggered calculates the sun set and sun rise times, then awaits…
0
votes
2 answers

Cannot print alt and az using pyephem in function

I'm working on building a simple python program for a class which will run on a Raspberry Pi and an Arduino to direct a telescope. I had started to learn python some time ago, and I'm having trouble getting my functions to work properly. Right now,…
Brian
  • 4,274
  • 2
  • 27
  • 55
0
votes
2 answers

Trying to install ephem-3.7.5.1 on Mac OS X 10.8.4

When I execute the install script, I get the following: creating build/temp.macosx-10.6-intel-3.3/extensions/data /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic…
0
votes
1 answer

PyEphem Rise/Set Azimuths for Stars and Constellations

I can't seem to figure out how to calculate an azimuth of a star, let's say Sirius, when it is at alt=0 (star rise/star set). So essentially in the end I will have two values. Sirius.az @ star rise Sirius.az @ star set Is this possible? THANKS!
Spatial Pariah
  • 351
  • 4
  • 17
1 2 3
18
19