I want to simulate the total sun eclipse of 1999 Aug 11th, as seen in the north of France. I wrote a script, but if I set the starting time a rather long time before the eclipse starts, the simulation doesn't give a total eclipse. If I set the starting time later, the simulation seems to be correct.
Both cel-scripts can be found on
http://users.pandora.be/herman.serras/celestia/
Thanks.
Herman
sun eclipse script: what am I doing wrong?
-
- Posts: 164
- Joined: 18.03.2004
- Age: 63
- With us: 20 years 8 months
- Location: Victoria, BC Canada
Herman,
It appears that the cause of your problem is that, after arriving at the desired lat/long. the scripts then use follow{} to stay near Earth. follow{} keeps the observer in the same location over Earth relative to the universe, but the Earth still turns beneath the observer.
The first scripts start at a time close to the eclipse, so that by the time that totality is to be seen, the Earth has not rotated much and the observer is still near the the desired location, close enough to see totality.
The second script starts at a much earlier time, and by the proper time, Metz has rotated well away from where the observer is and so totatility is missed.
Try the following, replace the follow { } after the the gotolonglat{} with synchronous { } (which keeps the observer rotating with the Earth), and add track { object "Sol" } after the center{} command. This should do the trick.
It appears that the cause of your problem is that, after arriving at the desired lat/long. the scripts then use follow{} to stay near Earth. follow{} keeps the observer in the same location over Earth relative to the universe, but the Earth still turns beneath the observer.
The first scripts start at a time close to the eclipse, so that by the time that totality is to be seen, the Earth has not rotated much and the observer is still near the the desired location, close enough to see totality.
The second script starts at a much earlier time, and by the proper time, Metz has rotated well away from where the observer is and so totatility is missed.
Try the following, replace the follow { } after the the gotolonglat{} with synchronous { } (which keeps the observer rotating with the Earth), and add track { object "Sol" } after the center{} command. This should do the trick.
Clive Pottinger
Victoria, BC Canada
Victoria, BC Canada
- Adirondack
- Posts: 528
- Joined: 01.03.2004
- With us: 20 years 8 months
Re: sun eclipse script: what am I doing wrong?
Why don't you simply use this:hermans wrote:I want to simulate the total sun eclipse of 1999 Aug 11th, as seen in the north of France.
http://www.celestiamotherlode.net/catalog/show_addon_details.php?addon_id=90?
You could have spared yourself a lot of work.
Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)