guynir42 / AstroRetriever

A package used for downloading and processing images from various astronomical surveys
Other
4 stars 2 forks source link

optional output argument for checking if things got re-processed #72

Closed guynir42 closed 1 year ago

guynir42 commented 1 year ago

In tests we want to get an indication if data was re-fetched or re-reduced, etc. Usually we just get the data either lazy loaded or re-created (fetched/reduced/etc). In tests we want to know what happened so we need a secondary output.

Another option is to add a "downloaded time" or "reduction time" or something like that and test against that. Is it ok to just use "created_at"? does it matter if the time of creation will be different than the time it was added to the DB?