Modernized database of globular clusters

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
Location: Udomlya, Tver region, Russia

Modernized database of globular clusters

Post #1by Croc » 18.09.2016, 05:27

Modernization of the globular clusters base
- create a database with a two-line name.
  • Level # 1 - the standard string names
  • Level # 2 - alternative string names national localization

Source:
  • Standard base globulars.dsc on 22.01.2011
  • Author Gennady Lygin modernization, aka Croc.
  • Date modernization 16.02.2016

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

For more information see below.
Attachments
globulars_modern.zip
(27.13 KiB) Downloaded 314 times
Last edited by Croc on 18.09.2016, 21:15, edited 1 time in total.
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
Location: Udomlya, Tver region, Russia

Post #2by Croc » 18.09.2016, 05:32

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
Location: Udomlya, Tver region, Russia

Post #3by Croc » 18.09.2016, 05:35

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

Code: Select all

#1_Globular "Messier 5:M 5:NGC 5904:GCl 34:C 1516+022" #1=
#2_Globular "M 5:*Мессье 5:Messier 5:NGC 5904:GCl 34:C 1516+022" #2=
{
        RA                15.3092  # [hours]
        Dec                2.0828  # [degrees]
        Distance        2.446e+04  # [ly]
        Radius              81.83  # [ly], mu25 Isophote
        CoreRadius           0.42  # [arcmin]
        KingConcentration     1.83  # c = log10(r_t/r_c)
        AbsMag              -8.81  # [V mags]
        Axis          [  0.2905  -0.8094  -0.5105]
        Angle               157.6  # [degrees]
        InfoURL  "http://simbad.u-strasbg.fr/sim-id.pl?Ident=NGC 5904"
}


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_Globular "Messier 5:M 5:NGC 5904:GCl 34:C 1516+022" #1=
Globular "M 5:*Мессье 5:Messier 5:NGC 5904:GCl 34:C 1516+022" #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”