LCOGT / mop

Microlensing Observation Portal
GNU General Public License v3.0
0 stars 7 forks source link

Convert ReducedDatums to store whole lightcurves #168

Open rachel3834 opened 1 month ago

rachel3834 commented 1 month ago

MOP currently stores every datapoint as separate ReducedDatums, rather than as whole lightcurves.
Consider refactoring the DB to store as lightcurves instead.

rachel3834 commented 1 month ago

Also, the current ReducedDatums don't include the timestamp of the datapoint in the json field, and instead store it in the timestamp field. This may be overloading the intended purpose of the TOM's timestamp field, which is used as a distinguishing factor when checking for uniqueness.