Revised numberedmoons.ssc

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 7 months

Revised numberedmoons.ssc

Post #1by granthutchison » 10.02.2004, 11:32

JPL have published revised ephemerides for the mass of Jovian moons discovered in 2003 - quite significant changes to distances and eccentricities in many instances. They've also just produced official data for 2003 J22 and 2003 J23. I've incorporated these changes and additions in numberedmoons.ssc, available from the CVS tree at http://cvs.sourceforge.net/viewcvs.py/celestia/celestia/extras/numberedmoons.ssc.

Grant

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 20 years 8 months
Location: Germantown, Ohio - USA

Post #2by Bob Hegwood » 10.02.2004, 23:45

Hey,

Thanks Grant... Don't you have a life either? :lol:

Got the ssc, and thanks again.

However, when I simply right-clicked on the link and chose "Save Target As" what I got was a strange HTML-type text file. Is this the correct link?

The following is a sample of the file I got:

Code: Select all

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head>
<!-- ViewCVS -- http://viewcvs.sourceforge.net/
by Greg Stein -- mailto:gstein@lyra.org
-->
<title>CVS log for celestia/celestia/extras/numberedmoons.ssc</title>
</head>
<body text="#000000" bgcolor="#ffffff">
<center>
<iframe SRC="http://ads.osdn.com/?op=iframe&position=1&allpositions=1&site_id=2§ion=cvs" width="728" height="90" frameborder="0" border="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no"></iframe>
<!-- image audit code -->
<script LANGUAGE="JAVASCRIPT">


After I opened the link in a new window, I was able to download the SSC file from there. Just thought I'd let you (and others) know about it.

Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 2 months
Location: West Yorkshire, England

Post #3by TERRIER » 11.02.2004, 00:45

Grant,
I'm currently running Jacks "JACKtiny_or_new_moons" ssc.

Can the new "numberedmoons" be used as a direct replacement ?

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Topic author
granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 7 months

Post #4by granthutchison » 11.02.2004, 12:32

Yeah, minormoons.ssc and numberedmoons.ssc between them cover all the moons in the solar system for which JPL provide ephemerides: there are usually a couple of moons knocking around that have recently been discovered but don't have tight orbits calculated yet, so they aren't included. At present, we're missing two new Uranians from last year, and the rediscovered Uranian from 1986. I know Jack provides elements for the 1986 moon in his file, but it's unlikely to be accurate since the thing went missing for 17 years - I'm waiting for the JPL update before I include it.

Grant

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 21 years 10 months
Location: London, England

Post #5by Darkmiss » 11.02.2004, 15:37

Just finished converting it over
big changes to the Jupiter un-named moons

Thanks Grant
CPU- Intel Pentium Core 2 Quad ,2.40GHz
RAM- 2Gb 1066MHz DDR2
Motherboard- Gigabyte P35 DQ6
Video Card- Nvidia GeForce 8800 GTS + 640Mb
Hard Drives- 2 SATA Raptor 10000rpm 150GB
OS- Windows Vista Home Premium 32

Topic author
granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 7 months

Post #6by granthutchison » 11.02.2004, 16:54

Bob Hegwood wrote:However, when I simply right-clicked on the link and chose "Save Target As" what I got was a strange HTML-type text file. Is this the correct link?
It's a link to the relevant page of the CVS tree. From there you can download the file with a right-click on the "Download" option. What you did was download the HTML for the CVS webpage.

Grant

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 6 months
Location: People's Republic Of Cork, Ireland

Post #7by JackHiggins » 14.02.2004, 12:41

What Grant said!

I think I might discontinue my tiny_moons file actually, since numberedmoons.ssc is actually updated, and I haven't got the time at the moment... However, I really hate the format numberedmoons comes in, with the | character splitting the lines- it makes it incredibly hard to read! Grant, is it possible to change this so it looks a little more like the way I had my tiny_moons file laid out?

Thanks!
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

Topic author
granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 7 months

Post #8by granthutchison » 14.02.2004, 13:33

What kind of editor are you opening it in? It's just built in Notepad and laid out the same way that solarsys.ssc is laid out, with a standard Windows CR/LF at the end of each line, instead of the Linux plain LF.

Grant

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 2 months
Location: West Yorkshire, England

Post #9by TERRIER » 14.02.2004, 13:51

I have a similar 'problem' when viewing it using Notepad. All the text is in one big lump, with each new item seperated by a square.

I have word wrap on, page size A4, source 'automatic', if this makes a difference ? :?

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 9 months
Location: NY, USA

Post #10by selden » 14.02.2004, 14:21

When Notepad displays a text file as a single lump containing squares, that means that the file has been stored on the Windows system with only line-feeds for line terminators.

This happens because the file is being provided by the Web server in standard Unix text format, but the Windows browser doesn't realize an SSC file actually is a text file. As a result, the browser's download process doesn't insert the carriage-returns that Windows normally uses.

If you read the file with WordPad, it'll look OK.
If you then save the file from WordPad, "Carriage-Returns" will be added and the resulting file will look fine in Notepad.
Selden

Brendan
Posts: 296
Joined: 15.07.2003
With us: 20 years 11 months
Location: Bellows Falls, VT
Contact:

Post #11by Brendan » 14.02.2004, 20:40

Trinculo's diameter is given as 10 km in http://www.ifa.hawaii.edu/~sheppard/satellites/urasatdata.html
I compared the sizes of some major moons to those given on the Nine Planets site and found that it's the diameter that is given. So the radius in the numbered moons ssc file should be given as 5, not 10. Now I'm the one who needs a life. :lol:

Brendan

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 6 months
Location: People's Republic Of Cork, Ireland

Post #12by JackHiggins » 14.02.2004, 23:44

Ah! Thanks- i'll give that a whirl so and see how it works out.
- Jack Higgins

Jack's Celestia Add-ons

And visit my Celestia Gallery too!

Topic author
granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 7 months

Post #13by granthutchison » 15.02.2004, 00:33

Brendan wrote:So the radius in the numbered moons ssc file should be given as 5, not 10.
Good spot, thanks. I've fixed it. Not sure how it happened, since I generally use JPL as my reference site, and they do give the radius as 5.

Grant

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 10 months

re

Post #14by John Van Vliet » 23.02.2004, 07:20

the best prog that i like for reading files is SciTe at

https://sourceforge.net/projects/scintilla/


Return to “Development”