Skip to content

Commit

Permalink
Replace outdated http links
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jan 10, 2025
1 parent 3949794 commit 4969d29
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ remains compatible with 2.x.x
* Fix :command:`desiInstall` on cori.
* Add :mod:`desiutil.census` to calculate DESI disk space use.

.. _basemap: http://matplotlib.org/basemap/
.. _basemap: https://matplotlib.org/basemap/stable/
.. _`#61`: https://github.com/desihub/desiutil/pull/61
.. _`#63`: https://github.com/desihub/desiutil/pull/63
.. _`#70`: https://github.com/desihub/desiutil/pull/70
Expand Down Expand Up @@ -575,7 +575,7 @@ remains compatible with 2.x.x
* Update the list of NERSC hosts, including cori.
* Code is now `PEP 8`_ compliant.

.. _`PEP 8`: http://legacy.python.org/dev/peps/pep-0008/
.. _`PEP 8`: https://legacy.python.org/dev/peps/pep-0008/

1.1.0 (2015-11-06)
------------------
Expand Down Expand Up @@ -605,7 +605,7 @@ remains compatible with 2.x.x
* fix_permissions.sh won't clobber executable bits.

.. _`Travis build support`: https://travis-ci.org/desihub/desiutil
.. _`Read the Docs support`: http://desiutil.readthedocs.org/en/latest/
.. _`Read the Docs support`: https://desiutil.readthedocs.io/en/latest/

0.6.0 (2015-10-13)
------------------
Expand Down
2 changes: 1 addition & 1 deletion py/desiutil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This package provides low-level utilities for general use by DESI_.
.. _DESI: http://desi.lbl.gov
.. _DESI: https://www.desi.lbl.gov
"""
#
# Set version string.
Expand Down
2 changes: 1 addition & 1 deletion py/desiutil/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.4.4.dev1122'
__version__ = '3.5.0.dev1122'
2 changes: 1 addition & 1 deletion py/desiutil/bitmask.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
'Cosmic ray'
.. _desispec: http://desispec.readthedocs.io
.. _desispec: https://desispec.readthedocs.io/en/latest/
"""


Expand Down
8 changes: 4 additions & 4 deletions py/desiutil/dust.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Get :math:`E(B-V)` values from the `Schlegel, Finkbeiner & Davis (1998; SFD98)`_ dust map.
.. _`Schlegel, Finkbeiner & Davis (1998; SFD98)`: http://adsabs.harvard.edu/abs/1998ApJ...500..525S.
.. _`Schlegel, Finkbeiner & Davis (1998; SFD98)`: https://ui.adsabs.harvard.edu/abs/1998ApJ...500..525S/abstract
"""
import os
import numpy as np
Expand Down Expand Up @@ -388,7 +388,7 @@ def ext_fitzpatrick(wave, R_V=3.1, avglmc=False, lmc2=False,


#
# based on the work from https://ui.adsabs.harvard.edu/abs/2011ApJ...737..103S
# based on the work from https://ui.adsabs.harvard.edu/abs/2011ApJ...737..103S/abstract
# note from Eddie: I recommend applying the SF11 calibration in the following way:
# A(lambda, F99) = A(lambda, F99, rv)/A(1 micron, F99, rv) * SFD_EBV * 1.029.
# That's a definition that only uses monochromatic extinctions,
Expand Down Expand Up @@ -584,7 +584,7 @@ class SFDMap(object):
scaling : :class:`float`, optional, defaults to 1
Scale all E(B-V) map values by this multiplicative factor.
Pass scaling=0.86 for the recalibration from
`Schlafly & Finkbeiner (2011) <http://adsabs.harvard.edu/abs/2011ApJ...737..103S)>`_.
`Schlafly & Finkbeiner (2011) <https://ui.adsabs.harvard.edu/abs/2011ApJ...737..103S/abstract>`_.
Notes
-----
Expand Down Expand Up @@ -769,7 +769,7 @@ def _get_ext_coeff(temp, photsys, band, ebv_sfd, rv=3.1):
wave = np.linspace(2900, 11000, 4000)
sed = 1. / (wave/6000)**5 / (np.exp(143877687. / wave / temp) - 1)
# code to use Munari library
# http://cdsarc.u-strasbg.fr/ftp/J/A+A/442/1127/disp10A/fluxed_spectra/T_07000/
# https://cdsarc.u-strasbg.fr/ftp/J/A+A/442/1127/disp10A/fluxed_spectra/T_07000/
# wave = np.loadtxt('LAMBDA_D10.DAT.txt')
# wave = np.r_[wave, 10999]
# sed = np.loadtxt('T07000G40M10V000K2SNWNVD10F.ASC')
Expand Down
2 changes: 1 addition & 1 deletion py/desiutil/iers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def freeze_iers(name='iers_frozen.ecsv', ignore_warnings=True):
:meth:`astropy.utils.iers.IERS._check_interpolate_indices` to prevent
any IERSRangeError being raised.
See http://docs.astropy.org/en/stable/utils/iers.html for details.
See https://docs.astropy.org/en/stable/utils/iers.html for details.
This function returns immediately after the first time it is called,
so it it safe to insert anywhere that consistent IERS models are
Expand Down
2 changes: 1 addition & 1 deletion py/desiutil/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This package contains code for processing and installing `Module files`_.
.. _`Module files`: http://modules.sourceforge.net
.. _`Module files`: https://modules.readthedocs.io/en/latest/
"""
import os
import re
Expand Down
4 changes: 2 additions & 2 deletions py/desiutil/redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def stdouterr_redirected(to=None, comm=None):
The general technique is based on:
http://stackoverflow.com/questions/5081657
http://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python/
https://stackoverflow.com/questions/5081657/how-do-i-prevent-a-c-shared-library-to-print-on-stdout-in-python
https://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python/
If the optional communicator is specified, then each process redirects to
a different temporary file. Upon exit from the context the rank zero
Expand Down

0 comments on commit 4969d29

Please sign in to comment.