From b6661d12314e8c692bbd01ae1acdb57fbb6780a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 7 Apr 2025 19:15:09 -0700 Subject: [PATCH] MAINT: update skybot url, no upstream API change --- astroquery/imcce/__init__.py | 2 +- astroquery/imcce/core.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/astroquery/imcce/__init__.py b/astroquery/imcce/__init__.py index 3fe1fbee94..e5a33a5d85 100644 --- a/astroquery/imcce/__init__.py +++ b/astroquery/imcce/__init__.py @@ -21,7 +21,7 @@ class Conf(_config.ConfigNamespace): 'http://vo.imcce.fr/webservices/miriade/ephemcc_query.php', 'IMCCE/Miriade.ephemcc base server') skybot_server = _config.ConfigItem( - ['http://vo.imcce.fr/webservices/skybot/skybotconesearch_query.php'], + ['https://ssp.imcce.fr/webservices/skybot/api/conesearch.php'], 'SkyBoT') timeout = _config.ConfigItem( diff --git a/astroquery/imcce/core.py b/astroquery/imcce/core.py index dbfd0a5384..153cfd2434 100644 --- a/astroquery/imcce/core.py +++ b/astroquery/imcce/core.py @@ -418,7 +418,7 @@ def uri(self): >>> skybot = Skybot() >>> obj = skybot.cone_search(field, 0.1*u.deg, epoch) # doctest: +SKIP >>> skybot.uri # doctest: +SKIP - 'http://vo.imcce.fr/webservices/skybot/skybotconesearch_query.php?-ra=1.0&-dec=1.0&-rd=0.1&-ep=2458633.404166667&-loc=500&-filter=120.0&-objFilter=111&-refsys=EQJ2000&-output=all&-mime=text' + 'https://ssp.imcce.fr/webservices/skybot/skybotconesearch_query.php?-ra=1.0&-dec=1.0&-rd=0.1&-ep=2458633.404166667&-loc=500&-filter=120.0&-objFilter=111&-refsys=EQJ2000&-output=all&-mime=text' """ return self._uri @@ -437,7 +437,7 @@ def cone_search_async(self, cache=True): """ This method queries the IMCCE - `SkyBoT `_ + `SkyBoT `_ cone search service and produces a `~astropy.table.QTable` object containing all Solar System bodies that might be in the cone defined by the cone center coordinates and epoch provided.