A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Others » UK Astronomy
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Javascript Ephemeris



 
 
Thread Tools Display Modes
  #11  
Old March 18th 09, 09:22 PM posted to uk.sci.astronomy,sci.astro.amateur
Peter Hayes[_3_]
external usenet poster
 
Posts: 15
Default Javascript Ephemeris

Peter Hayes wrote:
Paul Schlyter wrote:
In article ,
Peter Hayes wrote:
Paul Schlyter wrote:
In article ,
Peter Hayes wrote:
For those who use or have copied my ephemeris pages I've made a
small correction so it gets daylight saving time right for those
states of the USA that use it. Most places change on the last
Sunday of the month but America decided to be different.

Pete H

http://www.aphayes.pwp.blueyonder.co...ris/index.html
Perhaps you could correct your ephemeris pages further, so that you
give RA and Decl to approximately the same accuracy? As your
Javascript
ephemeris is now, you give the declination some ten times more accurate
than the accuracy of the RA you give.

Yes, I know it's a common error - people seem to fail to realize that
one minute of time (in RA) is really the same as 15 minutes of arc.
Fixed, the code now prints minutes of RA as mm.m I've also added
references to your planetary web pages for the gravitational
perturbations between the outer planets. I'm not planning to add the
corrections any time soon but a least users know of the potential
errors.

Pete H


Great!

But you forgot the Moon - its RA is still displayed as hh:mm


OK tomorrow, some of this code is 5 years old and I'm in the over 60
memory failing zone ;(


Or even this evening. The good thing about learning programming from
Wirth is I've defined most of the code in small functions so it was a 1
character change to select the routine to print RA to the required
precision. All I need now is someone to go out and check the
calculations against the real sky ;( but I guess having the same
results as NOAA is near enough the same thing.


Pete H


Pete H
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Ephemeris Peter Hayes[_3_] Amateur Astronomy 10 March 18th 09 09:22 PM
Javascript Ephemeris Peter Hayes[_3_] Research 0 February 2nd 09 08:13 PM
JavaScript for Equinox date/times? Dr J R Stockton[_15_] UK Astronomy 0 January 27th 09 09:12 PM
Ann: Sunspot and planetary feature lat long javascript calculator canopus56 Amateur Astronomy 0 August 25th 06 12:01 AM
VBA or Javascript Code - coordinate conversion PrisNo6 Amateur Astronomy 2 September 19th 03 10:03 PM


All times are GMT +1. The time now is 02:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.