Skip to content

Commit

Permalink
MAINT: update and fix links all over
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Jun 3, 2023
1 parent 77dd164 commit 3f8e5d1
Show file tree
Hide file tree
Showing 18 changed files with 106 additions and 114 deletions.
8 changes: 3 additions & 5 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ mast
- Expanding ``Cutouts`` functionality to support making Hubble Advanced Product (HAP)
cutouts via HAPCut. [#2613]

- Expanding ``Cutouts`` functionality to support TICA HLSPs now available through
- Expanding ``Cutouts`` functionality to support TICA HLSPs now available through
``TesscutClass``. [##2668]

- Resolved issue making PANSTARRS catalog queries when columns and sorting is specified. [#2727]

nist
^^^^

Expand Down Expand Up @@ -1418,9 +1418,7 @@ Infrastructure, Utility and Other Changes and Additions
- ESO archive now supports HARPS/FEROS reprocessed data queries [#412]
- IPython notebook checker in the ESO tool is now compatible with regular
python [#413]
- Added new tool: ALMA archive query tool
http://astroquery.readthedocs.io/en/latest/alma/alma.html
[#411]
- Added new tool: ALMA archive query tool. [#411]
- setup script and installation fixes

0.2 (2014-08-17)
Expand Down
4 changes: 2 additions & 2 deletions astroquery/cosmosim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Access to all cosmological simulations stored in the CosmoSim database,
via the uws service.
https://www.cosmosim.org/uws/query
https://www.cosmosim.org/query
:Author: Austen M. Groener <Austen.M.Groener@drexel.edu>
"""
Expand All @@ -20,7 +20,7 @@ class Conf(_config.ConfigNamespace):
"""

query_url = _config.ConfigItem(
['https://www.cosmosim.org/uws/query'],
['https://www.cosmosim.org/query/'],
'CosmoSim UWS query URL.')
schema_url = _config.ConfigItem(
['https://www.cosmosim.org/query/account/databases/json'],
Expand Down
2 changes: 1 addition & 1 deletion astroquery/ipac/ned/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Conf(_config.ConfigNamespace):
Configuration parameters for `astroquery.ipac.ned`.
"""
server = _config.ConfigItem(
['http://ned.ipac.caltech.edu/cgi-bin/'],
['https://ned.ipac.caltech.edu/cgi-bin/'],
'Name of the NED server to use.')

timeout = _config.ConfigItem(
Expand Down
2 changes: 1 addition & 1 deletion astroquery/ipac/ned/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def _extract_image_urls(self, html_in, *, file_format='fits'):
Other options available: 'author-ascii', 'NED-ascii', 'VO-table'.
"""
base_url = 'http://ned.ipac.caltech.edu'
base_url = 'https://ned.ipac.caltech.edu'

extensions = {'fits': 'fits.gz',
'author-ascii': 'txt',
Expand Down
4 changes: 2 additions & 2 deletions astroquery/jplhorizons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Conf(_config.ConfigNamespace):
['https://ssd.jpl.nasa.gov/api/horizons.api', ],
'JPL Horizons')

# implement later: sbdb_server = 'http://ssd-api.jpl.nasa.gov/sbdb.api'
# implement later: sbdb_server = 'https://ssd-api.jpl.nasa.gov/sbdb.api'

timeout = _config.ConfigItem(
30,
Expand All @@ -29,7 +29,7 @@ class Conf(_config.ConfigNamespace):
# JPL Horizons settings

# quantities queried in ephemerides query (see
# http://ssd.jpl.nasa.gov/?horizons_doc#table_quantities)
# https://ssd.jpl.nasa.gov/?horizons_doc#table_quantities)
# default: all quantities
eph_quantities = ('1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,'
'21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,'
Expand Down
2 changes: 1 addition & 1 deletion astroquery/nasa_ads/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _get_token(self):
return self.TOKEN
except OSError:
raise RuntimeError('No API token found! Get yours from: '
'https://ui.adsabs.harvard.edu/#user/settings/token '
'https://ui.adsabs.harvard.edu/user/settings/token '
'and store it in the API_DEV_KEY environment variable.')


Expand Down
4 changes: 2 additions & 2 deletions astroquery/sdss/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def query_crossid_async(self, coordinates, *, radius=5. * u.arcsec, timeout=TIME
Note that there is a server-side limit of 3 arcmin on ``radius``.
.. _`primary object`: https://www.sdss.org/dr17/help/glossary/#surveyprimary
.. _`primary object`: https://www.sdss4.org/dr17/help/glossary/#surveyprimary
Parameters
----------
Expand Down Expand Up @@ -948,7 +948,7 @@ def get_spectral_template_async(self, kind='qso', *, timeout=TIMEOUT,
"""
Download spectral templates from SDSS DR-2.
Location: http://www.sdss.org/dr7/algorithms/spectemplates/
Location: http://classic.sdss.org/dr7/algorithms/spectemplates/
There 32 spectral templates available from DR-2, from stellar spectra,
to galaxies, to quasars. To see the available templates, do:
Expand Down
2 changes: 1 addition & 1 deletion astroquery/vizier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-----------------
This package is for querying the VizieR service, primarily hosted at:
http://vizier.u-strasbg.fr
https://vizier.cds.unistra.fr
Note: If the access to catalogues with VizieR was helpful for your research
work, the following acknowledgment would be appreciated::
Expand Down
14 changes: 7 additions & 7 deletions astroquery/vizier/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(self, *, columns=["*"], column_filters={}, catalog=None,
"Unified Content Description" column descriptions. Specifying
these will select only catalogs that have columns matching the
column descriptions defined on the Vizier web pages.
See http://vizier.u-strasbg.fr/vizier/vizHelp/1.htx#ucd and
http://cds.u-strasbg.fr/w/doc/UCD/
See https://vizier.cds.unistra.fr/vizier/vizHelp/1.htx#ucd and
https://vizier.cds.unistra.fr/vizier/doc/UCD/
vizier_server : string
Name of the VizieR mirror to use.
(This parameter's default is set from a configuration object.)
Expand Down Expand Up @@ -125,7 +125,7 @@ def catalog(self, values):
@property
def ucd(self):
"""
UCD criteria: see http://vizier.u-strasbg.fr/vizier/vizHelp/1.htx#ucd
UCD criteria: see https://vizier.cds.unistra.fr/vizier/vizHelp/1.htx#ucd
Examples
--------
Expand All @@ -141,7 +141,7 @@ def _server_to_url(self, return_type='votable'):
"""
Not generally meant to be modified, but there are different valid
return types supported by Vizier, listed here:
http://vizier.u-strasbg.fr/doc/asu-summary.htx
https://vizier.cds.unistra.fr/doc/asu-summary.htx
HTML: VizieR
votable: votable
Expand All @@ -163,7 +163,7 @@ def _server_to_url(self, return_type='votable'):
raise TypeError("asu-txt is not and cannot be supported: the "
"returned tables are not and cannot be made "
"parseable.")
return "http://" + self.VIZIER_SERVER + "/viz-bin/" + return_type
return "https://" + self.VIZIER_SERVER + "/viz-bin/" + return_type

@property
def keywords(self):
Expand All @@ -187,7 +187,7 @@ def find_catalogs(self, keywords, *, include_obsolete=False, verbose=False,
----------
keywords : list or string
List of keywords, or space-separated set of keywords.
From `Vizier <http://vizier.u-strasbg.fr/doc/asu-summary.htx>`_:
From `Vizier <https://vizier.cds.unistra.fr/doc/asu-summary.htx>`_:
"names or words of title of catalog. The words are and'ed, i.e.
only the catalogues characterized by all the words are selected."
include_obsolete : bool, optional
Expand Down Expand Up @@ -464,7 +464,7 @@ def query_constraints_async(self, *, catalog=None, return_type='votable',
keyword/value pairs.
See `the vizier constraints page
<http://vizier.cfa.harvard.edu/vizier/vizHelp/cst.htx>`_ for details.
<https://vizier.cds.unistra.fr/vizier/vizHelp/syntax.htx>`_ for details.
Parameters
----------
Expand Down
Loading

0 comments on commit 3f8e5d1

Please sign in to comment.