BHTOM-Team / bhtom2

6 stars 2 forks source link

Reduced Datum linkage to the instrumental data #159

Open majkelx opened 1 month ago

majkelx commented 1 month ago

Extracted from #28

@wyrzykow:

Idea: Reduced Datum will store a linkage to the instrumental data (either the file, but preferably db, the unique id of the observation). The DB will contain instrumental: alpha, delta, mag, magerr, mjd, uniq_id, we could also add a column with the most recent calibration mag, magerr, caliberr, and info on the calibration filter/survey (to easy query this db on different stars). We could then update the Reduced Datum when needed (e.g. wrong filter or new survey added to CPCS). Also we will need an API for this, so this could be automatically accessed.