From 8fd2285c73bdba9ce4492402701310ff6a7536ca Mon Sep 17 00:00:00 2001
From: Stefano Serafin <serafin@jet02.img.univie.ac.at>
Date: Mon, 22 Jul 2024 15:32:57 +0200
Subject: [PATCH] history output for DA runs is now optional

---
 ENDA.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ENDA.py b/ENDA.py
index 89c69be..d3c13a0 100644
--- a/ENDA.py
+++ b/ENDA.py
@@ -303,8 +303,12 @@ class cycle:
 
             # Integrate up to analysis time
             da.maxtime = assimilation_interval
-            da.run(output_full_history=True)
-            history.append(da.history)
+            output_full_history = False
+            if output_full_history:
+                da.run(output_full_history=True)
+                history.append(da.history)
+            else:
+                da.run()
 
             # Store prior
             backgrounds[k,:,:] = da.x[:,:]
-- 
GitLab