Draft: Add 'custom_finish_job' parameter to the recipe for end-of-workflow custom jobs
This development allows the user to define a custom job to run at the end of the workflow to perform actions outside of the main SUNSET workflow. For example, in operational workflows, this feature can be used to move a selection of files to a new directory after the run has finished.
If the parameter custom_finish_job is defined in the Run section of the recipe, this job will be automatically added when the SUNSET launcher is used (with or without Autosubmit). The script should be written in bash and accessible from the code directory or esarchive, and will, in principle, run on Nord4. If using Autosubmit, the user can define access to some workflow parameters by adding these lines at the top:
############ AUTOSUBMIT INPUTS ############
projdir=%PROJDIR% # autosubmit project directory
outdir=%common.OUTDIR% # output directory
recipe=%common.RECIPE% # recipe path
tmpdir=%common.TMPDIR% # temporary directory created by SUNSET if using GPFS
###########################################