In the case where the user wants to create yearly seasonal files (i.e.
SeasonalFrequency=1Y
in config.card), create_se.job will only find one file to process (if using the pack environment), leading the array liste_file_se_tmp to only have one element. The command used to find the UNLIMITED variable in the files to be processed will then crash, crashing the job as it references the second (non existent) element of the array
var_unlim=$(ncdump -h ${liste_file_se_tmp[1]}|grep UNLIMITED|awk '{print $1}')