check_conesearch_sites¶
- astroquery.vo_conesearch.validator.validate.check_conesearch_sites(destdir='.', verbose=True, parallel=True, url_list='default')[source]¶
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:
- destdirstr, 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
- verbosebool, optional
Print extra info to log.
- parallelbool, optional
Enable multiprocessing.
- url_listlist 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 inastroquery.vo_conesearch.validator.conf.conesearch_urls
. IfNone
, check everything.
- Raises:
- IOError
Invalid destination directory.
- timeout
URL request timed out.
- ValidationMultiprocessingError
Multiprocessing failed.