From 3e3983490d79758675ec1524195e0aa1ada65c61 Mon Sep 17 00:00:00 2001
From: sbiri <sbiri@noc.ac.uk>
Date: Mon, 29 Mar 2021 12:25:02 +0100
Subject: [PATCH] get_init.py change default gust to be turned off for YT96

---
 get_init.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/get_init.py b/get_init.py
index 7df08f8..43038e9 100644
--- a/get_init.py
+++ b/get_init.py
@@ -140,6 +140,8 @@ def get_init(spd, T, SST, lat, hum, P, Rl, Rs, cskin, skin, wl, gust, L, tol,
         gust = [1, 1, 1000]
     elif np.all(gust == None):
         gust = [1, 1.2, 800]
+    elif (np.all(gust == None) and (meth == "YT96")):
+        gust = [0, 0, 0]
     elif ((np.size(gust) < 3) and (gust == 0)):
         gust = [0, 0, 0]
     elif (np.size(gust) < 3):
-- 
GitLab