-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2954 from cds-astro/refactor_Simbad
Simbad: refactor to use TAP
- Loading branch information
Showing
39 changed files
with
4,680 additions
and
3,241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Produced with astropy.io.votable version 6.0.0 | ||
http://www.astropy.org/ --> | ||
<VOTABLE version="1.3" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.3.xsd"> | ||
<RESOURCE type="results"> | ||
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="OK"/> | ||
<INFO ID="PROVIDER" name="PROVIDER" value="CDS">SIMBAD TAP Service</INFO> | ||
<INFO ID="QUERY" name="QUERY" value="SELECT basic."main_id", basic."ra", basic."dec", basic."coo_err_maj", basic."coo_err_min", basic."coo_err_angle", basic."coo_wavelength", basic."coo_bibcode", ident."id" AS matched_id FROM basic JOIN ident ON basic."oid" = ident."oidref" WHERE id = 'M1'"/> | ||
<TABLE ID="result_S1708521282485" name="result_S1708521282485"> | ||
<FIELD ID="main_id" arraysize="*" datatype="char" name="main_id" ucd="meta.id;meta.main"> | ||
<DESCRIPTION> | ||
Main identifier for an object | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="ra" datatype="double" name="ra" ucd="pos.eq.ra;meta.main" unit="deg"> | ||
<DESCRIPTION> | ||
Right ascension | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="dec" datatype="double" name="dec" ucd="pos.eq.dec;meta.main" unit="deg"> | ||
<DESCRIPTION> | ||
Declination | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_err_maj" datatype="float" name="coo_err_maj" ucd="phys.angSize.smajAxis;pos.errorEllipse;pos.eq" unit="mas"> | ||
<DESCRIPTION> | ||
Coordinate error major axis | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_err_min" datatype="float" name="coo_err_min" ucd="phys.angSize.sminAxis;pos.errorEllipse;pos.eq" unit="mas"> | ||
<DESCRIPTION> | ||
Coordinate error minor axis | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_err_angle" datatype="short" name="coo_err_angle" ucd="pos.posAng;pos.errorEllipse;pos.eq" unit="deg"> | ||
<DESCRIPTION> | ||
Coordinate error angle | ||
</DESCRIPTION> | ||
<VALUES null="-32768"/> | ||
</FIELD> | ||
<FIELD ID="coo_wavelength" arraysize="1" datatype="char" name="coo_wavelength" ucd="instr.bandpass;pos.eq"> | ||
<DESCRIPTION> | ||
Wavelength class for the origin of the coordinates (R,I,V,U,X,G) | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_bibcode" arraysize="*" datatype="char" name="coo_bibcode" ucd="meta.bib.bibcode;pos.eq"> | ||
<DESCRIPTION> | ||
Coordinate reference | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="matched_id" arraysize="*" datatype="char" name="matched_id" ucd="meta.id"> | ||
<DESCRIPTION> | ||
Identifier | ||
</DESCRIPTION> | ||
</FIELD> | ||
<DATA> | ||
<TABLEDATA> | ||
<TR> | ||
<TD>M 1</TD> | ||
<TD>83.6287</TD> | ||
<TD>22.0147</TD> | ||
<TD>18500</TD> | ||
<TD>18500</TD> | ||
<TD>0</TD> | ||
<TD>R</TD> | ||
<TD>1995AuJPh..48..143S</TD> | ||
<TD>M 1</TD> | ||
</TR> | ||
</TABLEDATA> | ||
</DATA> | ||
</TABLE> | ||
</RESOURCE> | ||
</VOTABLE> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Produced with astropy.io.votable version 6.0.0 | ||
http://www.astropy.org/ --> | ||
<VOTABLE version="1.3" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.3.xsd"> | ||
<RESOURCE type="results"> | ||
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="OK"/> | ||
<INFO ID="PROVIDER" name="PROVIDER" value="CDS">SIMBAD TAP Service</INFO> | ||
<INFO ID="QUERY" name="QUERY" value="SELECT basic."main_id", basic."ra", basic."dec", basic."coo_err_maj", basic."coo_err_min", basic."coo_err_angle", basic."coo_wavelength", basic."coo_bibcode", ident."id" AS matched_id FROM basic JOIN ident ON basic."oid" = ident."oidref" WHERE id = 'TEST'"/> | ||
<TABLE ID="result_S1708521454265" name="result_S1708521454265"> | ||
<FIELD ID="main_id" arraysize="*" datatype="char" name="main_id" ucd="meta.id;meta.main"> | ||
<DESCRIPTION> | ||
Main identifier for an object | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="ra" datatype="double" name="ra" ucd="pos.eq.ra;meta.main" unit="deg"> | ||
<DESCRIPTION> | ||
Right ascension | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="dec" datatype="double" name="dec" ucd="pos.eq.dec;meta.main" unit="deg"> | ||
<DESCRIPTION> | ||
Declination | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_err_maj" datatype="float" name="coo_err_maj" ucd="phys.angSize.smajAxis;pos.errorEllipse;pos.eq" unit="mas"> | ||
<DESCRIPTION> | ||
Coordinate error major axis | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_err_min" datatype="float" name="coo_err_min" ucd="phys.angSize.sminAxis;pos.errorEllipse;pos.eq" unit="mas"> | ||
<DESCRIPTION> | ||
Coordinate error minor axis | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_err_angle" datatype="short" name="coo_err_angle" ucd="pos.posAng;pos.errorEllipse;pos.eq" unit="deg"> | ||
<DESCRIPTION> | ||
Coordinate error angle | ||
</DESCRIPTION> | ||
<VALUES null="-32768"/> | ||
</FIELD> | ||
<FIELD ID="coo_wavelength" arraysize="1" datatype="char" name="coo_wavelength" ucd="instr.bandpass;pos.eq"> | ||
<DESCRIPTION> | ||
Wavelength class for the origin of the coordinates (R,I,V,U,X,G) | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="coo_bibcode" arraysize="*" datatype="char" name="coo_bibcode" ucd="meta.bib.bibcode;pos.eq"> | ||
<DESCRIPTION> | ||
Coordinate reference | ||
</DESCRIPTION> | ||
</FIELD> | ||
<FIELD ID="matched_id" arraysize="*" datatype="char" name="matched_id" ucd="meta.id"> | ||
<DESCRIPTION> | ||
Identifier | ||
</DESCRIPTION> | ||
</FIELD> | ||
</TABLE> | ||
</RESOURCE> | ||
</VOTABLE> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.