Created
January 8, 2018 20:36
-
-
Save thespacedoctor/a03daab54a8429ea24364c246d3aa370 to your computer and use it in GitHub Desktop.
[check for spectra where the coordinates in the FITS header do not match the marshall coordinates] #coordinate #phase_iii #spectrum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
e.currentFilename, | |
a.object, | |
a.ra, | |
a.decl, | |
e.ra, | |
e.decl, | |
raDeg, | |
decDeg, | |
e.transientBucketId, | |
e.lock_row, | |
e.isInTransientBucket | |
FROM | |
efosc_spectra e, | |
transientBucketSummaries t, | |
(SELECT | |
currentFilename, ra, decl, object | |
FROM | |
efosc_spectra) a | |
WHERE | |
t.transientBucketId = e.transientBucketId | |
AND e.arcfile = a.currentFilename | |
AND t.raDeg != e.ra | |
AND e.data_rel = 'SSDR3' | |
order by e.ra; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment