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

CutoutsFile #217

Closed guynir42 closed 5 days ago

guynir42 commented 3 months ago

Right now each Cutouts object is also a FileOnDiskMixin which is a waste because a lot of cutouts (at least 10 if not 100 or 1000) are going to share the same file. That makes the Cutouts table wider than it needs to be.

Instead, link all the cutouts from the same image to one CutoutsFile (or ListFile??) where we can keep track of things like filepath and MD5sum. This may also make it easier to load/save to file or copy to/from cache.

guynir42 commented 1 month ago

Related to #272