ogdc_runner.api module

API for interacting with the OGDC.

ogdc_runner.api.submit_ogdc_recipe(*, recipe_dir: Path, wait: bool, overwrite: bool) str

Submit an OGDC recipe for processing via argo workflows.

Parameters:
  • recipe_dir (Path) – Path to the recipe directory

  • wait (bool) – Whether to wait for the workflow to complete

  • overwrite (bool) – Whether to overwrite existing published data

Return type:

str

Returns the name of the OGDC shell recipe submitted to Argo.