Repository navigation
Simbad: refactor to use TAP #2954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6de7ce5
refactor: simbad query methods now call query_tap internally
ManonMarchand e133042
lint: add yacc and lex automatically generated files to flake8 ignore
ManonMarchand 506fe36
fix: add a __call__ definition to make BaseVOQuery behave as BaseQuery
ManonMarchand 879bcef
add query_criteria_fialds.json
ManonMarchand 43a791d
docs: document simbad refactoring
ManonMarchand bfbbc77
fix: propagate simbad changes to jwst module
ManonMarchand afaddfc
docs: propagate simbad changes into the general documentation
ManonMarchand cf88d47
docs: simbad cache works differently now
ManonMarchand c961fd7
tests: add simbad_output_options to path_tests
ManonMarchand d892a45
refactor: remove utilities for the former sim script queries
ManonMarchand 198cdeb
feat: add bibcodelist to possible outputs
ManonMarchand 6088f25
test: complete coverage of simbad utils
ManonMarchand a7c07b4
tests: improve coverage for the tests without remote access
ManonMarchand 650595f
docs: update simbad's doc
ManonMarchand 2a5eff3
fix: typo in vizier link
ManonMarchand 95232f2
feat: add ROW_LIMIT as a settable property
ManonMarchand 91789f1
rename 'add_to_output' into 'add_output_columns'
ManonMarchand 3f3d52b
docs: edit version of deprecation
ManonMarchand a795f82
feat: reduce API changes
ManonMarchand 34000cf
docs: edits on votable fields utils
ManonMarchand aacd4ae
docs: add changelog
ManonMarchand e804139
fix: rename typed_id into user_specified_id
ManonMarchand 82d6d2e
feat: add get_query_payload for the methods using TAP
ManonMarchand b87c23d
fix: wildcards in query_objects
ManonMarchand 4534b22
docs: edit docstring and changelog from review
ManonMarchand 7c51ec9
tests: new measurement for sirius rotation
ManonMarchand 86ed0d7
refactor: remove Column and Join from SimbadClass
ManonMarchand 6594ebb
DOC: minor changelog rephrase and reformat
bsipocz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.