-
Notifications
You must be signed in to change notification settings - Fork 5
Settings File
The first time you run sherlock
you will be told to add your settings to the empty settings file that's been created in ~/.config/sherlock/sherlock.yaml
.
database settings:
static catalogues:
db: crossmatch_catalogues
host: 127.0.0.1
user: pessto
password: p355t0
transients:
user: pessto
password: p355t0
db: ps13pipublic
host: 127.0.0.1
transient table: tcs_transient_objects
transient query: "select id as 'id', followup_id as 'alt_id', ra_psf 'ra', dec_psf 'dec', local_designation 'name', object_classification as 'object_classification'
from tcs_transient_objects
where detection_list_id = 2
and object_classification is null
order by followup_id"
transient id column: id
transient classification column: object_classification
pessto marshall:
user: pessto
password: p355t0
db: pessto_marshall
host: 127.0.0.1
The static catalogues
settings are the settings for connecting to the static catalogues database. Do not edit these settings unless you know what you're doing. If you have your RSA key on starbase, the code will setup a ssh-tunnel for you so that you can connect to this database remotely.
The transients
settings are for the database you have your transients stored in. transient table
is the name of the table containing your transients, transient query
is the SQL query that need executed to get the following info for the transients needing classified:
-
id
- the primary ID for the transient in the database -
alt_id
- human readable name (optional) -
ra
- the ra of the object -
dec
- the dec of the object -
name
- a further alt id (optional)
The transient id column
is the primary ID column in the transient database and transient classification column
is the column you wish to add the classification to.