SalishSeaCast / SalishSeaNowcast

Python package associated with running the SalishSeaCast NEMO and other ocean models in near-real-time to produce daily nowcasts/forecasts
https://salishsea.eos.ubc.ca/nemo/
Apache License 2.0
4 stars 3 forks source link

Change `upload_forcing` worker to persist previous day for missing runoff files via symlinks instead of failing #232

Closed douglatornell closed 8 months ago

douglatornell commented 8 months ago

Persistence is preferable to failure to keep the automation rolling, especially for preliminary forecast runs in the middle of the night.

Persistence of R201702DFraCElse_*.nc files is acceptable because they are now used only for nowcast-agrif runs.

Persistence of R202108Dailies_*.nc should not happen because patching of missing river discharge values is handled in make_v202111_runoff_file worker such that a runoff file should always be created. If, for some reason, there is no runoff file, persistence with a critical log message is preferable to failure to keep the automation rolling.