Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating http-->https for astrometry.net #2380

Merged
merged 1 commit into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astroquery/astrometry_net/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Conf(_config.ConfigNamespace):
'',
"The Astrometry.net API key."
)
server = _config.ConfigItem('http://nova.astrometry.net', 'Name of server')
server = _config.ConfigItem('https://nova.astrometry.net', 'Name of server')
timeout = _config.ConfigItem(120,
'Default timeout for connecting to server')

Expand Down
2 changes: 1 addition & 1 deletion astroquery/astrometry_net/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AstrometryNetClass(BaseQuery):
TIMEOUT = conf.timeout
API_URL = url_helpers.join(URL, 'api')

# These are drawn from http://astrometry.net/doc/net/api.html#submitting-a-url
# These are drawn from https://astrometry.net/doc/net/api.html#submitting-a-url
_constraints = {
'allow_commercial_use': {'default': 'd', 'type': str, 'allowed': ('d', 'y', 'n')},
'allow_modifications': {'default': 'd', 'type': str, 'allowed': ('d', 'y', 'n')},
Expand Down
4 changes: 2 additions & 2 deletions docs/astrometry_net/astrometry_net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ but often it's convenient to force it to be the center of the image. This can be
License and Sharing
-------------------

The Astrometry.net [website](http://nova.astrometry.net/) allows users to upload images
The Astrometry.net [website](https://nova.astrometry.net/) allows users to upload images
as well as catalogs to be used in generating an astrometric solution, so the site gives
users the choice of licenses for their publically available images. Since the astroquery
astrometry.net api is only uploading a source catalog the choice of ``public_visibility``,
Expand Down Expand Up @@ -346,5 +346,5 @@ Reference/API
.. automodapi:: astroquery.astrometry_net
:no-inheritance-diagram:

.. _astrometry.net: http://astrometry.net/
.. _astrometry.net: https://astrometry.net/
.. _photutils: https://photutils.readthedocs.io