Currently at the BODC we are working on improving our Slocum glider processing workflow, and part of this is improving the handling of missing cache files. Being able to easily access the list of missing cache files and their dependant files when an error is raised would be very useful.
This pull request is my proposed change for this, which is just a small addition to the DbdError class that allows the return of a data object with the raised error. The main reason was so that we could access the 'problems' dict that is generated within the __update_dbd_inventory() method.
I'm happy to hear any other suggestions if you aren't 100% happy with this.
Hi @smerckel ,
Currently at the BODC we are working on improving our Slocum glider processing workflow, and part of this is improving the handling of missing cache files. Being able to easily access the list of missing cache files and their dependant files when an error is raised would be very useful.
This pull request is my proposed change for this, which is just a small addition to the DbdError class that allows the return of a data object with the raised error. The main reason was so that we could access the 'problems' dict that is generated within the __update_dbd_inventory() method.
I'm happy to hear any other suggestions if you aren't 100% happy with this.
Cheers, Rob BODC