BHTOM-Team / bhtom2

7 stars 2 forks source link

Reduced Datum linkage to the instrumental data #159

Open majkelx opened 5 months ago

majkelx commented 5 months 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.

wyrzykow commented 3 months ago

Is there API added to this? @YuriiPurdenko

YuriiPurdenko commented 3 months ago

Do we need an API to get Reduced Datum, or do we also need an API to update Reduced Datum? Please provide the parameters that should be in the API request, the fields the API should query, and any other relevant details