What is the best calculator for converting time units for use in Celestia?
I have tried several, needing to convert years to hours, but different ones do not give the exact same results, and over a period of thousands of years the discrepancy becomes too big to be practical.
I need to compute a stable relationship between two bodies for about 6000 years.
A web-based utility would be optimal... Alternately a win or OSX app.
-rthorvald
Best calculator?
Re: Best calculator?
rthorvald wrote:What is the best calculator for converting time units for use in Celestia?
I have tried several, needing to convert years to hours, but different ones do not give the exact same results, and over a period of thousands of years the discrepancy becomes too big to be practical.
What kind of years? (Julian, Gregorian, tropical, sidereal, anomalistic, ... )
- Hank
rthorvald, something like this?
Or what else?
Bye
Andrea
Code: Select all
http://www.onlineconversion.com/time.htm
Or what else?
Bye
Andrea
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
-
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 2 months
- Location: Massachusetts, USA
I brought this up in an earlier post http://www.shatters.net/forum/viewtopic.php?t=8001
there is a link there to a freeware converter...
there is a link there to a freeware converter...
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M
ANDREA wrote:http://www.onlineconversion.com/time.htm[/code]
Yes, this is the one i normally use. But how exact is it? It gives one terrestrial year as 8760 hours, while a time converter that came with my OS gives 8766 hours. What i am looking for is really a formula that matches how Celestia measures time...
-rthorvald
rthorvald wrote: What i am looking for is really a formula that matches how Celestia measures time... -rthorvald
Perhaps this page
Code: Select all
http://www.absoluteastronomy.com/encyclopedia/y/ye/year.htm
will give you the answer you need (but, alas, there is more than one, as you'll see).
Hope this will help.
Bye
Andrea
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
rthorvald wrote:ANDREA wrote:http://www.onlineconversion.com/time.htm[/code]
Yes, this is the one i normally use. But how exact is it? It gives one terrestrial year as 8760 hours, while a time converter that came with my OS gives 8766 hours. What i am looking for is really a formula that matches how Celestia measures time...
-rthorvald
An ordinary year is 8760 hours (365 days * 24 hours). A leap year is 8784 hours (366 days * 24 hours). An average year (with 1 out of 4 years a leap year) is 8766 hours (365.25 * 24 hours).
Can you give us a better idea of what you're trying to do? Are you sure Celestia itself has the required precision?
- Hank
Well, i have assumed that this is what Celestia takes to be one year.hank wrote:An average year (with 1 out of 4 years a leap year) is 8766 hours (365.25 * 24 hours)
No, that is what i am trying to find out.hank wrote:Are you sure Celestia itself has the required precision?
hank wrote:Can you give us a better idea of what you're trying to do?
Spesificially, i have a planet with a period of 0.3450137 years. I am trying to align this with the rotationperiod of the star, so that it passes a certain spot on the star surface at spesific dates - but over time it drifts off. I don??t know if it is the calculator or Celestia yet.
-rthorvald
rthorvald wrote:Specificially, I have a planet with a period of 0.3450137 years. I am trying to align this with the rotationperiod of the star, so that it passes a certain spot on the star surface at spesific dates - but over time it drifts off. I don??t know if it is the calculator or Celestia yet.
-rthorvald
From the code it looks like Celestia uses years of 365.25 days for the orbital period and 24 per day hours for the rotation period. I'd guess your problem is due to imprecision in the math calculations.
- Hank
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
++++++++++++++++++++++++
Since you happen to talk about Celestia's precision, there is a known typo in Celestia, concerning the numerical value of the speed of light.
The astrophysical consequences of this slightly incorrect value have so far not been explored. They could be significant notably on long time scales.
We have not yet replaced the value by the correct one, since this would invalidate a number of existing stuff, like CEL://urls .This issue definitely calls for a clean solution!
+++++++++++++++++++++++++
Cheers,
Bye Fridger
Since you happen to talk about Celestia's precision, there is a known typo in Celestia, concerning the numerical value of the speed of light.
The astrophysical consequences of this slightly incorrect value have so far not been explored. They could be significant notably on long time scales.
We have not yet replaced the value by the correct one, since this would invalidate a number of existing stuff, like CEL://urls .This issue definitely calls for a clean solution!
+++++++++++++++++++++++++
Cheers,
Bye Fridger