Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug in staging] Since April 29 pipeline inserts fields partially in postgres DB #429

Open
ale-munozarancibia opened this issue May 7, 2024 · 0 comments

Comments

@ale-munozarancibia
Copy link
Contributor

Describe the bug
Since April 29 (mjd=60429) new objects and detections are inserted in postgres DB, but at least the following things do not work:

  • Update object table after newer detections: mjdendhist field is updated, but ndet, meanra, meandec, deltajd and lastmjd are not (did not check other fields in object table yet).
  • Write features and classifications: for instance ZTF24aakzgnd in production has firstmjd=60428 (Apr 28) and had 2 detections that day, completing 13 detections on lastmjd=60437 (May 7), classified as SNIa by the light curve classifier. In staging object table it has mjdstarthist=60428, mjdendhist=60437, ndet=1, meanra=291.452793 and meandec=41.30098 (which are the same of ra and dec from the first detection in production, candid=2674446004615015002), and firstmjd=lastmjd=60428. In staging detection table it has 11 detections (first 2 detections from production are missing), and it does not have features nor probabilities.

Expected behavior
Update object table as new detections arrive, compute features and classifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant