Modernization of the base of asteroids

All Lua-tools for Celestia in one forum.
Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Modernization of the base of asteroids

Post #1by Croc » 29.01.2018, 03:28

In the asteroid's declaration, the first line contains the name of the asteroid (+ alternate names separated by a colon) and the parent body.
When you select an asteroid, all its names are displayed at the top of the screen, and the asteroid is positioned with the first name.
An example from the asteroids database Project "Celestia Origin":

Code: Select all

"600 Musa:Musa:1906 UM:1950 RC:1953 GC2" "Sol"

Musa.jpg


The upgraded asteroids database contains 3 alternative variants of the first line:

Code: Select all

#1_"600 Musa:Musa:1906 UM:1950 RC:1953 GC2" "Sol" #1=
#2_"*Муза:600 Musa:Musa:1906 UM" "Sol" #2=
#3_"1906 UM:*Муза:600 Musa:Musa" "Sol" #3=
#4_".:Musa:600 Musa:1906 UM" "Sol" #4=

Note. # 1_, # 2_, # 3, # 4 are blocking signatures.
The base of asteroids becomes operational when any blocking signature is removed. Example with deletion of signature # 4_:

Code: Select all

#1_"600 Musa:Musa:1906 UM:1950 RC:1953 GC2" "Sol" #1=
#2_"*Муза:600 Musa:Musa:1906 UM" "Sol" #2=
#3_"1906 UM:*Муза:600 Musa:Musa" "Sol" #3=
".:Musa:600 Musa:1906 UM" "Sol" #4=

Musa4.jpg


This screenshot shows the entire collection of asteroids "Celestia Origin" (>3500 asteroids)!
If you click on any point, a list of asteroids will appear at the top of the screen and the orbit of the selected asteroid will be displayed.

In the attachment, there are 6 files (asteroids_modern.zip) with different variants of locking the declaration declaration line:
asteroids0.txt is a file-matrix, which created varieties of modernized asteroids
asteroids1.ss_ - base with remote blocking signature # 1_
asteroids2.ss_ - base with remote blocking signature # 2_
asteroids3.ss_ - base with remote blocking signature # 3_
asteroids4.ss_ - base with remote blocking signature # 4_
asteroids5.ss_ - base with remote blocking signature # 4_ with replacement of the next three characters ". : on by a sign" (double quote)

Note. To make the upgraded database workable, you need to replace the file extension (ss_ with ssc) in one of the files.

To be continued...
See the update from 10/27/2018 at the link:
https://celestia.space/forum/viewtopic.php?p=140718#p140718
Attachments
asteroids_modern_07-02-2018.zip
(3.1 MiB) Downloaded 387 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #2by Croc » 29.01.2018, 16:15

If you remove the blocking signature #1_, then the asteroids will be marked with a full name, if any:

Musa-1.jpg


If you replace the blocking signature # 4_ and the next three characters #4_".: with a" (double quote), the asteroids will be indicated by a name (without a registration number) if it is:

Musa5.jpg


If you delete the blocking signature #2_, then the asteroids will be indicated by the full name in Russian, if it exists:

Musa-2.jpg


Option # 2 for users who are not native English speakers. Users can replace the Russian translation of the name with the national variant.
An asterisk (*) in front of the name of the asteroid indicates the national version of the translation. When searching for an asteroid using the "Enter" system, an asterisk (*) is mandatory!

To be continued...
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #3by Croc » 29.01.2018, 20:53

If you remove the blocking signature #3_, then the asteroids will be marked with a time stamp, if any.
If the asteroid does not have a temporary designation, then the temporary designation is reconstructed. The reconstructed designation has an asterisk (*) at the end.
See the prefix of the ssc file for details.

Musa3.jpg
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #4by Croc » 30.01.2018, 02:36

Remove the blocking signatures with a text editor. For this purpose, Notepad ++ is well suited. After editing, save the file without BOM. In this topic, in addition to the file matrix asteroids0.txt, there are also upgraded files. If in the future the upgrade function is assigned to the Configuration Manager, then Celestia will have one file, for example, asteroids1.ssc. Another version of the base of asteroids will be created by the Configuration Manager, which, by the final signatures #1= will restore the remote blocking signatures #1_. After that, remove other blocking signatures, for example #3_

Code: Select all

#1_"600 Musa:Musa:1906 UM:1950 RC:1953 GC2" "Sol" #1=
#2_"*Муза:600 Musa:Musa:1906 UM" "Sol" #2=
"1906 UM:*Муза:600 Musa:Musa" "Sol" #3=
#4_".:Musa:600 Musa:1906 UM" "Sol" #4=
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #5by Croc » 31.01.2018, 03:55

In the collection of asteroids Project "Celestia Origin" parentheses are used in the notation of asteroids, consisting of a registration name + a temporary notation. Example:

Code: Select all

"(21018) 1988 VV1:1988 VV1:2000 AL9" "Sol"

In the upgraded database, parentheses are not used in such cases. Example:

Code: Select all

#1_"21018 1988 VV1:1988 VV1:2000 AL9" "Sol" #1=
#2_"1988 VV1:21018 1988 VV1" "Sol" #2=
#3_"1988 VV1:21018 1988 VV1" "Sol" #3=
#4_".:1988 VV1:21018 1988 VV1" "Sol" #4=

If the name of the asteroid coincides with the name of another celestial body, then an asteroir is added to the name of the asteroid. Example:

Code: Select all

#1_"3 Juno:Juno (asteroid)" "Sol" #1=
#2_"*Юнона (астероид):3 Juno:Juno (asteroid):1804-3*" "Sol" #2=
#3_"1804-3*:*Юнона (астероид):3 Juno:Juno (asteroid)" "Sol" #3=
#4_".:Juno (asteroid):3 Juno:1804-3*" "Sol" #4=

Juno.jpg
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #6by Croc » 07.02.2018, 07:25

The following errors are found in the 2012 asteroid declaration VP113:
missing lines:
  • Mesh "asteroid.cmod"
  • Epoch 2458000.5 # 2017 Sept 04
  • Period 4090.22680526068

Please correct this in the files:
asteroids0.txt
asteroids1.ss_
asteroids2.ss_
asteroids3.ss_
asteroids4.ss_
asteroids5.ss_

or download the updated distribution, see https://celestia.space/forum/viewtopic.php?p=137883#p137883
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #7by Croc » 27.10.2018, 14:59

I modified asteroids.ssc Project "Celestia Origin", release dated August 30, 2018
Sending:
  • asteroids6-ArtBlos.ss_ - original Art Blos
  • asteroids6-0.txt - modified base (with blocked signatures)
  • asteroids6-1.ss_ - modified database (signatures # 1_ unlocked), inactive file!
  • asteroids6-2.ss_ - modified base (signatures # 2_ unlocked), inactive file
  • asteroids6-3.ss_ - modified base (signatures # 3_ unlocked), inactive file
  • asteroids6-4.ss_ - modified base (signatures # 4_ unlocked), inactive file
  • asteroids6-5.ssc - modified base (signatures # 4_ +.: unlocked), active file

Read and see the screenshots in previous posts.
Read the preamble in asteroids6-0.txt
======================
Choose a way to sign the asteroids on the screen!

In order for the upgraded base of asteroids to work, you must delete the original file or change the extension (for example, it was sss, it will be ss_)
Attachments
asteroids6-Mod-27-10-2018.zip
(3.51 MiB) Downloaded 308 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #8by Croc » 14.12.2018, 04:22

Additional modernized base of Jupiter's Trojan asteroids with proper names.
There are 253 such asteroids in total, 63 of them are in the Asteroids Project "Celestia Origin" database.
In the additional base 253-63 = 190 asteroids.

NaneTr-5en.jpg
Attachments
jupitertrojans190names.zip
(150.14 KiB) Downloaded 319 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019


Return to “Lua-Tools”