Astroquery

This is the documentation for the Astroquery coordinated package of astropy.

Code and issue tracker are on GitHub.

If you use astroquery, please cite the paper Ginsburg, Sipőcz, Brasseur et al 2019.

Introduction

Astroquery is a set of tools for querying astronomical web forms and databases.

There are two other packages with complimentary functionality as Astroquery: pyvo is an Astropy affiliated package, and Simple-Cone-Search-Creator to generate a cone search service complying with the IVOA standard. They are more oriented to general virtual observatory discovery and queries, whereas Astroquery has web service specific interfaces.

Check out the A Gallery of Queries for some nice examples.

Installation

Uniquely in the Astropy ecosystem, Astroquery is operating with a continuous deployment model. It means that a release is instantaneously available after a pull request has been merged. These releases are automatically uploaded to PyPI, and therefore the latest version of astroquery can be pip installed. The version number of these automated releases contain the 'dev' tag, thus pip needs to be told to look for these releases during an upgrade, using the --pre install option. If astroquery is already installed, please make sure you use the --upgrade install option as well.

$ pip install --pre astroquery

In addition to the automated releases, we also keep doing regular, tagged version for maintenance and packaging purposes. These can be pip installed without the --pre option and are available from the conda-forge conda channel.

$ conda install -c conda-forge astroquery

Building from source

The development version can be obtained and installed from github:

$ # If you have a github account:
$ git clone git@github.com:astropy/astroquery.git
$ # If you do not:
$ git clone https://github.com/astropy/astroquery.git
$ cd astroquery
$ python setup.py install

Requirements

Astroquery works with Python 3.6 or later.

The following packages are required for astroquery installation & use:

and for running the tests:

The following packages are optional dependencies and are required for the full functionality of the alma module:

The following packages are optional dependencies and are required for the full functionality of the cds module:

The following packages are optional dependencies and are required for the full functionality of the mast module:

Using astroquery

All astroquery modules are supposed to follow the same API. In its simplest form, the API involves queries based on coordinates or object names. Some simple examples, using SIMBAD:

>>> from astroquery.simbad import Simbad
>>> result_table = Simbad.query_object("m1")
>>> result_table.pprint(show_unit=True)
MAIN_ID      RA         DEC     RA_PREC ... COO_QUAL COO_WAVELENGTH     COO_BIBCODE
          "h:m:s"     "d:m:s"           ...
------- ----------- ----------- ------- ... -------- -------------- -------------------
  M   1 05 34 31.94 +22 00 52.2       6 ...        C              R 2011A&A...533A..10L

All query tools allow coordinate-based queries:

>>> from astropy import coordinates
>>> import astropy.units as u
>>> # works only for ICRS coordinates:
>>> c = coordinates.SkyCoord("05h35m17.3s -05d23m28s", frame='icrs')
>>> r = 5 * u.arcminute
>>> result_table = Simbad.query_region(c, radius=r)
>>> result_table.pprint(show_unit=True, max_width=80, max_lines=5)
  MAIN_ID         RA          DEC      ... COO_WAVELENGTH     COO_BIBCODE
               "h:m:s"      "d:m:s"    ...
------------ ------------ ------------ ... -------------- -------------------
       M  42   05 35 17.3    -05 23 28 ...                1981MNRAS.194..693L
         ...          ...          ... ...            ...                 ...
V* V2114 Ori 05 35 01.671 -05 26 36.30 ...              I 2003yCat.2246....0C

For additional guidance and examples, read the documentation for the individual services below.

Default configuration file

To customize this, copy it to your $HOME/.astropy/config/astroquery.cfg, uncomment the relevant configuration item(s), and insert your desired value(s).

[astropy]

## When True, use Unicode characters when outputting values, and displaying
## widgets at the console.
# unicode_output = False

## When True, use ANSI color escape sequences when writing to the console.
# use_color = True

## Maximum number of lines in the display of pretty-printed objects. If not
## provided, try to determine automatically from the terminal size.  Negative
## numbers mean no limit.
# max_lines = None

## Maximum number of characters per line in the display of pretty-printed
## objects.  If not provided, try to determine automatically from the terminal
## size. Negative numbers mean no limit.
# max_width = None

[astropy.io.fits]

## If True, enable support for record-valued keywords as described by FITS WCS
## distortion paper. Otherwise they are treated as normal keywords.
# enable_record_valued_keyword_cards = True

## If True, extension names (i.e. the ``EXTNAME`` keyword) should be treated
## as case-sensitive.
# extension_name_case_sensitive = False

## If True, automatically remove trailing whitespace for string values in
## headers.  Otherwise the values are returned verbatim, with all whitespace
## intact.
# strip_header_whitespace = True

## If True, use memory-mapped file access to read/write the data in FITS
## files. This generally provides better performance, especially for large
## files, but may affect performance in I/O-heavy applications.
# use_memmap = True

## If True, use lazy loading of HDUs when opening FITS files by default; that
## is fits.open() will only seek for and read HDUs on demand rather than
## reading all HDUs at once.  See the documentation for fits.open() for more
## datails.
# lazy_load_hdus = True

## If True, default to recognizing the convention for representing unsigned
## integers in FITS--if an array has BITPIX > 0, BSCALE = 1, and BZERO =
## 2**BITPIX, represent the data as unsigned integers per this convention.
# enable_uint = True

[astropy.io.votable]

## Can be 'exception' (treat fixable violations of the VOTable spec as
## exceptions), 'warn' (show warnings for VOTable spec violations), or
## 'ignore' (silently ignore VOTable spec violations)
# verify = ignore

[astropy.io.votable.exceptions]

## Number of times the same type of warning is displayed before being
## suppressed
# max_warnings = 10

[astropy.logger]

## Threshold for the logging messages. Logging messages that are less severe
## than this level will be ignored. The levels are ``'DEBUG'``, ``'INFO'``,
## ``'WARNING'``, ``'ERROR'``.
# log_level = INFO

## Whether to log `warnings.warn` calls.
# log_warnings = True

## Whether to log exceptions before raising them.
# log_exceptions = False

## Whether to always log messages to a log file.
# log_to_file = False

## The file to log messages to.  If empty string is given, it defaults to a
## file ``'astropy.log'`` in the astropy config directory.
# log_file_path = 

## Threshold for logging messages to `log_file_path`.
# log_file_level = INFO

## Format for log file entries.
# log_file_format = %(asctime)r, %(origin)r, %(levelname)r, %(message)r

## The encoding (e.g., UTF-8) to use for the log file.  If empty string is
## given, it defaults to the platform-preferred encoding.
# log_file_encoding = 

[astropy.nddata]

## Whether to issue a warning if `~astropy.nddata.NDData` arithmetic is
## performed with uncertainties and the uncertainties do not support the
## propagation of correlated uncertainties.
# warn_unsupported_correlated = True

## Whether to issue a warning when the `~astropy.nddata.NDData` unit attribute
## is changed from a non-``None`` value to another value that data
## values/uncertainties are not scaled with the unit change.
# warn_setting_unit_directly = True

[astropy.samp]

## Whether to allow `astropy.samp` to use the internet, if available.
# use_internet = True

## How many times to retry communications when they fail
# n_retries = 10

[astropy.table]

## The template that determines the name of a column if it cannot be
## determined. Uses new-style (format method) string formatting.
# auto_colname = col{0}

## The table class to be used in Jupyter notebooks when displaying tables (and
## not overridden). See <https://getbootstrap.com/css/#tables for a list of
## useful bootstrap classes.
# default_notebook_table_class = table-striped table-bordered table-condensed

## List of conditions for issuing a warning when replacing a table column
## using setitem, e.g. t['a'] = value.  Allowed options are 'always', 'slice',
## 'refcount', 'attributes'.
# replace_warnings = []

## Always use in-place update of a table column when using setitem, e.g.
## t['a'] = value.  This overrides the default behavior of replacing the
## column entirely with the new value when possible. This configuration option
## will be deprecated and then removed in subsequent major releases.
# replace_inplace = False

[astropy.table.jsviewer]

## The URL to the jquery library.
# jquery_url = https://code.jquery.com/jquery-3.1.1.min.js

## The URL to the jquery datatables library.
# datatables_url = https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js

## The URLs to the css file(s) to include.
# css_urls = ['https://cdn.datatables.net/1.10.12/css/jquery.dataTables.css']

[astropy.units.quantity]

## The maximum size an array Quantity can be before its LaTeX representation
## for IPython gets "summarized" (meaning only the first and last few elements
## are shown with "..." between). Setting this to a negative number means that
## the value will instead be whatever numpy gets from get_printoptions.
# latex_array_threshold = 100

[astropy.utils.data]

## Primary URL for astropy remote data site.
# dataurl = http://data.astropy.org/

## Mirror URL for astropy remote data site.
# dataurl_mirror = http://www.astropy.org/astropy-data/

## Default User-Agent for HTTP request headers. This can be overwritten for a
## particular call via http_headers option, where available. This only
## provides the default value when not set by https_headers.
# default_http_user_agent = astropy

## Time to wait for remote data queries (in seconds). Set this to zero to
## prevent any attempt to download anything.
# remote_timeout = 10.0

## Block size for computing file hashes.
# compute_hash_block_size = 65536

## Number of bytes of remote data to download per step.
# download_block_size = 65536

## Unused; cache no longer locked. Was: Number of seconds to wait for the
## cache lock to be free. It should normally only ever be held long enough to
## copy an already-downloaded file into the cache, so this will normally only
## run over if something goes wrong and the lock is left held by a dead
## process; the exception raised should indicate this and what to do to fix
## it.
# download_cache_lock_attempts = 5

## If True, temporary download files created when the cache is inaccessible
## will be deleted at the end of the python session.
# delete_temporary_downloads_at_exit = True

[astropy.utils.iers.iers]

## Enable auto-downloading of the latest IERS data.  If set to False then the
## local IERS-B and leap-second files will be used by default. Default is
## True.
# auto_download = True

## Maximum age (days) of predictive data before auto-downloading. Default is
## 30.
# auto_max_age = 30.0

## URL for auto-downloading IERS file data.
# iers_auto_url = ftp://anonymous:mail%40astropy.org@gdc.cddis.eosdis.nasa.gov/pub/products/iers/finals2000A.all

## Mirror URL for auto-downloading IERS file data.
# iers_auto_url_mirror = https://datacenter.iers.org/data/9/finals2000A.all

## Remote timeout downloading IERS file data (seconds).
# remote_timeout = 10.0

## System file with leap seconds.
# system_leap_second_file = 

## URL for auto-downloading leap seconds.
# iers_leap_second_auto_url = https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat

## Alternate URL for auto-downloading leap seconds.
# ietf_leap_second_auto_url = https://www.ietf.org/timezones/data/leap-seconds.list

[alma]

## Timeout in seconds.
# timeout = 60

## The ALMA Archive mirror to use.
# archive_url = http://almascience.org

## ALMA Archive Test Mirrors (temporary)
# test_archive_url = https://beta.cadc-ccda.hia-ha.nrc-cnrc.gc.ca

## ALMA Central Authentication Service URLs
# auth_url = asa.alma.cl

## Optional default username for ALMA archive.
# username = 

[astrometry_net]

## The Astrometry.net API key.
# api_key = 

## Name of server
# server = http://nova.astrometry.net

## Default timeout for connecting to server
# timeout = 120

[atomic]

## Atomic Line List URL
# url = http://www.pa.uky.edu/~peter/atomic/

## time limit for connecting to the Atomic Line List server
# timeout = 60

[besancon]

## Besancon download URL.  Changed to modele2003 in 2013.
# download_url = ftp://sasftp.obs-besancon.fr/modele/modele2003/

## Besancon model form URL
# model_form = http://model.obs-besancon.fr/modele_form.php

## Amount of time before pinging the Besancon server to see if the file is
## ready.  Minimum 30s.
# ping_delay = 30.0

## Timeout for Besancon query
# timeout = 30.0

[cadc]

## CADC registry information
# CADC_REGISTRY_URL = http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/reg/resource-caps

## CADC TAP service identifier
# CADCTAP_SERVICE_URI = ivo://cadc.nrc.ca/argus

## CADC DataLink service identifier
# CADCDATLINK_SERVICE_URI = ivo://cadc.nrc.ca/caom2ops

## CADC login service identified
# CADCLOGIN_SERVICE_URI = ivo://cadc.nrc.ca/gms

## Time limit for connecting to template_module server.
# TIMEOUT = 30

[casda]

## Name of the CASDA SIA server to use.
# server = https://casda.csiro.au/casda_vo_tools/sia2/query

## Time limit for connecting to CASDA server.
# timeout = 30

## Number of seconds to wait between checks on the status of a submitted job.
# poll_interval = 20

## Address of the CASDA SODA server
# soda_base_url = https://casda.csiro.au/casda_data_access/

[cds]

## Name of the template_module server to use.
# server = http://alasky.unistra.fr/MocServer/query

## Time limit for connecting to template_module server.
# timeout = 30

[cosmosim]

## CosmoSim UWS query URL.
# query_url = https://www.cosmosim.org/uws/query

## CosmoSim json query URL for generating database schema.
# schema_url = https://www.cosmosim.org/query/account/databases/json

## Timeout for CosmoSim query.
# timeout = 60.0

## Optional default username for CosmoSim database.
# username = 

[dace]

## Dace
# server = https://dace-api.unige.ch/

## Time limit for connecting to DACE server.
# timeout = 30

[esa.hubble]

## Main url for retriving hst files
# DATA_ACTION = http://archives.esac.esa.int/ehst-sl-server/servlet/data-action

## Main url for retriving hst metadata
# METADATA_ACTION = http://archives.esac.esa.int/ehst-sl-server/servlet/metadata-action

[esa.iso]

## Main url for retrieving ISO Data Archive files
# DATA_ACTION = http://nida.esac.esa.int/nida-sl-tap/data?

## Main url for retrieving ISO Data Archive metadata
# METADATA_ACTION = http://nida.esac.esa.int/nida-sl-tap/tap/

[esa.xmm_newton]

## Main url for retriving XSA files
# DATA_ACTION = http://nxsa.esac.esa.int/nxsa-sl/servlet/data-action?

## Main url for retriving XSA files
# DATA_ACTION_AIO = http://nxsa.esac.esa.int/nxsa-sl/servlet/data-action-aio?

## Main url for retriving XSA metadata
# METADATA_ACTION = http://nxsa.esac.esa.int/nxsa-sl/servlet/metadata-action?

[esasky]

## ESASky base URL
# urlBase = http://sky.esa.int/esasky-tap

## Time limit for connecting to template_module server.
# timeout = 1000

## Maximum number of rows returned (set to -1 for unlimited).
# row_limit = 10000

[eso]

## Maximum number of rows returned (set to -1 for unlimited).
# row_limit = 50

## Optional default username for ESO archive.
# username = 

## Root query URL for main and instrument queries.
# query_instrument_url = http://archive.eso.org/wdb/wdb/eso

[fermi]

## Fermi query URL.
# url = https://fermi.gsfc.nasa.gov/cgi-bin/ssc/LAT/LATDataQuery.cgi

## Time limit for connecting to Fermi server.
# timeout = 60

## Time limit for retrieving a data file once it has been located.
# retrieval_timeout = 120

[gaia]

## GAIA source data table
# MAIN_GAIA_TABLE = gaiadr2.gaia_source

## Name of RA parameter in table
# MAIN_GAIA_TABLE_RA = ra

## Name of Dec parameter in table
# MAIN_GAIA_TABLE_DEC = dec

## Number of rows to return from database query (set to -1 for unlimited).
# ROW_LIMIT = 50

[gemini]

## Name of the Gemini server to use.
# server = https://archive.gemini.edu

## Time limit for connecting to Gemini server.
# timeout = 30

[heasarc]

## Name of the HEASARC server used to query available missions.
# server = https://heasarc.gsfc.nasa.gov/db-perl/W3Browse/w3query.pl

## Time limit for connecting to HEASARC server.
# timeout = 30

[hips2fits]

## Name of the template_module server to use.
# server = http://alasky.u-strasbg.fr/hips-image-services/hips2fits

## Time limit for connecting to template_module server.
# timeout = 30

[hitran]

## HITRAN web interface URL.
# query_url = http://hitran.org/lbl/api

## Time limit for connecting to HITRAN server.
# timeout = 60

## Format file.
# formatfile = /home/docs/checkouts/readthedocs.org/user_builds/astroquery/conda/latest/lib/python3.9/site-packages/astroquery-0.4.2.dev1804-py3.9.egg/astroquery/hitran/data/readme.txt

[ibe]

## Name of the IBE server to use.
# server = http://irsa.ipac.caltech.edu/ibe/

## Default mission. See, for example, http://irsa.ipac.caltech.edu/ibe/search/
## for options.
# mission = ptf

## Default data set. See, for example,
## http://irsa.ipac.caltech.edu/ibe/search/ptf for options.
# dataset = images

## Default table. See, for example,
## http://irsa.ipac.caltech.edu/ibe/search/ptf/images for options.
# table = level1

## Time limit for connecting to the IRSA server.
# timeout = 60

[image_cutouts.first]

## Name of the FIRST server.
# server = https://third.ucllnl.org/cgi-bin/firstcutout

## Time limit for connecting to FIRST server.
# timeout = 60

[imcce]

## IMCCE/Miriade.ephemcc base server
# ephemcc_server = http://vo.imcce.fr/webservices/miriade/ephemcc_query.php

## SkyBoT
# skybot_server = http://vo.imcce.fr/webservices/skybot/skybotconesearch_query.php

## Time limit for connecting to IMCCE servers.
# timeout = 300

[irsa]

## Name of the IRSA mirror to use.
# server = https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-query

## URL from which to list all the public catalogs in IRSA.
# gator_list_catalogs = https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-scan

## Maximum number of rows to retrieve in result
# row_limit = 500

## Time limit for connecting to the IRSA server.
# timeout = 60

[irsa_dust]

## Name of the irsa_dust server to use.
# server = https://irsa.ipac.caltech.edu/cgi-bin/DUST/nph-dust

## Default timeout for connecting to server.
# timeout = 30

[jplhorizons]

## JPL Horizons
# horizons_server = https://ssd.jpl.nasa.gov/horizons_batch.cgi

## Time limit for connecting to JPL servers.
# timeout = 30

[jplsbdb]

## JPL SBDB
# server = https://ssd-api.jpl.nasa.gov/sbdb.api

## Time limit for connecting to JPL server.
# timeout = 30

[jplspec]

## JPL Spectral Catalog URL.
# server = https://spec.jpl.nasa.gov/cgi-bin/catform

## Time limit for connecting to JPL server.
# timeout = 60

[lcogt]

## Name of the LCOGT archive as hosted by IPAC to use.
# server = http://lcogtarchive.ipac.caltech.edu/cgi-bin/Gator/nph-query

## Maximum number of rows to retrieve in result
# row_limit = 500

## Time limit for connecting to the LCOGT IPAC server.
# timeout = 60

[magpis]

## Name of the MAGPIS server.
# server = https://third.ucllnl.org/cgi-bin/gpscutout

## Time limit for connecting to MAGPIS server.
# timeout = 60

[mast]

## Name of the MAST server.
# server = https://mast.stsci.edu

## MAST SSO Portal server.
# ssoserver = https://ssoportal.stsci.edu

## Time limit for requests from the STScI server.
# timeout = 600

## Number of results to request at once from the STScI server.
# pagesize = 50000

[mpc]

## Base URL for the MPC web service
# web_service_server = minorplanetcenter.net

## Base URL for the Minor Planet Ephemeris Service
# mpes_server = cgi.minorplanetcenter.net

## Base URL for MPC search_db services
# mpcdb_server = http://minorplanetcenter.net/search_db

## Time limit for connecting to MPC.
# timeout = 60

## Maximum number of rows that will be fetched from the result.
# row_limit = 0

[nasa_ads]

## SAO/NASA ADS main server.
# server = https://api.adsabs.harvard.edu

## Path for simple query (return JSON)
# simple_path = /v1/search/query?

## Time limit for connecting to ADS server
# timeout = 120

[nasa_exoplanet_archive]

## URL for the NASA Exoplanet Archive API
# url = https://exoplanetarchive.ipac.caltech.edu/cgi-bin/nstedAPI/nph-nstedAPI

## Time limit for requests from the NASA Exoplanet Archive servers
# timeout = 600

## Should the requests be cached?
# cache = False

[ned]

## Name of the NED server to use.
# server = http://ned.ipac.caltech.edu/cgi-bin/

## Time limit for connecting to NED server.
# timeout = 60

## Value of the Hubble Constant for many NED queries.
# hubble_constant = 73

## The correct redshift for NED queries, see comments above.
# correct_redshift = 1

## Frame in which to display the coordinates in the output.
# output_coordinate_frame = Equatorial

## Equinox for the output coordinates.
# output_equinox = J2000.0

## Display output sorted by this criteria.
# sort_output_by = RA or Longitude

[nist]

## Name of the NIST URL to query.
# server = http://physics.nist.gov/cgi-bin/ASD/lines1.pl

## Time limit for connecting to NIST server.
# timeout = 30

[noirlab]

## Name of the NOIRLAB server to use.
# server = https://astroarchive.noao.edu

## Time limit for connecting to NOIRLAB server.
# timeout = 30

[nrao]

## Name of the NRAO mirror to use.
# server = https://archive.nrao.edu/archive/ArchiveQuery

## Time limit for connecting to NRAO server.
# timeout = 60

## Optional default username for ALMA archive.
# username = 

[nvas]

## Name of the NVAS mirror to use.
# server = https://webtest.aoc.nrao.edu/cgi-bin/lsjouwer/archive-pos.pl

## Time limit for connecting to NVAS server.
# timeout = 60

[oac]

## URL of the primary API Server
# server = https://api.astrocats.space/

## Timeout limit for API Server
# timeout = 60

[ogle]

## Name of the OGLE mirror to use.
# server = http://ogle.astrouw.edu.pl/cgi-ogle/getext.py

## Time limit for connecting to OGLE server.
# timeout = 60

[sdss]

## Base URL for catalog-related queries like SQL and Cross-ID.
# skyserver_baseurl = http://skyserver.sdss.org

## Base URL for downloading data products like spectra and images.
# sas_baseurl = https://data.sdss.org/sas

## Time limit for connecting to SDSS server.
# timeout = 60

## Default SDSS data release.
# default_release = 14

[simbad]

## Name of the SIMBAD mirror to use.
# server = simbad.u-strasbg.fr

## Time limit for connecting to Simbad server.
# timeout = 60

## Maximum number of rows that will be fetched from the result.
# row_limit = 0

[skyview]

## SkyView URL
# url = http://skyview.gsfc.nasa.gov/current/cgi/basicform.pl

[splatalogue]

## Splatalogue SLAP interface URL (not used).
# slap_url = https://find.nrao.edu/splata-slap/slap

## Splatalogue web interface URL.
# query_url = https://splatalogue.online/c_export.php

## Time limit for connecting to Splatalogue server.
# timeout = 60

## Limit to number of lines exported.
# lines_limit = 1000

[svo_fps]

## SVO FPS base query URL
# base_url = http://svo2.cab.inta-csic.es/theory/fps/fps.php

## Time limit for connecting to SVO FPS server.
# timeout = 60

[template_module]

## Name of the template_module server to use.
# server = http://dummy_server_mirror_1

## Time limit for connecting to template_module server.
# timeout = 30

[ukidss]

## Name of the UKIDSS mirror to use.
# server = http://surveys.roe.ac.uk:8080/wsa/

## Time limit for connecting to UKIDSS server.
# timeout = 30

[vamdc]

## Timeout in seconds
# timeout = 60

[vizier]

## Name of the VizieR mirror to use.
# server = vizier.u-strasbg.fr

## Default timeout for connecting to server
# timeout = 60

## Maximum number of rows that will be fetched from the result (set to -1 for
## unlimited).
# row_limit = 50

[vo_conesearch]

## URL where the VO Service database file is stored.
# vos_baseurl = https://astroconda.org/aux/vo_databases/

## Conesearch database name to use.
# conesearch_dbname = conesearch_good

## Time limit for connecting to Cone Search service.
# timeout = 30.0

## Just ignore database above and use STScI HST Guide Star Catalog.
# fallback_url = http://gsss.stsci.edu/webservices/vo/ConeSearch.aspx?CAT=GSC23&

## If True, raise an error when the result violates the spec, otherwise issue
## warning(s).
# pedantic = False

[vo_conesearch.validator]

## URL to the cone search services master list for validation.
# conesearch_master_list = http://vao.stsci.edu/regtap/tapservice.aspx/sync?lang=adql&query=SELECT%20*%20FROM%20rr.capability%20NATURAL%20JOIN%20rr.interface%20NATURAL%20JOIN%20rr.resource%20NATURAL%20JOIN%20rr.res_subject%20WHERE%20standard_id%20like%20%27ivo://ivoa.net/std/conesearch%%27AND%20intf_type=%27vs:paramhttp%27

## A list of conesearch URLs to validate.
# conesearch_urls = ['http://gsss.stsci.edu/webservices/vo/ConeSearch.aspx?CAT=GSC23&amp;', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/220/out?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/243/out?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/252/out?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/254/out?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/255/out?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/284/out?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/I/345/gaia2?', 'http://vizier.u-strasbg.fr/viz-bin/conesearch/II/246/out?', 'http://wfaudata.roe.ac.uk/sdssdr7-dsa/DirectCone?DSACAT=SDSS_DR7&amp;DSATAB=Galaxy&amp;', 'http://wfaudata.roe.ac.uk/sdssdr7-dsa/DirectCone?DSACAT=SDSS_DR7&amp;DSATAB=PhotoObj&amp;', 'http://wfaudata.roe.ac.uk/sdssdr7-dsa/DirectCone?DSACAT=SDSS_DR7&amp;DSATAB=PhotoObjAll&amp;', 'http://wfaudata.roe.ac.uk/sdssdr7-dsa/DirectCone?DSACAT=SDSS_DR7&amp;DSATAB=Star&amp;', 'http://wfaudata.roe.ac.uk/sdssdr8-dsa/DirectCone?DSACAT=SDSS_DR8&amp;DSATAB=PhotoObjAll&amp;', 'http://wfaudata.roe.ac.uk/sdssdr8-dsa/DirectCone?DSACAT=SDSS_DR8&amp;DSATAB=SpecObjAll&amp;', 'http://wfaudata.roe.ac.uk/twomass-dsa/DirectCone?DSACAT=TWOMASS&amp;DSATAB=twomass_psc&amp;', 'http://wfaudata.roe.ac.uk/twomass-dsa/DirectCone?DSACAT=TWOMASS&amp;DSATAB=twomass_xsc&amp;', 'http://astrometry.mit.edu/cgi-bin/vo_cone6.cgi?CAT=USNO-A2&amp;', 'http://astrometry.mit.edu/cgi-bin/vo_cone6.cgi?CAT=USNO-B1&amp;']

## A list of `astropy.io.votable` warning codes that are considered non-
## critical.
# noncritical_warnings = ['W03', 'W06', 'W07', 'W09', 'W10', 'W15', 'W17', 'W20', 'W21', 'W22', 'W27', 'W28', 'W29', 'W41', 'W42', 'W48', 'W50']

[vsa]

## Name of the VSA mirror to use
# server = http://horus.roe.ac.uk:8080/vdfs/

## Time limit for connecting to VSA server.
# timeout = 30

[xmatch]

## xMatch URL
# url = http://cdsxmatch.u-strasbg.fr/xmatch/api/v1/sync

## time limit for connecting to xMatch server
# timeout = 300

Available Services

If you’re new to Astroquery, a good place to start is the A Gallery of Queries:

The following modules have been completed using a common API:

These others are functional, but do not follow a common & consistent API:

There are also subpackages that serve as the basis of others.

Catalog, Archive, and Other

A second index of the services by the type of data they serve. Some services perform many tasks and are listed more than once.

Simulations

These services query databases of simulated or synthetic data:

Line List Services

There are several web services that provide atomic or molecular line lists, as well as cross section and collision rates. Those services are:

Topical Collections

Some services focusing on similar topics are also collected in topical submodules:

Developer documentation

The modules and their maintainers are listed on the Maintainers wiki page.

The Astroquery API Specification is intended to be kept as consistent as possible, such that any web service can be used with a minimal learning curve imposed on the user.

The following Astroquery modules are mostly meant for internal use of services in Astroquery, you can use them for your scripts, but we don’t guarantee API stability.

To debug astroquery, logging level can be configured with the following:

>>> from astroquery import log
>>> log.setLevel(level)

If level is set to "DEBUG", then HTTP requests are logged. If level is set to "TRACE", then HTTP requests and responses are logged.

License

Astroquery is licensed under a 3-clause BSD style license - see Licenses.