[Kstars-devel] branches/kstars/summer/kdeedu/kstars/kstars/data
Akarsh Simha
akarshsimha at gmail.com
Sat Jun 21 02:28:27 CEST 2008
SVN commit 822665 by asimha:
+ Updating binary files with the revised Tycho-1 catalog. (Thanks Jason!)
+ Made a change in tycdatatomysql.pl to adjust to the new format.
CCMAIL: kstars-devel at kde.org
M deepstars.dat
M shallowstars.dat
M +3 -3 tools/tycdatatomysql.pl
--- branches/kstars/summer/kdeedu/kstars/kstars/data/tools/tycdatatomysql.pl #822664:822665
@@ -127,7 +127,7 @@
chomp $line;
# Column number 78 demarkates between numeric data and the genetive/long names
- my $s1 = substr($line, 0, 78, "");
+ my $s1 = substr($line, 0, 80, "");
# Comments on the File format:
# ============================
@@ -147,11 +147,11 @@
\s*(-?\d+\.\d\d)\s # dRA/dt
\s*(-?\d+\.\d\d)\s # dDec/dt
\s*(-?\d+\.\d\d)\s # Parallax
- ([- \d]\d\.\d\d)\s # Magnitude
+ \s([- \d]\d\.\d\d)\s # Magnitude
\s*([- ]\d.\d\d)\s # B-V index
([01])\s # Multiple?
([01])\s # Variable?
- ([A-Z ].|sd)\s # Spectral Type
+ ([A-Z ].?|sd)\s # Spectral Type
}x or do
{
$ERROR = "Positional Error (0-59)";
More information about the Kstars-devel
mailing list