NOAA-GSL / GSL-prep-chem

1 stars 6 forks source link

exglobal_prep_chem.sh fails when no GBBEP* data is available #9

Closed EricSinsky-NOAA closed 8 months ago

EricSinsky-NOAA commented 9 months ago

In the GEFS_v12.3.6 tag, an operational GEFS job failure occurred in exglobal_prep_chem.sh for task gefs_chem_prep_emissions_06 when no GBBEP* data was available in the "firewx/" dcom directory.

The job failed because the "ls" function outputted the error: ls: cannot access ... : No such file or directory

Ideally, this error should not be fatal. Instead, the job should have continued to run and only the following warning already stated in the script should be specified: "WARNING: NO GBBEPX FILES FOUND!"

A fix is needed to avoid this "ls" error from being fatal. One solution is to change "set -xue" to "set -x", but further testing may be needed to figure out the best solution.

EricSinsky-NOAA commented 9 months ago

To address this issue promptly, a hotfix was applied to exglobal_prep_chem.sh in operations. "set -eux" was changed to "set -x".

EricSinsky-NOAA commented 8 months ago

This bug fix will be implemented into operational GEFS in version v12.3.8.

EricSinsky-NOAA commented 8 months ago

The bug fix has been implemented into operational GEFS as version v12.3.8. Closing issue as complete.