jsebrech
06-27-2003, 08:24 AM
Earthview is a software package that renders a globe based on weatherdata from meteosat and nasa. It's pretty realistic (beats the heck out of xearth). This is how I got it to work for me.
See http://sebrechts.net/~joeri/globe.jpg for an example rendering.
Before you begin, make sure you've got an up-to-date development environment (gcc, make, perl, ...), and that you've installed netpbm, libnetpbm-dev and djpeg (in debian type apt-get install netpbm libnetpbm9-dev djpeg-progs).
Download earthview-prog and earthview-data from http://gimel.esc.cam.ac.uk/james/resources/earthview/files/
Get a free account with the Dundee satellite receiving station at http://www.sat.dundee.ac.uk/registerql.html
Don't forget to change the password of your account.
tar zxvf earthview-*
cd earthview/images
Edit "fetch". Put in your http_proxy if you're using one, and replace "wget ${NV} ${ENN} http://www.sat.dundee.ac.uk/pdus/$i/latest_n.jpg" with "wget --http-user yourusername --http-passwd yourpassword ${NV} ${ENN} http://www.sat.dundee.ac.uk/pdus/$i/latest_n.jpg"
Obviously the username and password here are the ones you got with the free account you subscribed for earlier.
Edit Makefile and replace the WHERE line with your coordinates. the format is latitude,0_longitude,0_4,0
cd .. && make
You'll find the globe as earthview/images/NOBACKUP/view.coordinates.jpg
I made a script that does this make, and copies the resulting jpg to my public_html dir. Then I added it as a crontab entry like so:
0 0,2,4,6,8,10,12,14,16,18,20,22 * * * /home/joeri/bin/drawearth
If your machine is fast you can render it more often, but on the ppro 200 I run this on it takes 20 minutes to draw the earth, and during that time the load climbs skyhigh. On my 1ghz pIII laptop however it takes just a minute or two at most, so your mileage may vary.
See http://sebrechts.net/~joeri/globe.jpg for an example rendering.
Before you begin, make sure you've got an up-to-date development environment (gcc, make, perl, ...), and that you've installed netpbm, libnetpbm-dev and djpeg (in debian type apt-get install netpbm libnetpbm9-dev djpeg-progs).
Download earthview-prog and earthview-data from http://gimel.esc.cam.ac.uk/james/resources/earthview/files/
Get a free account with the Dundee satellite receiving station at http://www.sat.dundee.ac.uk/registerql.html
Don't forget to change the password of your account.
tar zxvf earthview-*
cd earthview/images
Edit "fetch". Put in your http_proxy if you're using one, and replace "wget ${NV} ${ENN} http://www.sat.dundee.ac.uk/pdus/$i/latest_n.jpg" with "wget --http-user yourusername --http-passwd yourpassword ${NV} ${ENN} http://www.sat.dundee.ac.uk/pdus/$i/latest_n.jpg"
Obviously the username and password here are the ones you got with the free account you subscribed for earlier.
Edit Makefile and replace the WHERE line with your coordinates. the format is latitude,0_longitude,0_4,0
cd .. && make
You'll find the globe as earthview/images/NOBACKUP/view.coordinates.jpg
I made a script that does this make, and copies the resulting jpg to my public_html dir. Then I added it as a crontab entry like so:
0 0,2,4,6,8,10,12,14,16,18,20,22 * * * /home/joeri/bin/drawearth
If your machine is fast you can render it more often, but on the ppro 200 I run this on it takes 20 minutes to draw the earth, and during that time the load climbs skyhigh. On my 1ghz pIII laptop however it takes just a minute or two at most, so your mileage may vary.