check_conesearch_sites¶
-
astropy.vo.validator.validate.
check_conesearch_sites
(destdir='.', verbose=True, parallel=True, url_list='default')[source] [edit on github]¶ Deprecated since version 2.0: The check_conesearch_sites function is deprecated and may be removed in a future version. Use astroquery.vo_conesearch.validator.validate.check_conesearch_sites instead.
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
astropy.vo.validator.Conf.conesearch_master_list
and ignore the others, which will not appear in output files. By default, check those inastropy.vo.validator.Conf.conesearch_urls
. IfNone
, check everything.
Raises: IOError
Invalid destination directory.
- timeout
URL request timed out.
- ValidationMultiprocessingError
Multiprocessing failed.