astropy / astropy/astroquery

SDSS takes specobj_fields but does not query SpecObj

Open
#1,754 1 comment 1 reaction 0 assignees View on GitHub
bug sdss
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

In the SDSS core class, methods like _query_crossid_async()_ take _specobj_fields_ as an input which consequentially breaks the function as it only searches _PhotObj_ table. _field_names.py_ has default retrieval quantities that include _specobj_ and are read into _sdss.core_ but they too break these methods.

The _query_crossid_async()_ should be finished to utilize the _specobj_fields_ input by calling _specobj_ as it does with _photoobj_fields_ and _PhotObj_.

_specobj_ is necessary to retrieve redshift values for objects.

Contributor guide

Open the contributing guide

Research direction

Start in the SDSS core class at _query_crossid_async(), then read _field_names.py to understand the default specobj retrieval quantities. Trace how _photoobj_fields_ is passed to PhotObj and determine where specobj_fields should be handled. Done means queries requesting SpecObj fields, including redshift, return them while existing PhotObj queries continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.