Suppose we load a RawPhotometry or other data from the DB.
Then the file is missing or the key is not in the file.
What should the code do...?
There are several options:
1) throw an exception.
2) re-download and then attach the data to that row in the DB
3) delete that row in the DB and then save or not save the re-downloaded data based on input parameters.
4) ignore it and let the downstream code throw when it cannot find the data.
Suppose we load a RawPhotometry or other data from the DB. Then the file is missing or the key is not in the file. What should the code do...? There are several options: 1) throw an exception. 2) re-download and then attach the data to that row in the DB 3) delete that row in the DB and then save or not save the re-downloaded data based on input parameters. 4) ignore it and let the downstream code throw when it cannot find the data.