From c53be974f6ea8b743a1ef794e50cc220d40a1ee3 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Mon, 25 Apr 2022 18:29:54 +0200
Subject: [PATCH] Correct value of Omega

---
 cost_function.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cost_function.py b/cost_function.py
index 024e5182..b8a34989 100755
--- a/cost_function.py
+++ b/cost_function.py
@@ -34,7 +34,7 @@ def calculate_radii_rossby(list_eddies, e_overestim, handlers, array_d_init):
     radii = 0 # in m
     rossby = 0
     days_modifier = 0
-    Omega = 2 * math.pi / 86400.
+    Omega = 2 * math.pi / 86164.
 
     for n in list_eddies:
         current_eddy = report_graph.node_to_date_eddy(n, e_overestim)
-- 
GitLab