From 38e3238e914f2755ce8000c0e2d2d4fc2ee95375 Mon Sep 17 00:00:00 2001
From: Dethinne Thomas <tdethinne@uliege.be>
Date: Tue, 3 Dec 2024 12:17:21 +0000
Subject: [PATCH] Update call_caraib.f90

---
 couplage/MAR/call_caraib.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/couplage/MAR/call_caraib.f90 b/couplage/MAR/call_caraib.f90
index 1d89faa..2806c39 100644
--- a/couplage/MAR/call_caraib.f90
+++ b/couplage/MAR/call_caraib.f90
@@ -84,7 +84,7 @@
                 call caraib
 
                 !Rename all the files of the first output of CARAIB if its the spin up
-                if (first_iter .eq. 0)  CALL rename_spinup
+                if (first_iter .eq. 1)  CALL rename_spinup
                 !   
     
                 day_counter = day_counter + 1    
-- 
GitLab