bcgov / nr-rfc-processing

River forecast centre data processing solution
Apache License 2.0
4 stars 2 forks source link

Make script idempotent #65

Closed franTarkenton closed 1 year ago

franTarkenton commented 1 year ago

When the script runs it should treat the object store as the source of truth. This task will:

franTarkenton commented 1 year ago

Put a lot of time into fixing the code in other tickets. At this stage thing its good enough. Investing more time into patching up the code further is of diminishing returns.

Objective of this refactor would be to understand clearly what data each step requires as inputs / outputs. Should check to see if the output already exists before embarking on re-creating it.