[INSTRM-1078] Install Gaia DR2 Catalogue at Subaru Created: 30/Sep/20 Updated: 13/Aug/21 Resolved: 13/Aug/21 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | hassan | Assignee: | eric |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Story Points: | 4 | ||||||||||||
| Description |
|
Following discussions in the last ICS/PFI telecon (https://sumire.pbworks.com/w/page/141309765/ICS-PFI-MCS%20telecon%20on%20Sep%2018%202020) we should have a local installation of the Gaia DR2 catalogue at Subaru. This would be a useful for guide stars, for fiber allocation software (FIBERALLOC-33) etc. Having a local copy would preclude problems accessing guide stars due to external network issues. The catalogue should be queryable, so ingested into a postgres or equivalent database instance. The size of the Gaia DR2 in CSV format is 550 GB. If the size is an issue, it may be possible to store a only subset of fields. But this needs to be discussed further. |
| Comments |
| Comment by hassan [ 16/Oct/20 ] |
|
The Gaia Archives team were contacted to confirm that the contents of the Gaia DR2 CSV files are consistent with that in the Gaia Archive. They have confirmed that. |
| Comment by hassan [ 30/Oct/20 ] |
|
Re-assigned ticket to Eric Jeschke, as he will be the responsible for ingesting the downloaded CSV files to the postgres database. |
| Comment by eric [ 02/Dec/20 ] |
|
The Gaia CSV files were ingested into the Subaru Gen2 "star_catalog" Postgres database as table "gaia". I have attached the schema. The table has been clustered and an index made using the Q3C Postgres extension to allow very fast searches on RA/DEC/radius coordinates (all in degrees). The table contains the entirety of the CSV files. Here is an example SQL query: star_catalog=# SELECT source_id, ra, dec, phot_rp_mean_mag, parallax, pmra, pmdec FROM gaia WHERE q3c_radial_query(ra, dec, 10.3, 0.4, 0.076); |
| Comment by hassan [ 13/Aug/21 ] |
|
Installed in Dec 2020. |