astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v0.3 »
- Virtual Observatory Access (`astropy.vo`) »
- VO Simple Cone Search »
- check_conesearch_sites

# check_conesearch_sites

`astropy.vo.validator.validate.``check_conesearch_sites`(destdir='.', verbose=True, parallel=True, url_list=['http://archive.noao.edu/nvo/usno.php?cat=a&amp;', 'http://gsss.stsci.edu/webservices/vo/ConeSearch.aspx?CAT=GSC23&amp;', 'http://irsa.ipac.caltech.edu/cgi-bin/Oasis/CatSearch/nph-catsearch?CAT=fp_psc&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=I/220/out&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=I/243/out&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=I/252/out&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=I/254/out&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=I/255/out&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=I/284/out&amp;', 'http://vizier.u-strasbg.fr/viz-bin/votable/-A?-source=II/246/out&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=sdssdr7&amp;tab=field&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=sdssdr7&amp;tab=photoobjall&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=sdssdr7&amp;tab=phototag&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=sdssdr7&amp;tab=specobjall&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=sdssdr7&amp;tab=specphotoall&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=sdssdr7&amp;tab=sppparams&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=twomass&amp;tab=psc&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=twomass&amp;tab=xsc&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=usnoa2&amp;tab=main&amp;', 'http://vo.astronet.ru/sai_cas/conesearch?cat=usnob1&amp;tab=main&amp;', '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://www.nofs.navy.mil/cgi-bin/vo_cone.cgi?CAT=USNO-A2&amp;', 'http://www.nofs.navy.mil/cgi-bin/vo_cone.cgi?CAT=USNO-B1&amp;'])

  Validate Cone Search Services.

  Note

  URLs are unescaped prior to validation.

  Only check queries with `<testQuery>` parameters. Does not perform meta-data and erroneous queries.

  Parameters:

  destdir : str

  > Directory to store output files. Will be created if does not exist. Existing files with these names will be deleted or replaced:

  > > - conesearch_good.json
  > > - conesearch_warn.json
  > > - conesearch_exception.json
  > > - conesearch_error.json

  verbose : bool

  > Print extra info to log.

  parallel : bool

  > Enable multiprocessing.

  url_list : list of string

  > Only check these access URLs against `astropy.vo.validator.validate.CS_MSTR_LIST` and ignore the others, which will not appear in output files. By default, check those in `astropy.vo.validator.validate.CS_URLS`. If `None`, check everything.

  Raises:

  AssertionError :

  > Parameter failed assertion test.

  IOError :

  > Invalid destination directory.

  timeout :

  > URL request timed out.