check_conesearch_sites¶
-
astropy.vo.validator.validate.
check_conesearch_sites
(*args, **kwargs)[source] [edit on github]¶ 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.