Astronomy Project – Day 10

I made some quick additions this afternoon to my GitHub repo for this project, which I've renamed to PySky. I had to do some research on the Pyephem license before I packaged it with my code. It turns out it's available to distribute freely with other software as long as I provide my source, so now, it's packaged with my simple python script.

Update 9:08 PM 10/16/13 Looks like I wrote the post too soon. I was able to spend some time tonight working on the script after my wife went to bed and I was able to get both of my original problems solved. The updated script is posted on GitHub.

I was able to find a nifty little piece of code to help me manage responses to prompts so my code is a little cleaner. I don't have to have as many conditionals (if, elif, else) in my functions anymore, which makes everything look a little bit nicer.

As far as my coding, I'm working on a couple things:

  1. Users will be able to set their location, rather than having it hardcoded to South Bend (which isn't useful at all).
  2. The program needs to be able to save the location data for all lookups. I think a global variable is a good way to do this, but I need to learn more.

Things have been crazy lately, so I haven't touched this in a while. I'm still also working on getting the hardware I need to get my Raspberry Pi up and running. The only video-out it has is an HDMI port. I don't have a monitor that can take HDMI, and I'm having a hard time tracking an HDMI-to-VGA adapter down. I might need to turn to Amazon for this one.

BUT, I did get another crucial piece of hardware for this little jaunt that I'm very excited about.

Of course, it happened to come on the cloudiest day of the month so far. I'll post more pictures of the scope in a later post.

Leave a Reply

Your email address will not be published. Required fields are marked *