c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Reference finding tool on Pipeline or DataStore can be improved #271

Closed guynir42 closed 4 months ago

guynir42 commented 4 months ago

Right now to find a reference for an image we search based on filter, target, and observation time (which is compared to the validity range of the reference).

What about looking for section ID? what about a more generic way to search based on coordinates?

guynir42 commented 4 months ago

Moved the basic search of references to Reference class as a static method.

guynir42 commented 4 months ago

@rknop I remember we talked about having improved code for finding references. Let me know if I can have the code as a snippet or if it is coming as part of a PR. Thanks!