Skip to content

Commit

Permalink
Merge pull request #2478 from jsobeck/main
Browse files Browse the repository at this point in the history
Modifying astroquery/sdss package init file to use most current SDSS DR (as well as associated documentation)
  • Loading branch information
bsipocz authored Sep 11, 2022
2 parents 5c1eefc + 5f60c09 commit 8c3e869
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ sdss
- ``query_region()`` now does a cone search around the specified
coordinates. [#2477]

- The default data release has been changed to DR17. [#2478]



Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion astroquery/sdss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Conf(_config.ConfigNamespace):
timeout = _config.ConfigItem(
60,
'Time limit for connecting to SDSS server.')
default_release = _config.ConfigItem(14, 'Default SDSS data release.')
default_release = _config.ConfigItem(17, 'Default SDSS data release.')


conf = Conf()
Expand Down
2 changes: 1 addition & 1 deletion astroquery/sdss/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__all__ = ['SDSS', 'SDSSClass']
__doctest_skip__ = ['SDSSClass.*']


# Imaging pixelscale 0.396 arcsec
sdss_arcsec_per_pixel = 0.396 * u.arcsec / u.pixel


Expand Down
2 changes: 1 addition & 1 deletion astroquery/sdss/tests/test_sdss_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ def test_large_crossid(self, large_results):
# Regression test for #589

results = sdss.SDSS.query_crossid(large_results)
assert len(results) == 894
assert len(results) == 845
10 changes: 10 additions & 0 deletions docs/sdss/sdss.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
SDSS Queries (`astroquery.sdss`)
********************************

Default Data Release
====================

The default data release is set to Data Release 17 (DR17), which is
the final data release of the Sloan Digital Sky Survey IV. DR17
contains new optical and infrared spectra from both Apache Point
Observatory and Las Campanas Observatory. Previously released
integral-field datacubes and maps, stellar library spectra, as well as
images, are also included in DR17. Users may select alternate DR's.

Getting started
===============

Expand Down

0 comments on commit 8c3e869

Please sign in to comment.