astro query:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- astroquery v0.4.11 »
- VO Simple Cone Search (`astroquery.vo_conesearch`) »
- check_conesearch_sites

# check_conesearch_sites

astroquery.vo_conesearch.validator.validate.check_conesearch_sites(*, destdir='.', verbose=True, parallel=True, url_list='default')

  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, optional

      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, optional

      Print extra info to log.

    parallel bool, optional

      Enable multiprocessing.

    url_list list of string, optional

      Only check these access URLs against `astroquery.vo_conesearch.validator.conf.conesearch_master_list` and ignore the others, which will not appear in output files. By default, check those in `astroquery.vo_conesearch.validator.conf.conesearch_urls`. If `None`, check everything.

  Raises:
    OSError

      Invalid destination directory.

    timeout

      URL request timed out.

    ValidationMultiprocessingError

      Multiprocessing failed.