SAEON / somisana

SOMISANA-related tooling
MIT License
6 stars 2 forks source link

[Algoa Bay Forecast] Improve and harden model job pipeline #6

Closed zachsa closed 1 year ago

zachsa commented 2 years ago

Allow configurable start date Triggering the Algoa Bay Forecast model run manually, you can specify a run date. this run date is captured by the Actions runner and made available to steps via ${{ needs.envs.outputs.MODEL_RUN_DATE }}. But this value needs to be passed to all scripts that use a run date, which may require updating MatLab/Python code

Retry download boundary data step on curl and motuclient errors The job is configured to retry on failure, however errors in the download don't result in failing the job since these errors are swallowed by the Python script where curl and motuclient are called.

zachsa commented 2 years ago

Here is the error that Python is swallowing

image

zachsa commented 2 years ago

Here is the error that Python is swallowing

image

These warnings are okay:

image

zachsa commented 2 years ago

The motuclient fails without restarting still