Create a dispatcher script packaged in a docker container that: - Reads polygons from a PostgreSQL DB or Shapefile - Dispatches these to polygon drill / csv creation functions in [WPS](https://github.com/opendatacube/datacube-wps/blob/master/datacube_wps/processes/witprocess.py) - Does this in batches and exits early if the target CSV already exists in S3 - Uses single-thread multi-container or multi-thread single-container approach , single-thread is preferred for [Kubernetes paradigm](https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/). - Times out failed polygon drills with estimated processing time derived from polygon area + heuristics - Captures failed polygons for review
Create a dispatcher script packaged in a docker container that: