Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Column Name

Description

ID

integer indicating the order in the original query

Name

if catalog does not contain name, it will be a unique construct depending on the catalog

Right Ascension

 

Declination

 

Epoch

 

Proper Motion in RA*cos(dec)

mas/yr

Proper Motion in Declincation

mas/yr

Magnitude

 

Distance

arcsec (from the center for the original query)

FK6

Code Block
:collapsetrue
languagesql
titleTable Creation ScriptCreate Syntax (old)
DROP TABLE IF EXISTS `fk6`;
CREATE TABLE `fk6` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `FK6` int(11) DEFAULT NULL,
  `HIP` int(11) DEFAULT NULL,
  `Flag` varchar(2) DEFAULT NULL,
  `Name` varchar(19) DEFAULT NULL,
  `Right_Ascension` double DEFAULT NULL,
  `Declination` double DEFAULT NULL,
  `pmRA` double DEFAULT NULL,
  `pmDE` double DEFAULT NULL,
  `TRA` double DEFAULT NULL,
  `e_RA` double DEFAULT NULL,
  `e_pmRA` double DEFAULT NULL,
  `TDE` double DEFAULT NULL,
  `e_DE` double DEFAULT NULL,
  `e_pmDE` double DEFAULT NULL,
  `plx` double DEFAULT NULL,
  `e_plx` double DEFAULT NULL,
  `f_plx` char(1) DEFAULT NULL,
  `RV` double DEFAULT NULL,
  `Vmag` float DEFAULT NULL,
  `f_Vmag` float DEFAULT NULL,
  `Kbin1` int(11) DEFAULT NULL,
  `Kbin2` int(11) DEFAULT NULL,
  `Kae` int(11) DEFAULT NULL,
  `lastModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4151 DEFAULT CHARSET=latin1;
Code Block
languagesql
titleCreate Syntax (new)

DROP TABLE IF EXISTS `fk6`;
CREATE TABLE `fk6` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(32) NOT NULL,
  `ra` double NOT NULL,
  `dec` double NOT NULL,
  `epoch` float NOT NULL
  `pm_ra` double DEFAULT NULL,
  `pm_dec` double DEFAULT NULL,
  `magnitude` float NOT NULL,
  `fk6` int(11) DEFAULT NULL,
  `flag` varchar(2) DEFAULT NULL,
  `tra` double DEFAULT NULL,
  `e_ra` double DEFAULT NULL,
  `e_pmra` double DEFAULT NULL,
  `tde` double DEFAULT NULL,
  `e_de` double DEFAULT NULL,
  `e_pmde` double DEFAULT NULL,
  `plx` double DEFAULT NULL,
  `e_plx` double DEFAULT NULL,
  `f_plx` char(1) DEFAULT NULL,
  `rv` double DEFAULT NULL,
  `vmag` float DEFAULT NULL,
  `f_Vmag` float DEFAULT NULL,
  `kbin1` int(11) DEFAULT NULL,
  `kbin2` int(11) DEFAULT NULL,
  `kae` int(11) DEFAULT NULL,
  `lastModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

TYCHO

Code Block
languagesql
titleTable Creation ScriptCreate Syntax (old)
DROP TABLE IF EXISTS `tycho`;
CREATE TABLE `tycho` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `Name` char(16) DEFAULT NULL,
  `Right_Ascension` double DEFAULT NULL,
  `Declination` double DEFAULT NULL,
  `pmRA` double DEFAULT NULL,
  `pmDE` double DEFAULT NULL,
  `BTmag` float DEFAULT NULL,
  `VTmag` float DEFAULT NULL,
  `epoch` double DEFAULT NULL,
  `lastModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `starIndex` (`Declination`,`Right_Ascension`)
) ENGINE=MyISAM AUTO_INCREMENT=2448057 DEFAULT CHARSET=latin1;

...

Code Block
languagesql
titleTable Creation Script

...

Create Syntax (new)

GWAVES

Code Block
languagesql
titleTable Creation Script

UCAC3

Create Syntax (old)
Code Block
languagesql
titleTable Creation Script
DROP TABLE IF EXISTS `gwaves`;
CREATE TABLE `gwaves` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `Right_Ascension` double NOT NULL,
  `Declination` double NOT NULL,
  `Magnitude` float NOT NULL,
  `EpRAm` double NOT NULL,
  `EpDEm` double NOT NULL,
  `Proper_Motion_RA` double NOT NULL,
  `Proper_Motion_Dec` double NOT NULL,
  `M_J` float NOT NULL,
  `M_H` float NOT NULL,
  `M_Ks` float NOT NULL,
  `lastModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `starIndex` (`Declination`,`Right_Ascension`,`Magnitude`)
) ENGINE=MyISAM AUTO_INCREMENT=49054904 DEFAULT CHARSET=latin1;
Code Block
languagesql
titleCreate Syntax (new)

DROP TABLE IF EXISTS `gwaves`;
CREATE TABLE `gwaves` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(32) NOT NULL,
  `ra` double NOT NULL,
  `dec` double NOT NULL,
  `epoch` float NOT NULL
  `pm_ra` double DEFAULT NULL,
  `pm_dec` double DEFAULT NULL,
  `magnitude` float NOT NULL,
  `EpRAm` double NOT NULL,
  `EpDEm` double NOT NULL,
  `M_J` float NOT NULL,
  `M_H` float NOT NULL,
  `M_Ks` float NOT NULL,
  `lastModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `starIndex` (`Declination`,`Right_Ascension`,`Magnitude`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

UCAC2

Code Block
languagesql
titleCreate Syntax (old)
Code Block
languagesql
titleCreate Syntax (new)

UCAC3

Code Block
languagesql
titleCreate Syntax (old)
Code Block
languagesql
titleCreate Syntax (new)