spacepy / dbprocessing

Automated processing controller for heliophysics data
5 stars 4 forks source link

Fix _getRequiredProducts/getInputProductID on old DB (Closes #20) #21

Closed jtniehof closed 4 years ago

jtniehof commented 4 years ago

_getRequiredProducts called getInputProductID with a particular kwarg forcing return of the yesterday-count and tomorrow-count, which aren't in the old database. This PR tests the call with this kwarg and fixes on old databases, returning 0 for both yesterday and tomorrow, so downstream code should work just as it does for newer databases. Closes #20.

PR Checklist

jtniehof commented 4 years ago

I'd consider this an urgent fix where the PR doesn't have to stay open just to allow for commenting.