Issue with files numbering
Bug for the initial wrt_his if nrpfhis = 1
"ERROR in def_his/avg: Cannot create netCDF file: OUT/croco_his.0000/.nc"
This happens when nrechis=0 and nrpfhis=1, it gives lvar=-1 and insert_time_index fails (in def_his.F)
One solution is to move up the line "nrechis=max(1,nrechis)" (in wrt_his.F) before calling def_his.