-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sdss id zway #425
Sdss id zway #425
Conversation
HI @zachway1996. Sorry for not commenting on this earlier. What is the status of this PR? It seems to be mostly in good shape, but if I wanted to test the procedure under I have a few comments, some of which maybe are not really relevant or you're already working on them:
|
Howdy @albireox,
Yes, the code is functional. But given some of your suggestions below, I should probably change some things.
This should work for both cases, providing a list of catalogids and linking to a table to search for new sdss_ids. However, most of my testing has been on the former case. I'll test the latter and write some documentation on how to use that.
That's an easy fix.
I think I would prefer to keep the two separate because they serve different purposes.
Realized this after I submitted the pull request, I've downloaded a linter now.
There is documentation for how the schema is set up here, but I would agree that it needs to be fully fleshed out. One worry I have is that assigning the sdss_id is not definite anymore in the way I have written things. This is primarily because I assigned sdss_id-s based on a SERIAL sequence as new matches were appended to the list. But, since there have been changes to the v31 crossmatch, I'm not sure that sdss_id-s would match up. I can email you and Pramod about this.
This is something I've thought about but haven't found a way around. A lot of the sdss_id logic is based on assuming that v21, v25, and v31 already (mostly) exist. Adding a new crossmatch would work within the crossmatch but many new rows could be created (e.g. a stellar source in v31 is resolved into two sources in v??). I could write some text about how one would go about adding a v??, if that would help. Also could make comments in the code along with the text. |
… into sdss_id_zway
Added functionality for creating the catalogidx_to_catalogidy match between crossmatch versions.
Added method to append new sdss_ids to the tables
sdss_id_flat
andsdss_id_stacked