Archive for July, 2007

05
Jul

Playing with XPlanet

After a while, I found that the some of the configuration files to make this project go are available from a gent named Michael Dear via a program/offering called Totalmarker. Totalmarker is a result of some perl scripts that create the cloud overlay; pull the volcano, earthquake, and storm data from the national sites; and also pulls the data from NORAD about the ephemeris for the Space Station and the Shuttle (when it up). This makes everything much easier. However, I quickly got tired of pulling the files every so often so I decided to see if I could script this somehow.It turns out that volcano data (for example) is only updated once a week, so there is not point in pulling it more often than that. Cloud data is updated about every 6 hours, so I could pull the cloud image every 6 hours. I needed something that I could schedule and windows scheduler was just too clumsy for me to figure out. So I did it the hard way, of course.The search for yet another capability led me to a new software program called nncron (lite), which acts as a cron service for windows. A cron service, if you don’t know, is something that runs in the background and checks to see if there is something it needs to do (like watching a folder for new files or emails that have been posted and then moving them to the appropriate location). I built a configuration file for nncron that schedules the various data pulls according to the frequency of their updates. (This is called a cron.tab file). Mine read like this attached file:
If you don’t speak ‘cron’, don’t worry. I didn’t either. I spent a lot of time on the website and with the documentation and figured it all out. All the lines above say is to download the appropriate configuration file (quake, cloud, etc.) at the times listed above. There isn’t much point in downloading more often, the files don’t change. So for example, the cloud file is built 4x a day. Downloading it more often than that wasn’t going to do me any good.So I loaded this up and, after a lot of testing, got it to work.
03
Jul

Search for a cool desktop

I’ve been working on a new desktop background. I wanted something similar to those Geocron clocks that show you the time anywhere in the world and whether it was daytime or nighttime. I started browsing around the internet to see what I could find.I came across something pretty cool, called XPlanet. It allows you to display the earth from any viewpoint and time. If you cause it to update, you can actually get a realistic idea of what is going on around the earth. I could change the projection to mimic the Geocron clocks if I wanted, but the default projection (the “Blue Marble” view if you follow NASA much) was really neat.

XPlanet screenshot

XPlanet is pretty cool but everything is driven by command line or config files, which slowed me down at first because of the learning curve. Some folks working around XPlanet have developed a front end for it called XPlanetControl (developed and maintained by Mario Franzbonenkamp) which shortens the setup time immensely and gets you going pretty quickly.

So, to start,

Xplanet can be found at: http://xplanet.sourceforge.net/

XplanetControl can be found at: http://www.xplanetcontrol.de/

What I really like about this is that it is a real-time representation of the earth, including the day-night terminator; the current weather and clouds; storms, if any; earthquakes in the past 20 minutes or so; and even active volcanoes. You can download some basic satellites even, like the Space Shuttle and the International Space Station. Being a space groupie, I like that. More on the downloads later.




This site employs the Wavatars plugin by Shamus Young.