Modernized database of galaxies

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

Modernized database of galaxies

Post #1by Croc » 17.09.2016, 14:07

Modernization of galaxies base.
  • create a database with a two-line name.
    • Level # 1 - the standard string names
    • Level # 2 - alternative string names national localization
  • Add proper names galaxies (~ 160 names)

Source:
  • Standard base galaxies.dsc on 22.01.2011
  • 21 extra-base galaxy own development
Author Gennady Lygin modernization, aka Croc.
Date modernization 15.02.2016.

Installing:
  • Pre-install the upgraded database of stars, if there are none. see in this place
  • Unpack the archive galaxies_moderm.zip
  • Copy the unpacked file to the parent folder Celestia
  • Agree to replace.
  • Start Celestia.

For more information see below.
Attachments
galaxies_modern.zip
(1.23 MiB) Downloaded 358 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 » 17.09.2016, 14:44

Image
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 » 17.09.2016, 16:19

(Initial state) line names are blocked signatures # 1_ # 2_.
This file is placed in the catalogs/depot directory.

Code: Select all

#1_Galaxy "Messier 110:M 110:NGC 205:UGC 426:MCG 7-2-14" #1=
#2_Galaxy "M 110:*Мессье 110:Messier 110:NGC 205:UGC 426:MCG 7-2-14" #2=
{
        Type  "E5"
        RA            0.6728
        Dec          41.6853
        Distance   2.481e+06  # method: NED-1D average
        Radius          7035
        AbsMag         -15.5
        Axis    [ -0.2155  -0.8200   0.5303]
        Angle    110.4183
        InfoURL "http://simbad.u-strasbg.fr/sim-id.pl?Ident=M 110"
}


Example a national (in this example - Russian) localization:
  • Activation database using a text editor (not Word) is the change of the signature (or # 1_ # 2_) an empty place.
  • Create a copy of the source code.
  • Change the signature (# 2_)
  • Save without BOM
Result:

Code: Select all

#1_Galaxy "Messier 110:M 110:NGC 205:UGC 426:MCG 7-2-14" #1=
Galaxy "M 110:*Мессье 110:Messier 110:NGC 205:UGC 426:MCG 7-2-14" #2=

Next:
  • Move the database from folder "catalogs / depot" in "catalogs" folder.
  • We give consent for a replacement.
  • Start Celestia.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019


Return to “Lua-Tools”