Manage file error in getRasterDays