-
Notifications
You must be signed in to change notification settings - Fork 0
AGASC supplement
Assume that a star ID
has been found to be unacceptable through a manual process.
For example star 839258056 from obsid 22728.
Send email to ssawg@cfa
that we are recommending that a star be added to the bad star
list and removed from consideration for star selection. Get concurrence from PCAD SSE.
(It is assumed ACA already agrees).
Work in a standalone Ska3 environment, i.e. NOT on HEAD network or with SKA data distinct from flight SKA data.
$CONDA_PREFIX/share/mica/update_agasc_supplement.py --bad-star-id=<ID> \
--data-dir $SKA/data/agasc [--dry-run] [--bad-star-source=..]
This auto-generates a source
ID that will be entered into this wiki to identify the
source provenance of why it was found to be bad. One can also specify this in advance
using the --bad-star-source
option.
Get into IPython, then:
from astropy.table import Table
import os
t = Table.read(os.path.join(os.environ['SKA'], 'data', 'agasc', 'agasc_supplement.h5'), path='bad')
t[-5:]
Confirm the new bad star is there.
For the Obsid where the star was originally selected, re-run proseco star selection and confirm that the star is not there.
%matplotlib
from proseco import get_aca_catalog, characteristics
bad_id = <bad_star_id>
obsid = <obsid with bad star>
aca = get_aca_catalog(obsid)
aca.plot()
aca
assert bad_id in characteristics.bad_star_set
assert bad_id not in aca['id']
Send email with a description (transcript) of update process and testing to
aca
for review with cc: to ssawg
. An ACA team member that did not make
the update will review and (hopefully) approve with a reply-all.
Once approved, copy the new file to /home/aca/agasc_pending/agasc_supplement.h5
:
scp $SKA/data/agasc/agasc_supplement.h5 aca@kadi.cfa.harvard.edu:agasc_pending/
Then make an at
job to run on Sunday at 2pm.
aca-c3po-v% at 2pm Sun
at> cp /home/aca/agasc_pending/agasc_supplement.h5 /proj/sot/ska/data/agasc/
at> rm /home/aca/agasc_pending/agasc_supplement.h5
at> <ctrl-d>
At the time of making the at
job, update the numbered list below to
add the new bad star.
The number in the list below is the source
identifier value in the table
- starcheck bad star list
- GAIA high proper motion file
$SKA/analysis/gaia/agasc_gaia_xmatch_PM_gt_50mas.fits.gz
. See: GAIA guide star crossmatch.ipynb - Bad star 839258056: tracked poorly / not at all in 22728. See StarWorkingGroupMeeting2019x08x28.
- Bad star 1200885016: average observed mag 10.7 from 60+ observations (e.g. 22687).