B612-Asteroid-Institute / precovery

Fast precovery of small body observations at scale
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Fix defragment #63

Closed spenczar closed 1 year ago

spenczar commented 1 year ago

The defragment function expects to iteate over HealpixFrames from the Index in a sorted order. The details of how we choose to sort the frames determines which frames' observations are bundled together under a single frame after defragmentation.

The FrameIndex.all_frames method has run its course, and needs rewriting to support this use case now that our frame keying has gotten much more complex.

This came up in the course of #61.